ALERT

[FREE DEMO] Deploy Your Enterprise Cloud in Minutes

Lock Object

Definition - What does Lock Object mean?

In SAP, lock objects are used to avoid the inconsistencies that can be caused by data modification or creation with respect to the database. An SAP system gives multiple users simultaneous access to the same database records and synchronizes all of these using the lock objects. The lock mode assigned to the lock object defines the manner of lock. This helps in addressing problems that arise as a result of concurrent access to database tables. One can create locks for an object through transactions SE11 and SE80.

Techopedia explains Lock Object

The lock mechanism provided by SAP comes in three types: Read Lock: Allows other methods/transactions to access the object through a read mechanism but cannot modify the locked areas of the object Write Lock: Protection provided to write access of the object. It does not allow any other method/transaction to read or write the locked features of the object. Enhanced Write Lock: Works almost like the write lock although the difference is that it provides additional protection from further access through the same method/transaction.When a lock object is created in SAP, it automatically creates two function modules. These are: ENQUEUE_name of lock object: This function module is used while inserting an object in the queue DEQUEUE_name of the lock object: This function module is used while removing the object from the queue.

Techopedia Deals

Connect with us

Techopedia on Linkedin
Techopedia on Linkedin
Tweat cdn.techopedia.com
"Techopedia" on Twitter


'@Techopedia'
Sign up for Techopedia's Free Newsletter!

Email Newsletter

Join thousands of others with our weekly newsletter

Resources
The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.