on 05-22-2007 9:43 PM
I remember coming across an SAP How To PDF showing how to create a query where user inputs a specific period/month and dynamically all periods before the selected period populate with actuals and an perios /months remaining in the year will display forecast. Again, this is dynamic depending on the period entered by the user and occurs on the same row.
Can someone send me the link if you have it handy or if you know a solution, please share.
<FONT FACE = "Tahoma", Font Color = "Blue">
Hi<br>
Let us assume you are storing the value of Fiscal Period entered by User in Variable ZPER. Also let us say you use characteristic Value Type to identify if data is Actuals or Forecast with Value Type 10 being Actuals and 20 being Forecast.<br>
Then create a Restricted Key Figure Actuals which is restricted to 3 things: Key Figure, Value Type and Fiscal Period. Restrict the Value Type to 10 and restrict Fiscal Period in that key figures to value less than or equal to Variable ZPER. Secondly create a Restricted Key Figure Forecast which is restricted to 3 things: Key Figure, Value Type and Fiscal Period. Restrict Value Type to 20 and restrict Fiscal Period in that key figures to value greater than Variable ZPER.<br>
Please check if you get desired results.
<br><br>
Hope it helps.<br><br>
Cheers Abhijit<br>
</FONT><FONT FACE = "Verdana", Font Color = "Red">
</FONT>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Whatever time char you use, use variable offset of +1 for going forward ( for forecast) and -1 for backwards ( for actuals).
Ravi Thothadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, I got it to work...by default, my variables do not display when selecting Value Range (2004s SP12, Patch 1, Revision 449). I had to go to History dropdown to find one variable and select it. Once I did that, the next time I get the popup, variables in an option. This is so weird. I recorded my steps and played it back from the initial attempt and it works....now variables are displayed when returning to the selection screen, although it did not before.
Finally, now that it is finished and created as described, BEx analyzer throws error:
The characteristic 0P_PER3 for InfoObject 0FISCPER3 is not numerical.
Program error in class SAPMSSY1 method: UNCAUGHT_EXCEPTION.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.