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

BAPI and BADI inofrmation for beginners

Howdy,

Thanks for all yer help so far y'all!!!

Listen does anyone of you know good resources for learning about BADIs and BAPIs if your a complete beginner or perhaps not such a beginner heh, heh 😊

That would be really useful!!!!!

Thanks y'all

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Oct 20, 2004 at 06:44 PM

    Hi Steve

    For information on BAdI's, you can take the standard SAP course "BC 425 - Enhancements and Modifications"

    Here is a summary:

    You can use the transaction SE18 to define a new BAdI definition which may be implemented by other developers later. It is not so challenging. Here is the roadmap:

    A. BAdI Definition

    1. SE18

    2. Enter the name for the BAdI to be created in customer namespace and press "Create".

    3. Enter a definition for your BAdI and on the interface tab enter a name for the BAdI interface. SAP proposes a name and it is pretty good. Meanwhile a BAdI class is also created which is not in our concern.

    e.g for "ZTEST", SAP proposes "ZIF_EX_TEST" for the interface and "ZCL_EX_TEST" for the class.

    4. Save your BAdI.

    5. Double-click on the interface name. It will pass to a Class Builder session to make you implement your interface. If you are not familiar to the Class Builder; it's a bit like Function Builder and it will be easy to discover its procedure.

    6. Save and activate your interface.

    B. Calling your BAdI from an application program

    1. Declare a reference variable with reference to the Business Add-In interface.

    e.g. DATA exit_ref TYPE REF TO zif_ex_test.

    2. Call the static method GET_INSTANCE of the service class CL_EXITHANDLER. This returns an instance of the required object.

    e.g.

    CALL METHOD CL_EXITHANDLER=>GET_INSTANCE

    CHANGING instance = exit_ref .

    3. After those two steps, you can now call all of the methods of the BAdI where it is required in your program. Make sure you specify the method interfaces correctly.

    C. BAdI Implementations

    1. SE19

    2. Enter the name for the BAdI implementation to be created in customer namespace and press "Create".

    3. It will request the BAdI definition name to which this implementation will be tied.

    4. Enter a definition for your implementation and on the interface tab enter a name for the implementing class. Again SAP proposes a name and it is pretty good.

    e.g for "ZIMPTEST", SAP proposes "ZCL_IM_IMPTEST".

    5. Save your implementation.

    6. To implement a method, just double-click on the method name and you will be taken to the Class Builder to write the code for it. Here you redefine the BAdI interface methods.

    7. You must activate your implementation to make it executable. You can only activate or deactivate an implementation in its original system without modification. The activation or deactivation must be transported into subsequent systems

    That's all. For further details, i.e. filter-dependence, multi-usage, menu nehancements etc... you can have a look at course materials of BC425 "Enhancements and Modifications".

    ======================

    BAPIs are function modules in a simple aspect. The importance of them is lied at their functionality. To inspect BAPIs and business objects use the transaction "BAPI".

    BAPIs are taken as topics at several SAP courses.

    *--Serdar

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2004 at 03:11 PM

    Hi Steve,

    For BAPI programming you ca find some really god documentation following the path: http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm. Please run a search (Ctrl+F) using the BAPI keyword. You should get three results. The good side of it that you can download the .pdf files and print them out.

    As for BAdI-s, probably you should run a search on http://help.sap.com. I am shore you will get some info there.

    Regards,

    Ferenc

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 20, 2004 at 03:12 PM

    I forgot to tell you to use the PDF index link to get a list with the available documents.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 05:56 AM

    Hi all,

    Can anyone please help me out in getting the BC425 material. I need to learn about BADI's. Are there any other sources where i can get good material regd BADI's.

    Thanks and Regards,

    R Kumar

    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.