on 04-21-2010 4:41 PM
Hello gurus!
I have an important situation, in a BPM step I make a SendSync Call, if there is an error, it goes to the exception branch, and then I do a transformation step (to assign some values to an Idoc) and then I send the Idoc to an R3 system to inform the error.
Sometimes, for example in the sync call throws this error: (that can be seen in the abap monitor)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><!-- Inbound Message --> <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code area="MESSAGE">GENERAL</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.UnknownHostException: safcc.pfc.gov.tt</SAP:AdditionalText><SAP:Stack/><SAP:Retry>M</SAP:Retry></SAP:Error>
My need is to get the error message,and to map it in an idoc field (with an UDF in the transformation exception branch for example), the error is exactly in this part of the result:
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.net.UnknownHostException: safcc.pfc.gov.tt</SAP:AdditionalText>
Is there any way to achieve this?
Thanks in advance !
Juan.
You wont be able to get the error details....just an indication that an error has occured can be obtained (the exception branch)...no error text can be extracted.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It seems that it's not possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.