Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Submit program to back ground job

Hi All,

I have a issue with submit program to back ground job, i have submitted report to batch job using following statement.


                         WITH p_param = lv_param

                VIA JOB lv_jobname NUMBER lv_jobcount AND RETURN.

Variant 'VARIANT' passed to program is not updated variant field in jobstep.

when i check in SM37-->STEP, the variant field is updated with some &00000xxx, my requirement is variant name which is passed with submitted program should be updated in step.

If i use fm JOB_SUBMIT and passed variant field correctly updated in job step, i can't use this fm because i want to pass some selection parameters along with variant.

Please let me know if any solution.


screenshot.jpg (83863 B)
Former Member

Use TVARVC variables in your variant. Update the variables in your program before submitting the job.

Alternatively, it is possible to dynamically update the variant - again, before submitting.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question