How can I do this...
Objective:
Relevant Forecast Version should be automatically determined by the variables created in the back ground. This will facilitate user not to worry about relevant version for each period /month and avoid typo error.
PCA Report group 8A2 EC-PCA: Standard Reports
User entry:
Input Variables
Comparison Year 1CGJAHV
Fiscal Year Z_CYEAR Fiscal Year
Period Z_CPERF Month
Variable Created in the back ground for Forecast version:
Each variable has got logical condition for relevant month and forecast version.
e.g. ZVERF02 u201C IF C_PER month = 2 THEN Z-VERNF = 205u201D
ZVERF03 u201C IF C_PER month = 3 THEN Z-VERNF = 210u201D
ZVERF04 u201C IF C_PER month = 4 THEN Z-VERNF = 220u201D
Z-VERNF has been initialised by C_PER value and over written by applicable condition.
For Example, If user will enter C_PER = 4
then Z-VERNF = 4
Condition ZVERF05 should be true and Z-VERNF = 220
In output parameter Z-VERNF =220 and report should fetch data for forecast version 220.
Thanks in advance