Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

multiple use BADIs

Former Member
0 Kudos

Hi ABAP Gurus,

Can someone brief a scenario in which multiple use BADI was used or will be helpful.

Thanks,

Soorya

2 REPLIES 2

uwe_schieferstein
Active Contributor
0 Kudos

Hello Soorya

Example of multiple-used BAdIs (ca. 850 in ECC 5.0) are:

- BADI_MATERIAL_CHECK (Enhanced checks for material master table)

- BADI_SD_BILLING (Billing Enhancements)

- BUPA_PCARD_CHECK (Additional Checks for Payment Cards)

Many, if not most, of these BAdIs are used for checking or validating data. The active implementations of such a BAdI must be independent meaning they must not rely on a specific calling order (see SAP documentation below).

<b>Multiple Usability for BADI Definitions</b>

Definition                                                                                
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.

Regards

Uwe

Former Member
0 Kudos

Hi Uwe,

Thanks for the reply. But I was looking for a more specific scenario.

In which scenario do we need multiple BADI implementations for the same definition. Can't the same functionality be achieved using a single implementation.

Why would we need multiple implementations for BADI_MATERIAL_CHECK.

Regards,

Soorya