BADI

BADI - Business ADD-INS


    *  BADIs are used to adding some additional functionality to standard functionality without disturbing the standard functionality. 

    *  BADIs are introduced from 4.6C version onwards. BADI contains 2 sections.

            1. BADI Definition - SE18

            2. BADI Implementation - SE19

    * Badi Definition: - 

            > Each BADI definition contains one adapter class and interface. 

            > Adapter class taking care the version change management (Whenever the version is changed if any changes required in the BADI those are done by adapter class).

            > Interface is the collection of methods which are defined not implemented. 

            > Those are implemented through BADI implementation based on client requirement.

    * BADI Implementation: -

            > BADI Implementation is nothing but implementing the methods which are                             defined in BADI definition.


    Types of BADI’S

        There are 4 types of BADI‟s

            1. Single Implementation BADI

            2. Multiple implementation BADI

            3. Filter BADI

            4. Custom BADI.

            1. Single implementation BADI:

                *  This BADI can allow implementing only once. 

                *  This type of BADIS is called single implementation BADI.

                *  If the BADI definition does not contain 'multiple use' check box.

                * Then the BADI is called as single implementation BADI.

          2. Multiple implementation BADI:

            *  It can allow implementing the same BADI any number of times.

            *  If the BADI Definition contains 'multiple use' check boxes 

            *  Then the BADI is called as Multiple Implementation BADI.

        3. Custom Badi:

            *  These are created by us (Technical people)

        4. Filter Badi:

            *   It is type of BADI which has a filter value 

                    so that only those implementations which satisfy the filter value are executed. 

            *  The remaining implementations are not executed 

                    this type of BADI is called a filter BADI.

            *  Filter Badi is used to implement the same BADI multiple times with different                             conditions. 

            *  If we want to implement the BADI based on country specific then we go for filter                     BADI.

            







Comments

Popular posts from this blog

Custom entity/Action dialog in RAP using Unmanaged scenario

New syntax for append- VALUE (new syntax 7.4+) in ABAP

Read statement new syntax in ABAP. (7.4+).