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

MINI_JOB_WIZARD & Dynamic variants

Former Member
0 Likes
695

Does anyone know how to create variants dynamically?

On the selection screen of a report I am using a button to call the MINI_JOB_WIZARD to schedule a background job. Input to this function module is a program name and a variant. I don’t want the user to be saving the variants and then schedule the background jobs, I just want the user to enter the selection conditions and schedule the job.

Similar to the SAP functionality of menu path Program --> Execute in Background (F9).

The SAP standard functionality of "Execute in Background" apparently creates a variant dynamically based on the user’s input in selection screen and schedules a background jobs using that dynamically created variant. These variants are look something like "&0000000001234."

I want to use the MINI_JOB_WIZARD function module because it’s functionality looks much better than the "Execute in Background." Simply, its a lot more user friendly.

Does anyone know of a better way of using the MINI_JOB_WIZARD function module?

Thanks,

Sumit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
649

Hi Sumit,

Can you have a look into the FUNCTION-POOL RSSYSTDB? This might give you an insight.

Cheers!

Anand

Does anyone know how to create variants dynamically?

On the selection screen of a report I am using a button to call the MINI_JOB_WIZARD to schedule a background job. Input to this function module is a program name and a variant. I don’t want the user to be saving the variants and then schedule the background jobs, I just want the user to enter the selection conditions and schedule the job.

Similar to the SAP functionality of menu path Program --> Execute in Background (F9).

The SAP standard functionality of "Execute in Background" apparently creates a variant dynamically based on the user’s input in selection screen and schedules a background jobs using that dynamically created variant. These variants are look something like "&0000000001234."

I want to use the MINI_JOB_WIZARD function module because it’s functionality looks much better than the "Execute in Background." Simply, its a lot more user friendly.

Does anyone know of a better way of using the MINI_JOB_WIZARD function module?

Thanks,

Sumit

3 REPLIES 3
Read only

Former Member
0 Likes
650

Hi Sumit,

Can you have a look into the FUNCTION-POOL RSSYSTDB? This might give you an insight.

Cheers!

Anand

Read only

0 Likes
649

Check out the function group

<b>SVAR</b>

RS_CREATE_VARIANT

RS_VARIANT_DELETE

RS_VARIANT_CHANGE

Regards

Raja

Read only

0 Likes
649

Hey, thanks Raja! I think these function modules were what I was looking for!

I will try them out! Thanks again!