Application Development and Automation 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: 
Read only

BADI doubt?

Former Member
0 Likes
371

Since we can have multiple implementations of BADI,

which BADI will trigger if we have multiple implementations for a BADI ?

2 REPLIES 2
Read only

Former Member
0 Likes
355

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

Read only

Former Member
0 Likes
355

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.