Skip to Content
0

How MRP will checks Sales order

Sep 07, 2017 at 02:45 PM

97

avatar image

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 ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

avatar image
Former Member Sep 08, 2017 at 01:11 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Caetano Almeida
Sep 07, 2017 at 06:33 PM
0

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

Show 4 Share
10 |10000 characters needed characters left characters exceeded

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.

1.jpg (54.3 kB)
0

where is this screenshot about which you are talking?

0

Dear jurgen

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

With Regards

0

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

0