Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Lock Objects


Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.

SAP Provide three type of Lock objects.
·      Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not Write access to the locked area of the table

·      Write Lock(exclusive lock)
protects Write Access to an object. The Write Lock allows other transactions neither read nor write access to the locked area of the table.

·      Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the same transaction.

 

When you create a lock object System automatically creat two function module.
1. ENQUEUE_. to insert the object in a queue.
2. DEQUEUE_. To remove the object is being queued through above FM.

  

 


This post first appeared on The World Of SAP, please read the originial post: here

Share the post

Lock Objects

×

Subscribe to The World Of Sap

Get updates delivered right to your inbox!

Thank you for your subscription

×