Cool Apple iMac lamp
February 12, 2010 – 10:33 am | No Comment

So you have got the iPad or you may have got MacBook Pro. Whatever apple product you may have, your collection is incomplete unless you get cool iMac G4 lamp. Now what is it? Yet …

Read the full story »
Bon Voyage

Healthcare

MBA

Technology

Home » Technology

Search BAdi Quickly and Easily

Submitted by Ameya Pimpalgaonkar on July 24, 2008 – 2:42 am Share/Save/Bookmark 2 Comments

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.

Search BAdi easilly.PDF

You can download the PDF file for your use. But do post your comments and replies in the forums.

Regards,



Share/Save/Bookmark

Related Articles

2 Comments »

  • sap abap said:

    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.

  • Amit said:

    Hi Ameya

    The article was very interesting and it is very useful in searching the BADi. However I am unable to open the PDF link provided at the end. can you forward the new link / PDF to my mail ID.

    Thanks and Regards
    Amit

Leave a comment!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar blog.

eXTReMe Tracker