I'm getting the RFC exception messages in my XI process but don't know how to take it from here. Here's what I have -
I get several SOs in a message (via SOAP), I create several BAPIs out of this, send to SAP and RFC.responses are added sequentially to a receiver list (multicast sequential). Once all BAPIs are processed, the resp msgs are mapped to the "result" tag of the original message. All works great until I hit a RFC exception.
Here's the data flow - its a sync data process
SOAP => BPM => RFC
I now have a block around "send to SAP and receiver list". And in the block, the exception handler is defined to react to "SalesOrderException" which is assigned to exceptions in "Send to SAP step" for system error and BAPI - is this correct?
However, the RFC.exception I'm getting is not being mapped to anything. How should I handle this. I've looked at other blogs did not make much sense.
I'm getting the exception message in XI in this format and my SOAP session times out eventually.
<rfc:YXI_BAPI_SALESORDER_CHANGE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>PARTNER_ADDRESS_NOT_FOUND</Name><Text>PARTNER_ADDRESS_NOT_FOUND</Text><Message><ID>null</ID><Number>000</Number></Message></rfc:YXI_BAPI_SALESORDER_CHANGE.Exception>
Thanks for all your help.