SAP Message BT126 - Failed to lock job &

Diagnosis
To allow the consistent deletion of a job, the relevant objects arelocked using the SAP enqueue mechanism before they are deleted. Thismessage indicates that this lock could not be set correctly.

System Response
Deletion of job &V1& was cancelled. The job was not deleted.

Procedure
Check why the lock failed. In particular, check the following:

  • Generate a list of all the current SAP Systems (using Transaction
  • SM51). If this list cannot be generated, there is a problem with theSAP message server. The lock problem is directly related to this.
    • The job may be locked by another component. This lock can be long or
    • short term. If it is short-term, simply repeating the delete operationmay work. If the lock is long-term, check the lock overview to find outwhich component is locking the job.