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

Having Multiple BADI's...................

Former Member
0 Likes
1,060

i m having multiple implementation's for a Badi......Ex: invoice_update...

which one will trigger fisrt from these implementations....?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
996

Hi Srinivas,

The BADI implementations will be execute one by one if they are activated. SAP does not give rules how sequence does these implementations execute. So the implementation should not depend on others.

Thanks,

Edited by: telford zhao on Nov 12, 2008 3:48 PM

5 REPLIES 5
Read only

Former Member
0 Likes
996

Hi,

BADI Implementation, which is activated, will be executed only.

Rest of the implementation will be deactivated at that time.

We need to activate the BADI implementation, we want to run.

If any other implementation is activated, deactivate it.

Regards,

Nitin.

Edited by: Nitin Karamchandani on Nov 12, 2008 1:48 PM

Read only

Former Member
0 Likes
996

Hello

If you have multiple-use BADI definitions, the sequence must not play

any role therefore. A typical example is the execution of checks before

Thank u ,

santhosh

Read only

Former Member
0 Likes
996

Hi Srinivas,

If the BADI which you are implementing is a Multiple implementation BADI then,

(1) More than one Active implementations for that BADI may exists.

(2) But the ORDER in which these implementations are executed cannot be determined. (There is no solution to predict the sequence of executions of the Implemenations for the same BADI.)

If the BADI which you are implementing is a Single implementation BADI then,

(1) Only one Active Implementations exists at any point of execution.

Hope this will help you....

Regards,

Ravi Kiran.

Edited by: Ravi Kiran P on Nov 12, 2008 1:55 PM

Read only

Former Member
0 Likes
997

Hi Srinivas,

The BADI implementations will be execute one by one if they are activated. SAP does not give rules how sequence does these implementations execute. So the implementation should not depend on others.

Thanks,

Edited by: telford zhao on Nov 12, 2008 3:48 PM

Read only

0 Likes
996

Hi all,

On the same topic, I want to know as a Customer if there is a good practice concerning creating multiple implementations for same Badi when multiple flag is checked. I can see that multiple developers working on theirs. This is convenient. In the case where they are all executed, no filter, what is the point? Would it be better controlled if all logic be contained in one implementation and it can help with maintenance in later days?

Lan Huynh