Skip to Content
0
Former Member
Mar 24, 2009 at 04:47 PM

How to duplicate return of RFC.Exception Application error to test fix

67 Views

I am calling a RFC using a sync step in an BPM process. I am checking for system error and have an exception branch. However we got the below error (probably due to the ECC system not being available at that precise moment or something) which was not trapped by the exception alert handling because this comes in as an Application error and not a System error. My questions are :

1) How to handle this return of .Exception message so that the BPM raises the alert in the exception branch? I have read in other threads that we need to assign the below message structure as the Fault Message and set this under the Exceptions property of the Synchronous send step. If this is true, I am mostly interested in the below question so I can test this.

2) How to duplicate this issue? I am not sure when exactly the .Exception message is returned on a RFC call, this is not configured anywhere on the ABAP side.

<rfc:ZRFC_GET_DATA.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

<Name>RFC_ERROR_COMMUNICATION</Name>

<Text>CPIC-CALL: CMRCV on convId: 01667803

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR connection to partner broken

TIME Mon Mar 16 11:21:51 2009

RELEASE 640

COMPONENT NI (network interface)

VERSION 37

RC -6

MODULE niuxi_mt.c

LINE 905

DETAIL NiPRead (xx.xx.xx.xx/yyyy, hdl 64)

SYSTEM CALL recv

COUNTER 2

</Text>

<Message>

<ID>RFC_ERROR_COMMUNICATION</ID>

<Number>null</Number>

</Message>

</rfc:ZRFC_GET_DATA.Exception>