There are many options to do that:
Option No: 1:
For finding the BADI: put a break point in CL_EXITHANDLER class’s GET_INSTANCE Method and execute the Transaction code whenever it call a BADI debugger stops at that points.
Advantage: It is for sure that you will get the respective BADI.
Disadvantage: It is…