cancel
Showing results for 
Search instead for 
Did you mean: 

How to Get a transformation Error from a previous step in cc BPM

former_member182004
Contributor
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos

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.

former_member182004
Contributor
0 Kudos

Thanks

Answers (1)

Answers (1)

former_member182004
Contributor
0 Kudos

It seems that it's not possible