on 11-14-2006 4:53 PM
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Agasthuri,
The fist thread did not lead me to much information -
The second one talks about mapping exception to a new message type (call it errorMsg)...which I did. Now I want to create a Interface Mapping for my RFC.exception to errorMsg but I cannot related RFC.exception message type to any message interface.
Any idea how I can do this? very strange....
In my BPM, in the exception block, I want to create a transformation step which takes the RFC.exception and maps it to errorMsg.
Any suggestions? Thanks.
Agasthuri,
I'm familar with throwing alerts from exception branch. My question is how can I map RFC.exception to my own error message. There seems to be meaningful information coming back from the RFC in case of exceptions. I need to tap this information.
I did not find how I can achieve this from all the blogs you mentioned above.
Thank you, Pam
Hi,
You need to handle exceptions in the BPM ...
you can go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Amaresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.