Skip to Content
0
Aug 06, 2010 at 09:06 AM

Wait until background jobs completed

1157 Views

Hi All

I have developed custom program inside and i am calling the standard report in background mode. In program level i need to wait until the background jobs will complete the process. Please confirm how to specify.

In program level i am using

SUBMIT (p_name)

VIA SELECTION-SCREEN

USING SELECTION-SET P_GL_VAR

USING SELECTION-SETS OF PROGRAM c_rfitemgl

TO SAP-SPOOL SPOOL PARAMETERS job_pri_parm

WITHOUT SPOOL DYNPRO

VIA JOB gl_name NUMBER number

AND RETURN.

Any function module available wait until the background jobs completed.

Regards

K.Gunasekar

Edited by: KGUNASEKAR on Aug 6, 2010 11:12 AM