05-13-2014 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.
05-13-2014 4:31 PM
Hi Ouail,
use SUBMIT statement inside first program to call the second program.
Search on forum for examples.
Regards,
Angelo.
05-13-2014 4:31 PM
Hi Ouail,
use SUBMIT statement inside first program to call the second program.
Search on forum for examples.
Regards,
Angelo.
05-13-2014 4:34 PM
05-13-2014 4:35 PM
05-13-2014 5:04 PM
That was not a response to your post, just an ironic word to the requester.
05-13-2014 6:07 PM
Yes you are right, in both cases ... at first sight seemed ... SUBMIT ??? What the hell you say!
05-13-2014 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