cancel
Showing results for 
Search instead for 
Did you mean: 

How MRP will checks Sales order

former_member261747
Contributor
0 Kudos

Hi Experts

We have done enhancement for sales order release & its working fine. But what client wants that unreleased sales order should not take part in MRP Run.we followed Badi MD_CHANGE_MRP_DATA , METHOD: CHANGE_MDPSX_VBBE . But its not working .Is their any other option ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello ,

I advise you to use the user status of sales order to control the demand whether is in the MD04. The default status is '1.0', sales order will be not in MD04, If release the sales order , the user status is changed as '2.0' ,it displays in MD04 , then run MRP.

You can create a status profile for the sales order.

Elliott.C

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Did you activate the MRP optimizations for HANA? If so, this BAdI will not be called. You can use MD_ADD_ELEMENTS instead.

If you are not using this MRP optimizations for HANA, then the BAdI MD_CHANGE_MRP_DATA should work. This blog shows an example of how to use this BAdI: https://blogs.sap.com/2014/10/01/making-an-element-not-relevant-to-mrp-using-badi-mdchangemrpdata/

Regards,
Caetano

former_member261747
Contributor
0 Kudos

Hi

Plz refer screen shot and suggest weather optimization for hana is active ? if yes then what will be logic with exit MD_ADD_ELEMENT.

JL23
Active Contributor
0 Kudos

where is this screenshot about which you are talking?

former_member261747
Contributor
0 Kudos

Dear jurgen

It was not uploaded By mistake . Now its ok. Plz check

With Regards

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

The BAdI implementation will not tell me if the optimization is active or not.

You should check if BF LOG_PPH_MDPSX_READ is active or not.

You should check the BAdI documentation for details about the logic to be implemented.

Regards,

Caetano