Application Development and Automation 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: 
Read only

Start abap program automatically by starting another abap program

former_member445510
Active Participant
0 Likes
975

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
Read only

former_member302911
Active Participant
0 Likes
883

Hi Ouail,

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

Search on forum for examples.

Regards,

Angelo.

6 REPLIES 6
Read only

former_member302911
Active Participant
0 Likes
884

Hi Ouail,

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

Search on forum for examples.

Regards,

Angelo.

Read only

Former Member
0 Likes
883

SUBMIT?

Read only

0 Likes
883

Why ? What's wrong ? 😐

Read only

0 Likes
883

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

Read only

0 Likes
883

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

Read only

Former Member
0 Likes
883

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