Skip to Content

How MRP will checks Sales order

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

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

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 07, 2017 at 06:33 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • 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