on 09-22-2006 11:57 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hello Yann,
There is no solution for your problem, I guess. I didnt 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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.