cancel
Showing results for 
Search instead for 
Did you mean: 

Writing A File When Exception Occurs

Former Member
0 Kudos

Hi All

Is it possible to write a file with the variable when an exception is triggered using BPM

Regards

Jayaraman

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

It sure is.

In the exception handler block map the exception to your error file message and then use a SEND step in the exception handling block to write it using the receiver file adapter.

Regards,

Bhavesh

Answers (3)

Answers (3)

Former Member
0 Kudos

txs

Former Member
0 Kudos

Hi,

See this link on how to handle exceptions in BPM.

http://help.sap.com/saphelp_nw2004s/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm

You can use a send step and create a corresponding file CC to write a file.

Regards,

Sudheer.

Former Member
0 Kudos

You can catch the exception in the BPM exception branch and write custom error message to a file using file adpter.