2005 Dec 02 6:46 AM
Hi,
i need to design a program PROGRAM 1 which schedules PROGRAM 2 and PROGRAM 3 in back ground and waits for the completion of 2 and 3.
A). how to schedule program 2 and program 3 in background from PROGRAM 1
B). how to achieve communication between PROGRAM 1 and
PROGRAM 2 ....and... PROGRAM 1 and PROGRAM 3.
How to pass internal tables and variables ( to and fro) between those programs .
Your help would be appreciated.
Thanks,
Kranthi.
2005 Dec 02 7:00 AM
Hi,
i need to design a program PROGRAM 1 which schedules PROGRAM 2 and PROGRAM 3 in back ground and waits for the completion of 2 and 3.
A). how to schedule program 2 and program 3 in background from PROGRAM 1
B). how to achieve communication between PROGRAM 1 and
PROGRAM 2 ....and... PROGRAM 1 and PROGRAM 3.
How to pass internal tables and variables ( to and fro) between those programs .
Your help would be appreciated.
Thanks,
Kranthi.
2005 Dec 02 6:56 AM
Hi Using JOB_OPEN,JOB_START,JOB_CLOSE
you can achieve...
using sy-subrc you can find the info of completion...
regards
vijay
please reward for helpful answers..
2005 Dec 02 7:00 AM
2005 Dec 02 7:00 AM
In pgm1 write the below code for passing the internal table to pgm2
EXPORT i_department TO MEMORY ID 'ZZ_MEM_ID'.
submit pgm2 AND RETURN.
In pgm2 write the below code to get the internal table
import i_department from MEMORY ID 'ZZ_MEM_ID'.
Message was edited by: Kanthimathi Krishnan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |