cancel
Showing results for 
Search instead for 
Did you mean: 

Exception handling in integration processes

Former Member
0 Kudos

Hi,

I have a very simple question but I can't find an answer. I have designed an integration process that upon several other things send synchroneously a message to an ABAP proxy. Sometime the ABAP proxy generates exception. In my integration process these exceptionx are catched in a specific branch.

My question is: how to access the data contained in the catched exception (message, text....)?

Regards,

Yann Le Blevec

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

form the forum i did non find any answer to:

"how to access the data contained in the catched exception (message, text....)?"

Did u solve this issue?since I do not understand how to access it without sending back to the sender but instead managing it in the BPM

thanks in advance

regards,

giammaria

Former Member
0 Kudos

Hi,

I didn't any solution yet. Actually, I needed to solve this issue quickly so I gave up with exceptions for this process. Instead of raising a exception in R3 when something bad happens, I send a reponse with an exception message/code in it. Therefore my BPM parses the reponse and if an exception is found a "BPM exception" is raised. Finally, because all required data are contained in my response, I have access to everything I need everywhere in the BPM (and in my exception handling branch in particular).

Sorry, for this awful solution but this was the only way I found to automatically use data contained in "exceptions" (or errors).

Yann Le Blevec

Former Member
0 Kudos

Hello Yann,

There is no solution for your problem, I guess. I didn’t try it on my own, but in my own research on sdn I found two experts positions to that issue:

"you cannot catch the exception's value in the XI "

(see posting from Michal Krawczyk, Jun 12, 2006, in thread )

"The content of a fault message are not accessible inside a BPM."

(see posting from Bhavesh Kantilal, Oct 3, 2007, in thread )

Regards,

Dennis

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

you can use fault message to read it:

from

http://help.sap.com/saphelp_nw04/helpdata/en/dd/b7623c6369f454e10000000a114084/content.htm

"In the synchronous case, when an application-specific error occurs on the inbound side, instead of sending a response message back to the sender, the application can send a fault message to handle the error."

Regards,

michal

Former Member
0 Kudos

In fact, I use the XI protocol to call my abap proxy. Exceptions are automatically converted to fault messages. However they are catched by my BPM desgined in XI and converted back into exceptions (in order to trigger another branch of my block).

I wish I had a variable somewhere that could just let me access the fault message (without using home-made java code) received by the synchroneous send...

Regards,

Yann Le Blevec