Skip to Content
author's profile photo
Former Member

variants

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

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Aug 21, 2007 at 03:50 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 21, 2007 at 03:59 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded