on 06-17-2008 3:05 AM
We have developed a proxy-> RFC scenario. But its not able to handle the RFC exception. In case of an exception the response payload is as below
-
<rfc:Y_BAPI_GET_POSTING_PERIOD.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>Screen output without connection to user.</Text><Message><ID>RFC_ERROR_SYSTEM_FAILURE</ID><Number>044</Number></Message><Attributes><V1>DYNPRO_SEND_IN_BACKGROUND</V1></Attributes></rfc:Y_BAPI_GET_POSTING_PERIOD.Exception>
-
Is it correct way to get exception from RFC in such a way or the error/exception text should come in RETURN part of the RFC response?
What is the best approach or solution to handle the sync. RFC call exception in XI?
Hi,
You can create a Fault Message Type and map the RFC exception text to this.
In the interface mapping in addition to Request and response
mapping you will get an additional fault message mapping.
This will handle your exception properly.
Regards,
V.Ramya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Your response error message map to your RFC Return parameters in the mapping.
Thanks
Vikranth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you can define a fault message in the interface and it will be triggered if there is an exception at server application.
Reward if find useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.