SAP/ABAP
Find a BADI in a minute
손여사아들
2015. 11. 26. 21:35
http://wiki.scn.sap.com/wiki/display/ABAP/Find+a+BADI+in+a+minute?original_fqdn=wiki.sdn.sap.com
1. Go to the TCode SE24 and enter CL_EXITHANDLER as object type.
2. In 'Display' mode, go to 'Methods' tab.
3. Double click the method 'Get Instance' to display it source code.
4. Set a breakpoint on 'CALL METHOD cl_exithandler=>get_class_name_by_interface'.
5. Then run your transaction in New Sessoin. (EX : ME21N)
6. The screen will stop at this method.
Debugging Screen
7. Check the value of parameter 'EXIT_NAME'. It will show you the BADI for that transaction.