Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dyanmic variant value ??

former_member194669
Active Contributor
0 Likes
381

I have a report with S_DATE as select-option . I need to set the S_DATE-LOW & S_DATE-HIGH values in the variant .(Not programatically)

I know how to set the dynamically dates while creating variant. I find i can set value for S_DATE-LOW. i could not find how to set HIGH also

ie

S_DATE-LOW = SY-DATUM - 3.

S_DATE-HIGH = SY-DATUM +120

Any Info?

a®

1 ACCEPTED SOLUTION
Read only

Puneet_Gupta
Contributor
0 Likes
360

Hi,

In the Dynamic date calculation in the variant you can select the variable as Current date - xxx,current date + yyy

This will allow you to enter 3 for xxx and 120 for yyy

Thanks,

Puneet

2 REPLIES 2
Read only

Puneet_Gupta
Contributor
0 Likes
361

Hi,

In the Dynamic date calculation in the variant you can select the variable as Current date - xxx,current date + yyy

This will allow you to enter 3 for xxx and 120 for yyy

Thanks,

Puneet

Read only

Former Member
0 Likes
360

Steps:

1. Click on selection variable push button (or F5) from Variant Screen.

2. If that part is through, in the subsequent screen,

you will find an option called D:Dynamic Date Calculation. Just click on the traffic light icon for Date variable. Then choose the option "Current date -xxx, Current date +yyy" and enter 3 & 120 in these two fields. Actually these 2 options will respectively fill your low and high values.

Regards,

Vijay