Application Development 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: 

bapi

Former Member
0 Kudos

Hi

Could anyone plz tell me can we create exceptions in bapis, if so how?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Generally you will not be raising an exception..Instead you will have a parameter which is of the structure BAPIRET2 and pass the error messages to the internal table.

Check the bapi BAPI_SALESORDER_CHANGE

Thanks

Naren

2 REPLIES 2

Former Member
0 Kudos

Hi,

Generally you will not be raising an exception..Instead you will have a parameter which is of the structure BAPIRET2 and pass the error messages to the internal table.

Check the bapi BAPI_SALESORDER_CHANGE

Thanks

Naren

Former Member
0 Kudos

Hi

Every BAPI it is a must to pass a Itab like BAPIRET2 to RETURN which returns all the errors/messges related to that Bapi processing, So there is no need to handle the exceptions separately in a BAPI

Regards

Anji