‎2007 Aug 09 7:08 AM
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
‎2007 Aug 09 7:20 AM
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.
‎2007 Aug 09 7:20 AM
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.
‎2007 Aug 09 7:26 AM
Hi Vijay,
Thank you for your response. I am rewarding you points for that.
Regards,
Div