SAP Class Exceptions of Method

In SAP Class you will often find Exceptions in the Method which is used to send error message to the user.

So the below Syntax will help you to send Error or Warning message to user from BADI which have the Exceptions maintained in the method

MESSAGE e006(zfi) RAISING error_with_message.