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

Job with steps

Former Member
0 Likes
844

Hello.

I want to do a Job with 4 steps ( reports ) and I want that the second step don´t start before the first step finish, and the third step don´t should start before second step finishes.

What is the best way to make it??

I don´t have variants for the steps , the date is passed by parameters.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
819

In any job, no step will start until all prior steps complete.

Or are you asking about processing a batch input session?

Rob

Hello.

I want to do a Job with 4 steps ( reports ) and I want that the second step don´t start before the first step finish, and the third step don´t should start before second step finishes.

What is the best way to make it??

I don´t have variants for the steps , the date is passed by parameters.

7 REPLIES 7
Read only

Former Member
0 Likes
819

Hi,

When you define a job you can mention multiple steps and the start condition on when the next step needs to be executed.

Regards,

GN

Read only

0 Likes
819

Where? i don´t have variants.....

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
819

Hello,

A similar situation is handled in our system. At the end of each job you can raise an event (through BP_EVENT_RAISE).

And in SM36 (Create Background Job) you can set the 2nd job to trigger after the "Event" raised by 1st job & so on and so forth.

Hope this helps.

BR,

Suhas

Read only

Former Member
0 Likes
819

thanks Suhas.

I have thinked this option; is a good option.

Another option we have thinked is in the main program wait for the firts job end. there are Function modules that gives the job status and when the first job status is Finished then star the second job.

Thanks.

Read only

Former Member
0 Likes
820

In any job, no step will start until all prior steps complete.

Or are you asking about processing a batch input session?

Rob

Read only

0 Likes
819

Hi Rob.

i have to make the job inside a ABAP program and with the data of the selection parameters of this ABAP program; and I don´t have variants for the steps because the parmeters of this reports are dinamically calculated .

I´mm trying with submit via Job and I'm consulting the jos status of the jos predecesor to run the next Submit job.

thanks

Read only

0 Likes
819

Please check my reply in the following thread