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

BADI Implementations

former_member202335
Participant
0 Likes
448

Hi,

I am required to make certain modifications to make the MD04 transaction work a bit differently. For the purpose, I ran the transaction in debug mode and found that the following BADI was being used: -

Definition name: - MD_CHANGE_MRP_DATA

Interface name: - IF_EX_MD_CHANGE_MRP_DATA

Name of bus. add-in class: - CL_EX_MD_CHANGE_MRP_DATA

Now, from what I understand about BADIs, in order to make MD04 transaction behave a little differently, I'll have to create a new implementation of the BADI and then implement the methods the way I want to. But, AFAIK a BADI can have multiple implementations, each of which can implement methods differently. So, how will the standard sap program know which implementation its supposed to be used?

I know the question is quite verbose. So, thanks a lot in advance for answering it.

Regards,

Div

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
394

If the BADI has multiple implementions, then the SAP will execute all the implementations sequentially. The order in which these implementations are executed doesn't matter as these implementations are independent from each other.

2 REPLIES 2
Read only

Former Member
0 Likes
395

If the BADI has multiple implementions, then the SAP will execute all the implementations sequentially. The order in which these implementations are executed doesn't matter as these implementations are independent from each other.

Read only

0 Likes
394

Hi Vijay,

Thank you for your response. I am rewarding you points for that.

Regards,

Div