SAPHub

How to Find BADI in SAP?

To find whether BADI exist or not for any transaction, first go to class builder i.e tcode SE24.

Enter “CL_EXITHANDLER” for the object type and press display.

Double click on “GET_INSTANCE” method to display it.

Set a break-point in GET_INSTANCE method of CL_EXITHANDLER. Now run the transaction for which we want to find whether BADI exist or not. If any BADI exist the control stops at the break-point set in GET_INSTANCE method.

Let us run the transaction MM02.

The control stops at the break-point.

The BADI name can be found out from the variable “EXIT_NAME” in GET_INSTANCE method.

The control stops at the break-point set in GET_INSTANCE method for each BADI that exists in the transaction.