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.