‎2008 Mar 05 1:47 PM
Since we can have multiple implementations of BADI,
which BADI will trigger if we have multiple implementations for a BADI ?
‎2008 Mar 06 10:04 AM
Hi,
When we have multiple BAdi implementations, we do have Filters set for each implementations.
Based on the Filter value the respective BAdi implementation will be called.
OR if we dont have filter set for these implementations, the one which is ACTIVE will be selected.
If all are active, exception will be throwed saying MULTIPLE_IMPLEMENTATION exists.
Reward points if found helpful.
Seema
‎2008 Mar 06 10:15 AM
Hi,
If the badi definition is intended for single use then you have to use Filter values and select appropriate implementation at run time. If more than one active badi implmentation is available at run time for a single use badi then a runtime error would be reported.
Otherwise if its a multiple use badi then you can have multiple implemenattions and all of them would be called at runtime, however the sequence in which all implementations are called is unpredicatable and is on random basis.
regards,
Vikas
Always reward points to helpful suggestions.