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

badi

can any one explain multiple use badi concept?

Edited by: raja rao on Apr 11, 2008 8:02 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 11, 2008 at 06:08 AM

    Hi

    Multiple use Badi

    There are multiple use and single use Business Add-ins. This option can be choose at Business Add-in definition.

    The distinction is base on the procedure or event character of an enhancement. In the first case the program waits for the enhancement to return a return code. Typical example is benefit calculation in HR depending on the implementation, alternative calculations can be executed. In case of multiple use add-ins, an event that may be interest to other components in program flow. Any number of components could use this event as a hook to hang their own additional actions on to.

    There is no sequence control for multiple-use implementations of BAdi’s. Sequence control is technically impossible, at the time of the definition the interface does not know which implementations parameters will be change the implementations.

    The concept of multiple use of the Business Add-in is that has been implemented once already can be implemented again by right of the software chain.

    Please Reward points if helpful

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 11, 2008 at 06:10 AM

    Hi Raja rao,

    check this sap Help..

    Multiple Usability for BADI Definitions

    Multiple use for BADI definitions means that there can be several active BADI implementations. When there is a call, they are all called up - however, in an unpredictable sequence.

    If you have multiple-use BADI definitions, the sequence must not play any role therefore. A typical example is the execution of checks before a save

    Each developer can deal with his / her own implementation without having to deal with other's logic.

    Take a look at this series of this weblog ...

    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series

    Regards

    Kiran

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 11, 2008 at 06:55 AM

    multiple use badi

    Business add-ins are SAP's new enhancement concept. There are two different views:

    In the definition, you create an enhancement that is called from the application code

    In the implementation, you save the code for the functions for the enhancement

    You create business add-in definitions using transaction SE18. They contain the business add-in interface. In the application code the instance variable is typed according to this interface. You can create several implementations for each add-in definition.

    There are two main types of BADI definitions:

    Multiple use - that is, there can be several active implementations

    Filter-dependent - that is, you apply a filter value to each method called (for example, a country). A different (active) implementation is then called for each value. Possible filter values are characterized by the filter type.

    Multiple use Badi

    There are multiple use and single use Business Add-ins. This option can be choose at Business Add-in definition.

    The distinction is base on the procedure or event character of an enhancement. In the first case the program waits for the enhancement to return a return code. Typical example is benefit calculation in HR depending on the implementation, alternative calculations can be executed. In case of multiple use add-ins, an event that may be interest to other components in program flow. Any number of components could use this event as a hook to hang their own additional actions on to.

    There is no sequence control for multiple-use implementations of BAdi’s. Sequence control is technically impossible, at the time of the definition the interface does not know which implementations parameters will be change the implementations.

    The concept of multiple use of the Business Add-in is that has been implemented once already can be implemented again by right of the software chain.

    Do reward if helpful

    Edited by: sharad narayan on Apr 11, 2008 8:57 AM

    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.