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

2 implementation

0 Likes
707

Dear All,

I have created 2 implementation for one BADI (Ex:: MB_MIGO_BADI).

Which implementation will work first?

Thanks

Priya.

6 REPLIES 6
Read only

Former Member
0 Likes
681

Hi,

Whichever the implementaion is active then that will work first.

At a time you cannot have more than one active implementaition for BADI.

Regards and Best wishes.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
681

>

> Whichever the implementaion is active then that will work first.

> At a time you cannot have more than one active implementaition for BADI.

I thought that multiple implementation is what gave BAdI's edge over User Exit. Of course "multi-use" checkbox needs to be checked to allow multiple implementations.

BR,

Suhas

Read only

0 Likes
681

Dear kiran,

1st implementation is for One Scenario and

2nd Implementation for another scenario.

When i run 1st process it should not call 2nd implementation

how to do?

Read only

Mohamed_Mukhtar
Active Contributor
0 Likes
681

@Kiran : If a BADI is of type MULTIPLE USE, then it can be implemented more than once. If it is a single use badi then it can be implemented once.

@ Siva

Why dont you test yourself and tell us Which implementation will work first? ?

Thanks & Regards

- Always Leaner

Read only

Former Member
0 Likes
681

as per SAP help there is no grantee which is triggered first for multi use BADI's.

from my experience .... i never saw a change in sequence of the BADI implementations, test the impregnations for your self .

Read only

Former Member
0 Likes
681

you have to put your conditions in the implementations .. no other go

or

implement only 1 implementation and put your conditions for each scenario.