2007 Nov 12 5:55 PM
Hi
Could anyone plz tell me can we create exceptions in bapis, if so how?
2007 Nov 12 5:57 PM
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
2007 Nov 12 5:57 PM
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
2007 Nov 12 6:05 PM
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