SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

List Locks in SAP system using SM12 Transaction Code

SM12 SAP transaction is used to list lock entries in a SAP system and to find who is locking the data by enabling filtering on all system locks

Especially when an SAP user calls a transaction in change mode, sometimes a message indicating that the record is currently being processed is displayed. This message clearly gives the hint of a locking situation in the SAP system. Another user can be working on the same data and preventing others to access to the same data in edit mode (change mode).

In such cases, SAP users can call SM12 Select Lock Entries tcode for displaying the list locks filtered by given parameters. This ABAP tutorial will show how to use SM12 briefly.

Call ABAP transaction SM12 "Select Lock Entries" SAP transaction.
When SAP screen is displayed, provide data that will help you to filter among all locks in the system.
For example, you can enter VBRK in table name filter field for billing document related locks in the SAP system. Or for sales documents VBAK table can be used.

display lock entries in SAP system using SM12 transaction code

Press List button of F8 to execute the ABAP report which will display a list of locks existing on the selected SAP system client.

list of lock entries in SAP system

The user name column will give the user information who is causing the lock of who is keeping the data in change mode preventing others to change the data.


Install SAP Free
CRM Companies List
Web Based CRM Software

Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.