Lock Concept

SAP manages locks by using lock objects in ABAP programs. Lock objects are defined for the database objects in the data dictionary, and this creates two function modules. One is for locking the database object while a SAP transaction is being executed, and the second one is for unlocking a database object when the transaction is complete. Also, each SAP transaction or LUW may have many database locks. Database locks are usually held for a much shorter time compared to the application transaction locks. Transaction code SM12 is used to monitor and manage application locks.

Lock Modes

The four types of lock modes are described in Table 14-4.

TABLE 14-4 Types of Lock Modes in SAP Systems

Lock Table Profile Parameters (Regular Install ...

Get SAP Basis Administration Handbook, NetWeaver Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.