2007 Apr 11 2:27 PM
Hi!
My program creates and runs (by using RSBDCSUB) a batch input job. Before countinuing the program execution, I would like to <b>check the status of the batch job</b> to see if it has finished processing. Is there any way of doing this?
- Mari Virik
2007 Apr 11 2:37 PM
Hi!
I have the <b>session name</b> for the batch input i created, e.g. Z_MY_BATCH. Is this the same as the <b>JOBNAME</b> in BP_JOB_STATUS_GET? How do I obtain the <b>JOBCOUNT</b>?
- Mari
Hi!
I have the <b>session name</b> for the batch input i created, e.g. Z_MY_BATCH. Is this the same as the <b>JOBNAME</b> in BP_JOB_STATUS_GET? How do I obtain the <b>JOBCOUNT</b>?
- Mari
2007 Apr 11 2:30 PM
Hi mari,
1. This FM can be useful
BP_JOB_STATUS_GET
regards,
amit m.
2007 Apr 11 2:32 PM
Hi,
BDL_READ_JOB_STATUS
give job name and job number u will get status
Job status
R - Running
Y - Ready
P - Scheduled
S - Released
A - Aborted
F - finished
Z - put_active
X - unknown state
Message was edited by:
Alexander
2007 Apr 11 2:37 PM
Hi!
I have the <b>session name</b> for the batch input i created, e.g. Z_MY_BATCH. Is this the same as the <b>JOBNAME</b> in BP_JOB_STATUS_GET? How do I obtain the <b>JOBCOUNT</b>?
- Mari
2007 Apr 11 2:44 PM
Hi again,
1. We can query the table APQI.
(Input the session name in the field GROUPID)
2. and get the field QSTATE
regards,
amit m.
2007 Apr 11 3:06 PM
Hi again,
Do you have the values and descriptions for the possible entries of APQI-QSTATE?
E.g.
E = ?
F = ?
...
- Mari
2011 Feb 16 4:21 PM
Hi Mari,
I understand this thread was answered.
And I need you to help with the answer about you last reply on this question, i.e. The descriptions of possible entries for field APQI - QSTATE.
Thank you in advance.
Kind Regards;
Rebaone
2011 Feb 17 1:33 PM
Hi Mari,
I managed to get the answer.
The values in APQI-QSTATE mean the following;
space - To be processed
C - Creating
E - Incorrect
F - Processed
R - Processing
S - Batch
Thank you.
Rebaone
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |