2007 Feb 07 4:03 PM
Cud u please explain me th difference between JOB_SUBMIT and SUBMIT <report> via job name and job count.
The scenario i'm working on is, i need to give the user a flexibility to run the report immediately or he shud be running it whenever he wants, through SM37.
Thanks in advance
Vijaya.
2007 Feb 07 5:37 PM
hi
good
Use JOB_SUBMIT to add a job step to a background job that you have opened with JOB_OPEN.
A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
Related function modules include:
JOB_OPEN: Create a background job.
JOB_CLOSE: Submit a background job to the background processing system for execution.
The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
calls another report. Can only execute reports of type '1'.
http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
thanks
mrutyun^
Cud u please explain me th difference between JOB_SUBMIT and SUBMIT <report> via job name and job count.
The scenario i'm working on is, i need to give the user a flexibility to run the report immediately or he shud be running it whenever he wants, through SM37.
Thanks in advance
Vijaya.
2007 Feb 07 4:43 PM
You may provide two radio buttons on the selection screen with Online / background options. If the user selects online they could directly run the report or if they select background option, you may use Job_SUBMIT function module with a specific job name, if need be, and submit the program to run in background.
What you may want to know is whether user would like to run the background job as soon as the background option is selected or schedule it for a later date.
2007 Feb 08 12:10 PM
thanks alot for replying.
If the user clicks the background option, the job shud get scheduled but shud not be run. Its like whenever the user wants to run.he will go to SM37 and run the report at the background.
how can i do dat?
Thanks,
Vijaya.
2007 Feb 07 5:37 PM
hi
good
Use JOB_SUBMIT to add a job step to a background job that you have opened with JOB_OPEN.
A job step is an independent unit of work in a job, the execution of an ABAP or external program. Each job step can have its own authorizations user and printer/optical archiving specifications.
Related function modules include:
JOB_OPEN: Create a background job.
JOB_CLOSE: Submit a background job to the background processing system for execution.
The SUBMIT statement executes a report from within a report. i.e. you could have a drill-down which
calls another report. Can only execute reports of type '1'.
http://www.sapdevelopment.co.uk/reporting/rep_submit.htm
thanks
mrutyun^
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |