‎2007 May 30 11:58 AM
‎2007 May 30 12:00 PM
chk this
http://help.sap.com/saphelp_webas620/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/content.htm
In BAPI since they are RFC enabled you cannot give exceptions as theya re supposed to be handled across system hence the need to apss the exception as one of the interface parameter .
In SAP for this purpose the BAPI have a table parameter as RETURN . If you see its definition is based on structure 'BAPIRETURN' or BAPIRETURN1 . Its in this table you pass your errors handled in the BAPI processing inside SAP .
In short you pass your exceptions in the RETURN parameter of the BAPI interface.
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 May 30 12:04 PM
yes ,we use the exceptions in BAPI.
Return table is there usually we catch that return table .
Thanks
‎2007 May 30 12:07 PM
Hi,
We do not use the Exceptions in the BAPI, there is a Return table inthe BAPI , in that table we store all the messages.
BAPI is a RFC enabled function module, so it is not having the Exceptions
Regards
Sudheer
‎2007 May 30 1:19 PM
hi
good
go through this link,hope this would help you to solve your problem
http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/content.htm
thanks
mrutyun^