2009 Mar 26 4:58 PM
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.
2009 Mar 26 5:13 PM
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.
2009 Mar 26 5:00 PM
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
2009 Mar 26 5:02 PM
2009 Mar 26 5:06 PM
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
2009 Mar 26 5:14 PM
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.
2009 Mar 26 5:13 PM
In any job, no step will start until all prior steps complete.
Or are you asking about processing a batch input session?
Rob
2009 Mar 26 5:17 PM
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
2009 Mar 26 5:29 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |