Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Abap Proxy exception Handling

Hi guys,

I've implemented the following scenario:

BPM Process where I've got a async receive (from a file receiver), a sync send (to an ABAP PROXY) and a send async (to a file sender).

The scenario is working great, I've catched 'Communication exceptions', and the proxy contemplates the necessary exception throwers too, but I'm now trying to Handle one specific exception. Imagine you force a dump, with a divide by zero in the proxy code...the proxy will dump and the XI gets a mapping exception (like is supposed to).

The exception is:

<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>

<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>

<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>

The thing is, I want to catch this exception on the mapping and handle it, so the bpm process sends the handle response with the file sender.

I've looked to Alessandro Guarneri blog, but it's a little bit different, because I don't want to throw an exception but I'd like to handle it....

Can you guys help me with this question?

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question