SAP Knowledge Base Article - Public

3413716 - Error: 'Object currently locked by SAP_SYSTEM (SAP_SYSTEM)'.

Symptom

You are facing the following issue with a lot of unposted source documents: 'Locking object not possible; object locked by SAP_SYSTEM (SAP_SYSTEM)'.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to General Ledger work center.
  2. Go to Source Documents subview. 
  3. Select "Unposted Source Documents". 
  4. Here you will find a lot of documents with the following error message: 

'Locking object not possible; object locked by SAP_SYSTEM (SAP_SYSTEM)'

Cause

One possible reason for this type of issue is that many operations are being performed closely together, and the system does not have enough time to release the locks on the documents (which are in place to prevent conflicting changes being saved in the same document or document flow.)

The Business ByDesign system usually manages to recover from these errors and ensure that all data sent is eventually created and consistent, however, there is a very high number of instances where this error happens. With such a high number of errors, it's impossible for the system to consistently recover from them all, and eventually, you will see cases like this where the document fails to be created.

Resolution

To prevent this issue, it's advisable to increase the time between system calls, in order to give time for all necessary locks to be released and avoid this issue. 

Usually, a background job runs every day and should clear the error messages. However, if the issue still persists, please open a new incident to SAP Support, requesting to unlock these messages from the backend or for further investigation. 

Keywords

General Ledger, Unposted, source documents, Object, locked, SAP_SYSTEM. , KBA , SRD-FIN-GL , General Ledger , How To

Product

SAP Business ByDesign all versions