Search BAdi Quickly and Easily
July 24, 2008 by Ameya Pimpalgaonkar
Very recently one of our associate SAP Expert Mr.Sandipan Das from L&T Infotech, wrote an ineresting post in Forums about how you can find BAdi quickly. Many times you might struggle searching a BAdi for your specific requirement. Here Sandipan has shown the method by use of which, you can get the BAdi you are looking for in few mins.
When any requirements of Enhancement comes which needs the implementation of BADI then the biggest hurdle comes in the way that how to find the BADI. Especially this question troubles the fresher most. Then we fresher go through the F4 help provided in the SE18 Transaction if your luck is good then you get it otherwise we go on internet ,SDN and all forums .
In this article I am going to share my simple trick to find the BADI, which I learned through my experience.
Procedure:
1. Go to transaction SE24 i.e. Class Builder.
2. Put the Object type as CL_EXITHANDLER and press Display.
3. Go to the tab of METHODS and double click on the method GET_INSTANCE.
4.When you double click it will lead you to the source code of the method.In the source code at very
start you will find code which method is called i.e. get_class_name_by_interface. We need to just put a break-point on that.
5. There we will find a Changing parameter EXIT_NAME .This is the parameter which will tell us that which BADI got Trigger at the point where we want to enhance the logic.
Bang !! You got the BAdi you are looking for. This process should not take more than 5 mins to search the BAdi.
You can get the full pictorial, screen shot explaination of this process with an example in this following link.
You can download the PDF file for your use. But do post your comments and replies in the forums.
Regards,




Hai,
It is my blog http://www.abapprogramming.net on whom you left the comment appreciating my work.
And you are not far behind.
Congrats and all the best.