Archived discussions are read-only. Learn more about SAP Q&A

How to handle exceptions in BAPI's and RFC

Hi! Gurus,

Please help me why we cant raise exceptions in RFC or Badi and hw to handle them further..

regards,

Digvijay

replied

Hi,

You can handle the exceptions by using a structure BAPIE1RET2 which returns the messages captured in BAPI. In Tables parameter of your BAPI, you can create a structure as of type BAPIE1RET2 so that you can capture the return parameters from BAPI.

Thanks and Regards,

Vimala P

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question