Application Development 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: 

variants

Former Member
0 Kudos

Dear All,

I have one report with one of the filed p_period in the selection screen.

The input to this field is month and year as 008.2007.

I save one variant ZVARIANT in the period is 006.2007

Now my requirement the period in the variant has to change automatically to the present month and year. i.e when i double click on the variant the value in p_period is 008.2007 not 006.2007.When i double the variant next month the value is 009.2007.Ths system automatically has to do this.

Please let me know hoe to do this.

This is not a ALV report

Message was edited by:

shoban babu

1 ACCEPTED SOLUTION

Former Member
0 Kudos

There is no standard variant variable to achieve that, you will have to do it in your initialization event of the program and save the variant without saving the value in this parameter.

2 REPLIES 2

Former Member
0 Kudos

There is no standard variant variable to achieve that, you will have to do it in your initialization event of the program and save the variant without saving the value in this parameter.

Former Member
0 Kudos

Maintain the values in the at selection-screen event instead of maintaining in the variant.

This will work.

Reward points if usefull.

Thanks and regards,

Veerendranath maddula.