Skip to Content
0
Feb 26, 2007 at 03:15 PM

how to use an exception handler

12 Views

Hi,

I'm trying to use exceptions into BPM. I have a BAPI that can return an exception using a fault message.

After asyn receiver, I have definied a block with a exception branch where I define the exception handler, and a deadline branch where I use my syn sender (that can receive the exception) and a control step to throw it. After block, I use an asyn sender to send final result.

However, I get this error in the moni:

http://sap.com/xi/XI/Message/30" xmlns:SOAP=" http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>Application</SAP:Category>

<SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="http://nsBPM_050207">MT_FAULT</SAP:ApplicationFaultMessage>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

How could I use an exception handler to control exceptions?

Thanks,

Samantha.