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

View Entire Topic
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.