cancel
Showing results for 
Search instead for 
Did you mean: 

S4H BADI:MD_CHANGE_MRP_DATA is not working

0 Kudos

Hello Gurus ,

Now i'm doing SAP R3 update grade to S4H , i have face a problem that BADI:MD_CHANGE_MRP_DATA is no longer called , but some expert says that replaced by BAdI MD_ADD_ELEMENTS.

I use it(MD_ADD_ELEMENTS) , but it doesn't work.

Is there a better solution?

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

BAdI MD_CHANGE_MRP_DATA was called while the MRP elements were being read from the database and this logic was pushed down into HANA, so this BAdI is no longer called in S/4. The alternative is to replace it with BAdI MD_ADD_ELEMENTS if you are running classic MRP or with the AMDP BAdI PPH_MRP_RUN_BADI =>MDPS_ADJUST if you are running MRP Live.

There is one big difference between both BAdIs: while MD_CHANGE_MRP_DATA is called separately for each MRP element, MD_ADD_ELEMENTS is called only once, after all the MRP elements were read from the database.

Regards,

Caetano

0 Kudos

Hello

Thanks for your response.

I've solve MD_ADD_ELEMENTS problem , it's not triggered because the BADI implementation RPM_MD_ADD_ELEMENTS was incorrectly delivered active on the standard system. So i'm doing note 1006609 Activating separate BAdI implementation for MD_ADD_ELEMENT , now it's work.

Thanks for your help.

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

Read OSS Note 1768031 - SAP EHP 6 for SAP ERP 6.0, version for SAP HANA (look for 'BAdI MD_CHANGE_MRP_DATA') and documentation of business function LOG_PPH_MDPSX_READ.

Question: are you actually migrating from R3 (from 2.1 to 4.6C) or R3 entreprise (4.7x) to S4?

0 Kudos

Hello,

Yes , I'm migrating from R3 entreprise (4.7x) to S4 .

I've solve problem , in classic MRP BADI:MD_ADD_ELEMENTS is not triggered SAP have a note Activating separate BAdI implementation for MD_ADD_ELEMENTS.

Thanks for your help.