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

Two implementations for a BADI

Former Member
0 Likes
1,099

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,077

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.

5 REPLIES 5
Read only

naimesh_patel
Active Contributor
0 Likes
1,077

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

Read only

0 Likes
1,077

Hi Naimesh Patel ,

No already i tried that one...it says "There are already implementations active"..

what should i do...

Thanks&Regards,

Hari...

Read only

0 Likes
1,077

Are you giving different name for each implementation?

Regards,

Satish

Read only

Former Member
0 Likes
1,078

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.

Read only

Former Member
0 Likes
1,077

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