on 09-28-2009 2:28 PM
Hi Community,
I have schedule a HR background job running periodically every 30 minutes.
The HR admin has requested that the if the job overruns 30min that the next job does not kick off.
Is there a way to prevent multiple instance of that job running concurrently on the system.
Kind Regards,
Chris
Hi,
>Is there a way to prevent multiple instance of that job running concurrently on the system.
Yes, but you will need to write some custom abap code for that. Yo ucan check is the job is already in status "active" or you ca n set an enqueue lock when runnin g the jon and check this lock.
Regards,
Olivier
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Juan,
Not possible as far as i know... periodic jobs can't be set with those conditions as standard
Thanks for the info.
Yes, but you will need to write some custom abap code for that. Yo ucan check is the job is already in status "active" or you ca n set an enqueue lock when runnin g the jon and check this lock.
Olivier, Thanks for the info, I suspected that the program (code) need to take care of locking the resources. Problem is that it is SAP standard code - RPTARQPOST. I am sure that SAP would have catered for scenarios where there is more than one instance of the job running?
Anyway, we have logged a message to SAP, regarding why there are reported duplicate leave transactions in our system and why the job overruns etc. Thanks for all the input.
Kind Regards,
chris
Not possible as far as i know... periodic jobs can't be set with those conditions as standard
Regards
Juan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.