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

Former Member
0 Likes
850

I'm on ECC6.0, and looking to set up a dynamic date range in a variant.

The date range is a select-option on my selection screen.

I can easily setup the dynamic date for the 'low' value in the range,

but I can see no way to also declare a dynamic date in the 'high' value.

I also looked in TVARV maintenance and it doesn't seem possible there

either, as there's no way to declare variable values.

If I can't resolve this, I will have to change my program to include a

default high date and use that.

But even that may not work if we call the variant, which may overwrite

my default in the high value of the range with a blank value.

Does anyone know how to do this?

Thanks in advance for your help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
657

Hi Jagan,

If you save the variant you can choose some options for the select-option. If you choose selection variabel type D (dynamic date calculation) you can choose out of several Names of Variables that provide for a LOW and HIGH value.

If you use type T, you can choose a variable that is stored in tabel TVARVC. You can add your own variable to table TVARVC using SE16.

Regards........

Chaitanya.

3 REPLIES 3
Read only

chaouki_akir
Contributor
0 Likes
657

Hello,

what is the link (algorithm) between the high date value and the low date value ? 1st and last day of the current month ? something else ?

Cordialement,

Chaouki.

Read only

Former Member
0 Likes
658

Hi Jagan,

If you save the variant you can choose some options for the select-option. If you choose selection variabel type D (dynamic date calculation) you can choose out of several Names of Variables that provide for a LOW and HIGH value.

If you use type T, you can choose a variable that is stored in tabel TVARVC. You can add your own variable to table TVARVC using SE16.

Regards........

Chaitanya.

Read only

Former Member
0 Likes
657

You are next... (unless you write an interesting original blog)...