Skip to content
SAP transaction · Basis

SM12: Display and Delete Locks

SM12 displays and deletes SAP lock entries, the logical locks the enqueue server holds so that two users cannot change the same object at once. Deleting a lock that is still in use can let two processes change the same document or master record, so delete access belongs to Basis for genuine emergencies.

Authorization objects checked by SM12

S_TCODE
Checked when the transaction starts: the user must hold the transaction code.
S_ENQUE
Displaying and deleting lock entries.

Checks vary by release and by the functions used. Confirm them in your system with SU24 and an authorization trace (STAUTHTRACE or ST01).

Why SM12 is sensitive

Rinexis risk ratingMedium

Deleting lock entries can break data consistency, for example when two users post against the same document. It also has a legitimate support use, so the control is restricting the delete activity and recording its use rather than removing display access.

SM12 FAQ

What is transaction SM12 in SAP?

SM12 displays and deletes SAP lock entries, the logical locks the enqueue server holds so that two users cannot change the same object at once. Deleting a lock that is still in use can let two processes change the same document or master record, so delete access belongs to Basis for genuine emergencies.

Which authorization objects does SM12 check?

Starting SM12 requires S_TCODE with value SM12. Inside the transaction, the key objects are S_ENQUE. The exact checks depend on the functions used and the release, so confirm them with an authorization trace (STAUTHTRACE or ST01) in your own system.

Is SM12 a sensitive transaction?

Rinexis rates SM12 as medium risk in a production system. Deleting lock entries can break data consistency, for example when two users post against the same document. It also has a legitimate support use, so the control is restricting the delete activity and recording its use rather than removing display access.

All SAP transactions in the library