on ‎2022 Jan 29 8:41 PM
I have a requirement to build a key figure that will be a copy of Projected Stock. The difference is that I want the quantity in the following month to reflect a Projected Opening Stock. I have an example in the attached screen shot. The new key figure is highlighted in yellow named "Projected Opening Stock". Note the Projected Stock for Dec-21 is the Projected Opening Stock for Jan-22 so on and so forth.

Request clarification before answering.
Hello kimon.stergakos
The issue is happening becuase you are using the standard projected stock KF, which is a ouput KF for heuristic / optimizer, and it is at TWK. what you need to is the following.1) Create a new KF for projected stock at MTHPRODLOC. Use the CAGGR function to calculate the projected stock at monthly level.2) now in the KF Projected Opening Stock use the offset by 1 and use the KF mentioned above as input to PERIOD_OFFSET.That will solve your problemregardsayanYou must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kimon
Its not about copying the value from the standard projected stock KF. what you need to do is calculate the projected stock in a new KF which will be in months. The projected stock can be caluclated in the KF using the function IBP_CAGGR in the calculated KF.
the syntax is as follows
KF@MTHPRODLOC= IBP_CAGGR("SUM_DEM_RECPT@MTHPRODLOC",''SUM'',''FORWARD'',''CURRENTFUTURE'')
For details please check the URL below
Thank you Ayan.
I tried to understand the documentation in the link you provided. I tried some configuration variances but had not luck. I don't even have a MTHPRODLOC level in my system. At this point it may be over my head. Unless there is a more specific configuration that you can provide I appreciate everyone's attempt to help me.
Hello,
You can try period shift function to shift the Project stock key figure values by 1 period.
Thanks
Girish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Grish,
I tried what you suggested, and it seems to be the way to go. Unfortunately, I may not know enough to get exactly what I want. When I used the IBP_PeriodShift function it worked for the Technical Week view. The Week view seems to give irregular numbers when the weeks cross the month. The month level is way off. I am attaching screenshots with the examples and my key figure configuration. I hope you can help.


Hello kimon.stergakos
We have observed the example pasted in your queries Projected stock period values are same Projected Open stock same value for Period +1. You have to use period shift function for one month (Current Period +1). So you get the value for Projected open stock.
Thanks
Rajesh Tiwari
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 5 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.