Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Start abap program automatically by starting another abap program

former_member445510
Active Participant
0 Kudos

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.

1 ACCEPTED SOLUTION

former_member302911
Active Participant
0 Kudos

Hi Ouail,

use SUBMIT statement inside first program to call the second program.

Search on forum for examples.

Regards,

Angelo.

6 REPLIES 6

former_member302911
Active Participant
0 Kudos

Hi Ouail,

use SUBMIT statement inside first program to call the second program.

Search on forum for examples.

Regards,

Angelo.

Former Member
0 Kudos

SUBMIT?

0 Kudos

Why ? What's wrong ? 😐

0 Kudos

That was not a response to your post, just an ironic word to the requester.

0 Kudos

Yes you are right, in both cases ... at first sight seemed ... SUBMIT ??? What the hell you say!

Former Member
0 Kudos

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