Automating variants

Question:
Hi All,
I had an extract program run with an variant created for selection screen to run for the current period ie 08.
Now my question is , Is there a way to automate the selection screen variant , so that as the next period(09) occurs, the variant should itself change to 09 period without developer interaction every month.
Pls help me out , a piece of code will be highly helpful guys.
thnx
abaper
Answer:
You can either create a piece of code and put it in the Initialization event to cover this or when you create the variant to be used in your background job select a selection variable and set that to next period.
_________________
Kind Regards
Rosie Brent
Please remember to search the forum and check the FAQ before posting questions, thank you.
Tuly Idiot most of the time, part-time Guru
Answer:
Hi
still not clear, could you be a bit clear pls.

More Articles:

Now it works!!?
need help linking service notification to repair order?
How to protect own variants from being overwritten?
It's time for ABAP OO, isn't it? Please advice.?
HR Programming: Select Statement on BEGDA & ENDDA?
FM or OOP?