Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error Handling in BAPI

Former Member
0 Likes
675

When we create a Remote enabled Function Module which is going to be used as BAPI, we do not provide 'Exception' parameter. In that case how are the Exceptions and Errors handled?

2 REPLIES 2
Read only

Former Member
0 Likes
387

While creating BAPIs,include Return table (of structure BAPIRET2)as table parameter. This table is populated with error messages/Sucessful messages after BAPI was executed.

Please check this table for any error messages.

Read only

Former Member
0 Likes
387

Have a look at below link. It will you detailed info about how to handle errors in BAPI.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/a5/3ec9f74ac011d1894e0000e829fbbd/content.htm">BAPI Error Handling</a>

I hope it helps.

Best Regards,

Vibha

*Please mark all the helpful answers