Ads

What are Lock Objects in SAP ABAP

What are Lock Objects in SAP ABAP

Lock objects are nothing but  function modules ,are working by lock requests .function modules are released by lock requests .Why we are using lock objects which provides us simultaneous access for multiple users to the same data records by the lock mechanism to prevent any congestion between interactive transactions.

The function modules are created automatically when we are defining the lock objects in the system.
We are creating the lock objects for table records which must be locked with a lock request and the key fields of these tables ,here we are using primary and secondary tables to create lock objects ,using foreign key relationship.

for example take the 3 tables which are tab1,tab2 and tab3

here Tab1 is the primary table.

TAB2 and Tab2 are secondary tables

lock arguments are nothing but key fields of primary and secondary tables .Lock arguments release and call the function modules .  



Comments

Popular posts from this blog

BADI Interview Questions in SAP ABAP

Sample SAP ABAP Programming Examples for Practice

Module Pool Programming Interview Questions and Answers in SAP ABAP

Step by Step tutorial on BDC Session Method Program in SAP ABAP

SAP ABAP Interview Questions and Answers for 10 Years Experienced