Skip to Content
0
Former Member
Jan 11, 2011 at 09:08 AM

How to submit a program after completion of a background job

76 Views

Hi Experts,

I have a small issue. In my report program i am calling one transaction using call transaction it will trigger a background job. After completion of this background job i need to submit another program, Because the background job updating few values, using this value only the second program functionality will works.

Currently when i execute my report its calling 1st program and triggering the background job. Once the job started again the program triggering the next program. Here after competion of the background job only this program should submit next program. Anyone kindly suggest some clue.

    CALL TRANSACTION 'ZSAPRCK60' USING    zbdcdata
                            OPTIONS  FROM g_s_options
                            MESSAGES INTO msg_tab.

 SUBMIT SAPRCK10    VIA SELECTION-SCREEN
                    WITH kalaid = p-kalaid
                    WITH kaladat = sy-datum
                    WITH PARALLEL = 'X'
                    WITH SERVNUM = '10'
                    WITH backgr = 'X'
                    AND RETURN. 

Mohana