2007 Dec 24 10:26 AM
Hi,
I have to make Period (from),Year (from),Period (to)
and Year (to) as Dynamic in the Variant for Program RKKRCO02.These are of type Parameters.
Please let me know how I can get it done.
Thanks in Advance,
Savitha
2007 Dec 24 10:49 AM
HI Savitha,
If u open the variant and observe, there some options like hiding parameters and select-options. The same thing we can do my some function modules which will play the dynamic operation with variants in the selection screen.
And if u want to fix some values in the variant for any date field, you can do by this way.
To set the dynamic date:
Save variant on the selection screen.
In the vairant screen, press F4 against your field in the column "Selection Variable"
Select D here.
In the column Name of the variable, press F4 to have the list of the possible rules.
Here you can select "Current date - xxx,current date + yyy" if you want to have certain period.
When you select this system will pop up to put the values for XXX and YYY.
Say for last 7 days, you can set the values XXX as 7 and YYY as0.
But the best way is to change the program, if possible, and fill the select option in the initialization event.
Reagrds,
Raghu.