‎2008 Nov 12 12:47 PM
i m having multiple implementation's for a Badi......Ex: invoice_update...
which one will trigger fisrt from these implementations....?
‎2008 Nov 12 1:23 PM
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
‎2008 Nov 12 12:48 PM
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
‎2008 Nov 12 12:49 PM
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
‎2008 Nov 12 12:54 PM
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
‎2008 Nov 12 1:23 PM
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
‎2009 Jan 29 8:08 PM
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