on 05-16-2006 2:20 PM
Hello BPS Experts,
in the rolling forecast code operands used are {fiscalyear/period, version}. does that mean we are trying to change the period with respect to version.?
rolling forecast code:
DATA CURROER TYPE 0FISCPER.
DATA FISCPER TYPE 0FISCPER.
DATA SUM TYPE F.
DATA DELTA TYPE F.
CURRPER = VARV('CURRPER').
FOREACH FISCPER.
IF FISCPER > CURRPER.
SUM = SUM + FISCPER, 320 }.
ENDIF.
ENDFOR.
DELTA = CURRPER, 320 - CURRPER,220}.
FOREACH FISCPER.
FISCPER,420 = CURRPER,220}.
ENDFOR.
CURRPER,420 = CURRPER,220}.
FOREACH FISCPER.
IF FISCPER > CURRPER.
FISCPER,420 = FISCPER,420 + DELTA * FISCPER, 420 / SUM.
ENDFOR.
if the above code:
1) the statment fiscper,320 means? does it mean the sales rev and other amounts in the records when the corresponding values of the fiscal period and version is 320?
2) sum = sum + fiscper,320} does it mean, we are adding the fiscal year periods or the amounts in the records for corresponding selection of fiscper and version 320?
Suggestionse are greatly appreciated.
Thanks,
BWer
Hi,
Refer to the help on formula, should help make things clear
http://help.sap.com/saphelp_sem60/helpdata/en/d3/8057f830a911d4b2be0050dadfb23f/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
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.