Skip to Content

When we research about production planning in S/4 HANA, we can find a lot of documentation about the cool new S/4 HANA features, such as MRP Live and Embedded PP/DS, and also about all the simplified scenarios, like Simplified Sourcing and MRP areas planning.

However, there is a minor functionality that was already asked several times in SCN and that is now available in S/4 HANA, which is the ability to restrict the planned independent requirements consumption and reduction within a specific period.

 

Consumption mode in the ERP

In the ERP, we have the following consumption modes available:

In all the cases, the consumption is restricted by the backward and forward consumption period, and those values are maintained in workdays. It means that, if you define a period of 30 days, you may end up consuming the independent requirement that is on the next or previous month, which may not be desirable.

In order to restrict the PIR consumption within a month, an implementation of BAdI MD_PIR_FLEX_CONS was necessary, and a BAdI implementation always consumes time, money, and must be carefully tested after each upgrade.

 

Consumption mode in S/4 HANA

In S/4 HANA, there is a new consumption mode called Period-based consumption, which allows us to restrict the consumption within a specific number of periods.

For example, considering that we are using PIRs in monthly buckets, and we define period-based consumption with a forward and backward consumption period of 1, the PIR consumption will be restricted within the month.

Be careful when using this new consumption mode with mixed periodicity (e.g. weeks and months), since the consumption will be restricted within the consumption period according to the planned independent requirements period.

Now we don’t need to implement a BAdI to restrict consumption, which means that we have cheaper solution which can be very easily implemented and supported in S/4 HANA.

 

To report this post you need to login first.

6 Comments

You must be Logged on to comment or reply to a post.

  1. Giangabriele Casci

    Thanks for this post, Caetano!

    Would there be anything else for which MD_PIR_FLEX_CONS might still be needed in S/4 HANA, or will it be retired/deprecated since Period-based consumption would be directly available as the 5th consumption mode?

    Regards, – Gabri.

    (0) 
    1. Caetano Almeida Post author

      Hello

      MD_PIR_FLEX_CONS can still be used for classic MRP in S/4 HANA, as you can use it for other purposes, such as excluding a specific MRP element from the consumption logic.

      However, if you are running MRP live, those ABAP BAdIs are no longer called, as they were replaced by AMDP BAdIs. This specific BAdI was replaced by the AMDP BAdI PPH_MRP_RUN_BADI => MDPS_ADJUST.

       

      Regards,

      Caetano

      (1) 
  2. P Puri

    Dear Caetano

    We are using SAP  HANA CLOUD  . But option 5 is not available in consumption mode. Plz suggest.

    With Regards

    Puneet

     

    (0) 
  3. Anuroop Darsan P

    Dear Caetano,

    Thanks lot for sharing the knowledge! I tested the functionality and it worked fine.

    But just when I tried it for mixed periodicity, it was not working as expected.

    Below is my scenario.

    PIR – 1000 qnty for month 6

    PIR – 500 qnty for week 24 (dates 12th to 18th of month 6)

    Sales order – 600 qnty for 15th of month 6.

    So according to my expectation, it would consume the PIR for week 24 only and the PIR for month 6 will be untouched. But it my case, it consumed PIR of 500 qnty from weekly bucket and went on to consume 100 more from the monthly bucket as well.

    Could you please let me know why this happens? Why the system is not restricting the PIR consumption to the week? Expecting your reply!

    Kind regards,

    Anuroop

    (0) 

Leave a Reply