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
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
Any function module available wait until the background jobs completed.
Edited by: KGUNASEKAR on Aug 6, 2010 11:12 AM