2005 Mar 01 9:43 PM
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 dont 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 users 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 its 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
2005 Mar 02 1:50 AM
Hi Sumit,
Can you have a look into the FUNCTION-POOL RSSYSTDB? This might give you an insight.
Cheers!
Anand
2005 Mar 02 1:50 AM
Hi Sumit,
Can you have a look into the FUNCTION-POOL RSSYSTDB? This might give you an insight.
Cheers!
Anand
2005 Mar 02 4:43 AM
Check out the function group
<b>SVAR</b>
RS_CREATE_VARIANT
RS_VARIANT_DELETE
RS_VARIANT_CHANGE
Regards
Raja
2005 Mar 03 12:02 AM
Hey, thanks Raja! I think these function modules were what I was looking for!
I will try them out! Thanks again!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |