cancel
Showing results for 
Search instead for 
Did you mean: 

SM37 Job scheduling for same jobs

former_member275658
Contributor
0 Kudos

Hi Experts,

Is there anyway to automated process in SM37/SM36 to stop the periodic jobs if they are cancelled in the last run?. Basically, our interface job runs every hour and in a scenario if the job fails then next run should not start.

Regards,

Salman

Accepted Solutions (1)

Accepted Solutions (1)

ImtiazKaredia
Active Contributor
0 Kudos

Hi,

There is no standard way.

However you can achieve same by creating the Jobs as event driven periodic jobs.

In addition, you will need to write a Z program which will trigger the event based on status of last job. This program will need to run as a separate job as well.

Thanks

Imtiaz

former_member275658
Contributor
0 Kudos

thanks Imtiaz for the valuable suggestion!

Is this scenario possible by using CPS scheduler or Job Scheduling Management of Solman?

Former Member
0 Kudos

Hi Salman,

You can achieve this using the Job Scheduling tool like Redwood (CPS), Solution Manager e.t.c.

The start time and period can be controlled by the submit frame. In case the job fails the default behavior normally is that it goes out of schedule.

You can manage this as per your scenario.

Below document can be helpful to start with:

https://support.sap.com/content/dam/library/SAP%20Support%20Portal/support-programs-services/solutio...

Thanks,

Manas

ImtiazKaredia
Active Contributor
0 Kudos

Yes Redwood CPS does support your scenario.

Answers (2)

Answers (2)

former_member275658
Contributor
0 Kudos

thanks guys!

Talking about Z program option, do we need to create an event and call that event in the Z program. I am looking for steps to provide function specs to the tech dev team.

Any help will be appreciated!!

Regards,

Salman

former_member185488
Participant
0 Kudos

Hi Salman,

We have come across few scenarios like this where our ABAP team created Z Program which will start the next job once the same job is completed.

In your case, you can do by creating a Z program.

Regards,

Jegan Raj