09-16-2008 11:09 AM
Hi All,
I have a scenario like i need to submit a program as a step along with a variant which is not fixed.
so can anyone help me in this ;
i want to pass values to the variant dynamically and submit to job as a step using job_submit.
so my question is like how to change the variant values before passing the variant to job_submit.
Thanks & Regards,
Suresh.
09-16-2008 11:40 AM
Hi!
Instead of using the JOB_SUBMIT, try using the SUBMIT report command. In this you can directly specify the contents for the selection-screen fields. You will have to call JOB_OPNEN, then SUBMIT the program, followed by JOB_CLOSE.
For further details, you can check the SAP help for SUBMIT.
Hope this helps.
Cheers!
09-16-2008 11:40 AM
Hi!
Instead of using the JOB_SUBMIT, try using the SUBMIT report command. In this you can directly specify the contents for the selection-screen fields. You will have to call JOB_OPNEN, then SUBMIT the program, followed by JOB_CLOSE.
For further details, you can check the SAP help for SUBMIT.
Hope this helps.
Cheers!