‎2007 Dec 07 5:34 PM
Hi all,
How to activate two implemetations of a BADI at a time....how to do that...what happens if two implementaions are active.
Thanks&Regards,
Hari
‎2007 Dec 07 7:54 PM
BADI can only have multiple ACTIVE implementations if the definition of the BADI allows mutliple use. Check the attributes of the BADI you want to implement in SE18, and look for the 'multiple-use' check box.
If it does allow multiple uses, then they are triggered in an unpredictable order. Basically you can think of the BADI implementations as subscribers to a published event (your BADI call) in this scenario.
Without this flag being active, only ONE can be active although you may have multiple implementations.
‎2007 Dec 07 5:41 PM
Go to SE19, set your both implementations as Active by using the "Active" button.
Both will be called, if both are active.
Regards,
Naimesh Patel
‎2007 Dec 07 5:58 PM
Hi Naimesh Patel ,
No already i tried that one...it says "There are already implementations active"..
what should i do...
Thanks&Regards,
Hari...
‎2007 Dec 07 6:04 PM
Are you giving different name for each implementation?
Regards,
Satish
‎2007 Dec 07 7:54 PM
BADI can only have multiple ACTIVE implementations if the definition of the BADI allows mutliple use. Check the attributes of the BADI you want to implement in SE18, and look for the 'multiple-use' check box.
If it does allow multiple uses, then they are triggered in an unpredictable order. Basically you can think of the BADI implementations as subscribers to a published event (your BADI call) in this scenario.
Without this flag being active, only ONE can be active although you may have multiple implementations.
‎2007 Dec 07 10:08 PM
Hi Hari,
In the tab "Attributes", in the group "Type" there is check box called "Multiple Use" if it is not selected, that means the BADI can have only one active implementation.
Regards,
Satish