Skip to Content
author's profile photo Former Member
Former Member

Two PIR's getting created for forecast released in 3rd bucket

Hi Experts,

For few SKU's we are releasing the forecast in 3rd bucket of a month. We have noticed that 2 PIR are getting created.

If forecast is released in the month of July , what ever the future months with 31 days in a month 2 PIR's getting generated and 1 PIR for calendar month with 30 days.

Its vice versa if released in a Month which has 30 days.

If length of Distribution function is changed to 31 from 30, The problem occurs in revers i.e for 30 day cal month 2 PIR's getting generated.


period split.PNG (12.3 kB)
oct.PNG (30.3 kB)
Sep.PNG (26.3 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 22, 2016 at 06:01 AM


    Though you did not show our definition of the split function, I think this is a standard behavior as per system design -- if the length of the period is not the same as the length defined in period split profile, you'll get some unexpected result -- the calculation is quite complicated behind this case.
    Unless you define different profiles for 31 day month and 30 day month, and use them separately, you'll need to consider other ways of releasing forecast ...
    What's your purpose here? If you only want one forecast in a month, why do you use period split profile at all?

    Best Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi, As ada has said, you need to have a different plan for these SKU's. On what basis you release forecast for these select sku's in the 3rd bucket. Based on a unique feature you need to use the above mentioned BADI and work it out. This will solve the problem.



  • Posted on Aug 23, 2016 at 11:10 AM


    Or maybe you can take a different approach, like releasing monthly (in the first bucket) and then giving 2 buckets forward shift using a custom macro.

    Best Regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 23, 2016 at 11:38 AM

    Hi TIA,

    we also experminted a lot with standard functions to allocate PIRs for a certain day / period within a bucket. At the end, the only stable solution we found was shifting the PIRs via BADI /sapapo/sdp_reldata~change_reldata as already mentioned by expert @Ada Lv.

    Based on a custom table, in your case one where you maintain the affected material numbers, you apply the requested manipulation. e.g. shifting a monthly PIR always on a specific day within the respective month.

    regards Peter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.