on 10-04-2010 10:02 AM
Hi guys,
I have a problem of finding a proper way how to map runtime exception coming from backend BAPI to a fault message.
What I receive from backend is as follows:
-
cut -
- <rfc:BAPI_XXX.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
<Name>RFC_ERROR_SYSTEM_FAILURE</Name>
<Text>Access via 'NULL' object reference not possible.</Text>
- <Message>
<ID>00</ID>
<Number>341</Number>
</Message>
- <Attributes>
<V1>OBJECTS_OBJREF_NOT_ASSIGNED</V1>
</Attributes>
</rfc:BAPI_XXX.Exception>
-
cut -
You can imagine, there is nothing in the Exceptions tab of this BAPI. However, I want to find a proper way to add fault message definition for the above, and map it to some response to the caller, otherwise I'll get the NO_MAPPINGPROGRAM_FOUND error (since there is no mapping existing from the Fault message to some other type returned to the caller).
Could you please help me out how to figure out the XSD of the above BAPI runtime exception..?
Thanks,
Lalo
Check the folowing blog:
RFC/BAPI Exceptions Handling in SAP NetWeaver XI
/people/venu.v5/blog/2009/08/05/rfcbapi-exceptions-handling-in-sap-netweaver-xi
Regards
Liang
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.