Skip to Content

Abending batch jobs when Data is locked in DP

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 ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 04:04 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.