2014 May 13 4:17 PM
Hello Every body,
Can some give me idea how to start a ABAP program automatically from another ABAP program?
I don't want to use the SAP JOB's .
The first abap program start automatically by using job, but the second abap program must be started without using SAP job.
any idea?
Thank u.
Ouail.
2014 May 13 4:31 PM
Hi Ouail,
use SUBMIT statement inside first program to call the second program.
Search on forum for examples.
Regards,
Angelo.
2014 May 13 4:31 PM
Hi Ouail,
use SUBMIT statement inside first program to call the second program.
Search on forum for examples.
Regards,
Angelo.
2014 May 13 4:34 PM
2014 May 13 4:35 PM
2014 May 13 5:04 PM
That was not a response to your post, just an ironic word to the requester.
2014 May 13 6:07 PM
Yes you are right, in both cases ... at first sight seemed ... SUBMIT ??? What the hell you say!
2014 May 13 6:18 PM
Ouail,
Since you do not want to kick of a new job for the second program, you can:
1. Create a variant for the 2nd program and add that as the second step for the job you create for the first program. This way, you second program will get kicked off automatically without the necessity for any code changes.
2. Edit program A to call program B using a submit statement at the end of program A.
3. You can use events to trigger program B from program A.
Thanks,
Vikram.M