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 Variant creation

Former Member
0 Likes
419

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

2 REPLIES 2
Read only

Former Member
0 Likes
384

Hi,

Use the Fm : RS_CREATE_VARIANT to create dynamic variant. and use the newly created variant name while submitting the job.

Thanks ,

Surya

Read only

former_member435013
Active Participant
0 Likes
384

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