Skip to Content
avatar image
Former Member

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 (83.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 16, 2014 at 07:29 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded