on 06-28-2016 8:25 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Thanks,
Manas
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.