Submit program to back ground job
I have a issue with submit program to back ground job, i have submitted report to batch job using following statement.
SUBMIT zxxxx USING SELECTION-SET 'VARIANT'
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.