Skip to Content
author's profile photo Former Member
Former Member

Badi Implementation on ECC 6.0

Hello SDNers,

I am very new to BADI. I was trying to create a BADI implementation on SE19 and Iam unable to.

I am working ECC 6.0.

On SE19 there are 2 frames one with Edit Implementation and 2nd with create Implementation.

Now under Create Implementation there are 2 radio buttons First New Badi (Enhancement spot)

and second Classic Badi (Badi name).

Now I am giving a name example zcustomer_add_data and trying to create a new implementation.

nothing happens.

Can anybody help me out with the same with some screen shots or examples would appreciate a lot.

Thanks and Regards,

Ranjith N

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 07:25 AM

    Hi Nambiar,

    You can try the following steps for implementing your BADI:

    1. In the SAP menu, choose ABAP Workbench ® Utilities ® Business Add-Ins (transaction SE19) or double-click the corresponding activity in the Implementation Guide (IMG).

    2. Enter a name for the implementation and then click the Create pushbutton.

    3. Enter the name of the add-in you want to create an implementation for in the dialog box that appears.

    4. Enter a short text describing your implementation on the following screen.

    5. Choose the Interface tab.

    6. Choose ABAP Code as the implementation type.

    Besides ABAP Code, there is also the Formula option. If you choose Formula, the content of a method is determined using the Formula Builder. For more information on this, refer to the section Implementing Methods Using the Formula Builder.

    7. Navigate to the Class Builder by double-clicking the method. You must first enter a package before the Class Builder is displayed.

    8. Insert the desired source code for the implementation between the method if_ex_businessaddin~method. and endmethod.statements that already exist.

    Relating to our example, you could enter the statement translate parameter to upper case.

    9. Save your entries and return to the Change Implementation screen.

    10. Choose Activate. You may now use this implementation when the application program is executed.

    Several implementations may exist for a Business Add-In that is not used on a multiple basis. However, only one implementation can be active at any one time.

    What is also important is that you must declare the instance generation of the implementing class (Attributes tab) as public and not as private, protected, or even abstract. If you do this, the system will return short dumps at runtime.

    Also, you can refer to the following link for more on BADI implementation. It's a good one:

    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5f/071eed117c11d5b37d0050dadef62b/frameset.htm

    Hope it helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 04:39 AM

    Ho Poornima,

    Thanks for your reply.

    But under create implementation there is nothing called as badi definiiton on ECC 6.0

    We have got 2 options and these are radio buttons, cant make multiple selections

    1) New badi (Enhancement spot).

    2) Classic badi (Badi name).

    Regards,

    Ranjith N

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2008 at 12:19 PM

    Hi Rajeev,

    Thanks for your reply.

    The step what you have said I have tried the same and that worked.

    But I was just trying through SE19 and thats were the problem lies.

    Thanks and regards,

    Ranjith N

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2008 at 01:24 PM

    Hi Ranjith,

    You can create an implementation to an existing badi definition through SE19.

    Under create implementation

    you need to give the badi definition name, (for example LE_SHP_TAB_CUST_HEAD) for which u want to create implementation and then press create implementation button.

    Then it will ask u for the implementation name( eg u can give zle_shp).

    Regards,

    Poornima

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 08:40 AM

    Hi Poornima,

    Thanks..

    Regards,

    Ranjith N

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 08:40 AM

    answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.