02-12-2007 10:05 PM
Hi ABAP Gurus,
Can someone brief a scenario in which multiple use BADI was used or will be helpful.
Thanks,
Soorya
02-13-2007 4:17 AM
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
02-26-2007 8:17 PM
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