To find BADI, the initial step is to go to the SE24 exchange and show CL_EXITHANDLER class. Then double tap on the GEL_INSTANCE technique and put a breakpoint on the class strategy CL_EXITHANDLER=>GET_CLASS_NAME_BY_INTERFACE.

Run the exchange you want to find BADI in another screen and it will naturally stop at the breakpoint you put in SE24. Each time you execute in debugger it will show the BADI names.

Want to see how to find badi in sap abap with practical?

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

How to find badi in sap abap - 1

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

How to find badi in sap abap - 2

Double tap on “GET_INSTANCE” technique to show it.

How to find badi in sap abap - 3

Set a break-point in GET_INSTANCE strategy for CL_EXITHANDLER. Presently run the exchange for which we need to find regardless of whether BADI exist. Assuming any BADI exist the control stops at the break-point set in GET_INSTANCE strategy.

Allow us to run the transaction MM02.

How to find badi in sap abap - 4

The control stops at the break-point.

How to find badi in sap abap - 5

The BADI name can be determined from the variable “EXIT_NAME” in GET_INSTANCE technique.

Categories:

No responses yet

Leave a Reply

Your email address will not be published. Required fields are marked *