Skip to Content
0
Former Member
Sep 24, 2008 at 01:11 PM

Check The Job Status

48 Views

Hi SAPsimhas,

My requirement is as below.

I will loop through an internal table and create some files with background processing method.(JOB_OPEN,SUBMIT & JOB_CLOSE)

Now once this job is triggered I need to check the status for that job after maximum 10 mins. Its not neccessary that each job will take 10 mins. only,It can be finished in 2 mins also.

Once the job is finished then I will XCOM that file.

So my question is how to code such timer which will check the job status for that job? I have a FM BP_JOB_READ which returns the job status.

Reply is highly appriciated.