Skip to Content
avatar image
Former Member

BADI: - MD_PIR_FLEX_CONS is not reducing the PIR based on the MRP element U1, U2 and U3.

part-one.png

The Business require the reduction of PIR of planning material through STO (PO).

The consumption should happen on creation of STO and reduction in PIR should happen when outbound PGI is done from the supply plant.

part-one.png (67.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 16 at 03:41 PM

    Hello Pankaj

    This BAdI is only called for a specific planning element if the consumption/reduction settings allow the PIR reduction/consumption. Therefore, if your planning strategy settings do not allow consumption/reduction with stock transfers, the BAdI will not be helpful.

    Make sure that all the all the pre-requisites for PIR consumption are met and the following notes may be helpful:

    https://archive.sap.com/documents/docs/DOC-46812

    Regards,

    Caetano

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Caetano,

      Thank you for the details and quick response.

      We have checked the pre-requisites and other details as per your reply but still we are facing the issue.

      Badi is trigerring fine in all flows for Sales document but not for PR/PO.

      And consequently withdrawal Qty in MD73 is only visible for delivered Qty against the SO and not for GR done for PO.

      Please find more details on what is required and what issue we are facing on it and it would be great if you can help in this.

      Consumption indicator set as = 4MD73/MD62 PIR on plannaing materialMRP Run Md04 = Planned order generatedSales created order on finished good and Badi trigerredNo change Md73 Blank MRP Run Md04 = Planned order generatedConvert plannned order into PR but BADI not trigeredConvert PR into PO STO created

      but BADI not trigered

      it should have MD73 assigmnet quanity updated agaisnt STOand stock supply against STO Badi not trigerringShould have MD73 Withdrawal quanity updated for PO and not for SOInbound in sales plantsales delivery created for SOdelivered to the cutomer

  • avatar image
    Former Member
    Feb 21 at 11:47 AM

    Hi Caetano,

    Thank you for the details and quick response.

    We have checked the pre-requisites and other details as per your reply but still we are facing the issue.

    Badi is trigerring fine in all flows for Sales document but not for PR/PO.

    And consequently withdrawal Qty in MD73 is only visible for delivered Qty against the SO and not for GR done for PO.

    Please find more details on what is required and what issue we are facing on it and it would be great if you can help in this.

    Consumption indicator set as = 4MD73/MD62 PIR on plannaing materialMRP Run Md04 = Planned order generatedSales created order on finished good and Badi trigerredNo change Md73 Blank MRP Run Md04 = Planned order generatedConvert plannned order into PR but BADI not trigeredConvert PR into PO STO created

    but BADI not trigered

    it should have MD73 assigmnet quanity updated agaisnt STOand stock supply against STO Badi not trigerringShould have MD73 Withdrawal quanity updated for PO and not for SOInbound in sales plantsales delivery created for SOdelivered to the cutomer

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Caetano,

      Thanks again for quick reply.

      This point is checked and settings are as expected.

      Also it mentioned to make consumption indicator as 3 but I think to set reduction via Badi we need it as "4" or you mean to say consumption mode as 3 in material master.

      Regards,

      Pankaj