on 02-26-2006 11:05 AM
I have imported RFC Interfaces from SAP system. Each interfaces doesn't have fault message.
How to get error message in BAPI call when error occurs?
I can catch an exception in BPM but I need to get error message and send it to another system.
I donot have access to the System right now...so i cannot verify this....
In your RFC FM(i am answering based on the assumption that it is a "Z" one) which you are importing.....add a couple of exceptions in the excpeitons tab in se37(and appropriately raise it in the code)and see if they come in the fault message when you are importing it into the repository...
Regarding standard bapi FMs the errors are managed through the "bapiret2/bapireturn" table, in the response message...
however in case of a communication exception it has to be caught in the BPM....
Thanks,
Renjith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Denis,
>>>I have imported RFC Interfaces from SAP system. Each interfaces doesn't have fault message.
if you want to use fault messages
consider using ABAP Proxies
>>>>How to get error message in BAPI call when error occurs?
most bapis have return table in which they
return error messages (you can do it either
in a sync way or in an async way if the call is too long - with corrlelation of course)
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.