‎2009 Jun 17 7:37 AM
Hi Folks,
I have a requirement where-in i need to schedule report 1 in background from report 2.
Report 1 has a selection screen which contains one select-option and variant for the same is created.
Now i need to schedule report 1 in such a way so that the select-option that is created is automatically changed every time i have scheduled the report.
Please let me know how is it possible to create a variant for report 1 so that the select-option is changed every time i schedule the report.
Please note that report 2 will know the list of values to be used for select-option in report 1 (to be used for job scheduling).
Also if there is any other approach of tackling this problem then let me know.
Thanks,
Imran
‎2009 Jun 17 7:44 AM
Hi,
Use the Fm : RS_CREATE_VARIANT to create dynamic variant. and use the newly created variant name while submitting the job.
Thanks ,
Surya
‎2009 Jun 17 8:12 AM
Hi,
With selection variant you can start a report with fixed selection values again.
You need not use them for documentation. You are able to see the used selection screen in a job step.
For time/date selections often selection variables are very useful.
Perhaps in your case it would be a good idea to store the last selection value with each job start in a Z-table.
Regards
Walter