on 07-07-2011 6:05 AM
My requiremnt is I am reading files in the SAP directory and once i got a single file I am running a backgrond report to read data from the file and create Sales Order .
I have created a background Job i am submitting the JOb using the following Pattern
CALL FUNCTION 'JOB_OPEN'
EXPORTING
JOBNAME = 'CREATE_SALES_ORDER'
IMPORTING
JOBCOUNT = lv_job_c.
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = lv_job_c
jobname = 'CREATE_SALES_ORDER'
report = 'ZTEST_FILE1'.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
JOBNAME = 'CREATE_SALES_ORDER'
jobcount = lv_job_c.
The problem i am facing is My job status it is showing always 'Scheduled' in SM37 whenever i am submitting the job its not releasing.
I tried to set the 'Start Condition' as 'Immediate' and after saving the start condition when i am coming back to the Job the Start condition Immidiate checkbox is 'unchecked' .
Need help on how to set the job as immediate .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.