on 11-30-2007 2:45 PM
There are couple of jobs like proportional factor calculations or macro jobs in batch that do not stop or abend when any data is locked say by a dialog user. The log does show that data is locked but finishes successfully. This issue then gets ignored by most people. Is there a way of stopping batch jobs if data is locked at all, like how it happens in say /sapapo/rtsoutput job ? What is the configuration around this ?
Hi Srinivas,
This issue can be tackled by scheduling the first step containing /SAPAPO/TS_LCM_CONS_CHECK within the SAP batch job to run before the other steps (Prop factors, Macro etc.....).
The program /SAPAPO/TS_LCM_CONS_CHECK fails if the user has locked data thus preventing the following steps such as prop fact or macros from running and you will notice that the data is locked by some users.
Hope this helps.
regards,
Srinidhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your reply.
I had tried using the LC Consistency check with the Lock Planning version option as a preceding step to the calculation proportional factor option, but again that preceding step successfully executes with a job log saying the planning version cannot be locked. So the first step goes through successfully without stopping the second step. So when the planning book is in edit mode, and one runs /SAPAPO/TS_LCM_CONS_CHECK in background, the job does NOT fail. Only a log is established.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.