2005 Aug 02 7:36 AM
Dear all:
I'm trying to select data from database after the job(code below) has insert the datas. But seems the data will be selected even earlier than the job inserting data. Question is, How do I wait until I know the job is done with inserting datas? is there a status I can monitor? Thanks...
-
CALL FUNCTION 'JOB_CLOSE_ADK'
EXPORTING
JOBNAME = TBTCO-JOBNAME
JOBCOUNT = JOBCOUNT
STRTIMMED = F110V-XSTRF
TARGETSYSTEM = F110V-BHOST
EXCEPTIONS
OTHERS = 1.
2005 Aug 02 7:51 AM
Hi,
try fm <b>SLW_WL1_GET_BTCH_JOB_STATUS</b>
(->status F = ready)
regards Andreas
2005 Aug 02 7:51 AM
Hi,
May be in such a case it's better to raise an event at the end of the job, that starts another job.
FM 'BP_EVENT_RAISE'
Svetlin
2005 Aug 02 7:51 AM
Hi,
try fm <b>SLW_WL1_GET_BTCH_JOB_STATUS</b>
(->status F = ready)
regards Andreas
2005 Aug 02 7:54 AM
Hi,
You can monitor the status of job using transaction code SM36. By specifying parameters on the first screen u can select and check the status of a perticular job
Message was edited by: Amit Joshi