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

Dynamic date range variant for ME2N

Former Member
0 Likes
1,537

Hi Everyone-

I need to create a variant for the document date on ME2N where the low value should always be fixed and the high date should be the last day of current month. I tried different options with dynamic date calculations but am not able to get the answer.

So for example : In the month of October the start date should be 08/09/2006 and end date should be 10/31/2012.

                         In the month of November the start date should be 08/09/2006 and end date should be 11/30/2012.

Thanks as always..

I need a static date on the low value. The method suggested would not help this purpose..

4 REPLIES 4
Read only

Former Member
0 Likes
1,204

hello,

When you create the transaction variant once you are at the save varaint option. You will see below screen.

here select the document date row. In selection varaible for this row select 'D' which means Dynamic. Then go to name of the variable here you will have multiple options like current date, current date +/- etc. You could build your required date logic here.

best regards,

swanand

Read only

0 Likes
1,204

I know how to create a dynamic variant. That was not my question. My question was how to create a variant where the low option is always constant but the high option in the date range changes..

Read only

0 Likes
1,204

hello,

Select Current date - xxx,current date + yyy. System will prompt for xxx and yyy which is your low and high

best regards

swanand

Read only

0 Likes
1,204

I need a static date on the low value. The method suggested would not help this purpose..