cancel
Showing results for 
Search instead for 
Did you mean: 

catch the exception

Former Member
0 Kudos

hi all;

i am using exception handling in xi and in my exception branch have transform and send step to file.

i want to catch the exception and send it to the file.

how can i do this

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Mudit,

1. In your Transform Step --> Define an EXCPETION

2. Right Click on the Transform Step --> Insert --> Exception Block

And, now you can add the SEND step in this exception block to send a file if any error occurs in the Transformation Step.

You can also use Alerts in BPM. If you need info on that, check this blog,

/people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated

Regards,

Bhavesh

MichalKrawczyk
Active Contributor
0 Kudos

hi,

you need to assign an exception to your exception branch

so it will be called when the exception will occure

you also have to add this exception to one of your steps

(then one that may cause the exception)

you also have to add this exception to your block step

BTW

you cannot catch the exception's <b>value </b>in the XI

more reference:

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

Regards,

michal