cancel
Showing results for 
Search instead for 
Did you mean: 

Sheduling Jobs in Steps...

Former Member
0 Kudos

Hi,

As we dont have provition to Sheduling the preceding job as periodic, see :[Sheduling Jobs Daily... |;.We decided to create a single job with steps

Say : Job 1

Step 1 : Job 2

Step 2 : Job 3

My question is , what would happen to job 3 incase Job 2 fails?!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

If the second job fails, the 3rd job will also fail without running (Duration: 0 sec). This is because, the status of the 3rd job is dependant on that of the 2nd job. You can check the same in SM37 with the following selection criteria ONLY:

Job Name: *

User Name: <whatever>

Job Status: Canceled

Job Start Condition: <all blank>

Check out the Job Log. It'll tell you the same.

Hope this helps.

Former Member
0 Kudos

Oops!

Almost forgot to mention: Do a Descending order sort on the Job start date as the above selection criteria will show you all cancelled jobs for the last month!!!

Cheers

Former Member
0 Kudos
Former Member
0 Kudos

Hi Vignesh,

Do you mean to say scheduling the follow up jobs as steps?

When you will be creating job1 there you can give the abap programs as steps.

SM36->JOB1->STEP

Give abap program of the job1 save this,then again add another step with abap program of job2 and so on.

Here if step 2 fails the job will stop there with out executing the next step.

Hope it will help.

Regards

Ashok