Can you create a Lock Object? What are Lock Objects?

Answer Posted / lokesh

Lock object is a virtual link of several SAP tables which
is used to synchronize simultaneous access by two users to
the same set of data (SAP lock concept).
[or]
when two users simultaneously attempt to access the
same data record, this is cynchronised by a lock mechanism.


To set the locks,

you must define a lock object in ABAP dictionary. The name
of lock object should start with 'E'.
Thd Fun Modules for requesting and releasing lock which are
create automatically when the lock object is activated must
be linked to the programming of the relevant online
transactions.

They are 3 types:

1) write (exclusive lock)
2) read ( shared lock )
3) exclusive but not cummulative

Function modules :
1)ENQUEUE_FSFLIGHT (to lock the object)
2)DEQUEUE_FSFLIGHT (to unlock the object)

Is This Answer Correct ?    29 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between retroactive accounting period, earliest retroactive accounting period? : sap abap hr

541


SAP query how to use end users?

1687


How do you document abap/4 programs? Do you use program documentation menu option?

690


What are the functional areas? User groups? and how does ABAP query work in relation to these?

702


Explain the disadvantages of logical databases?

539






Difference between domain and data element? What are aggregate object?

597


pls if any one have idea ,reply as soon as possible 1.Allied solution group inc. is a genuine company or not ? 2.what is update module. 3.Transaction: scc3 what it is?

1509


Which infotype records can not be deleted ? : abap hr

597


Hi All , Would be providing online trainings for SAP ABAP , guidance with real time experience examples , guidance in profile prepartion . Any one intrested please contact on 8978890047.

1965


How can we send data to external programs?

609


What does the extract statement do in extract datasets?

637


In selection screen I have three fields, plant mat no and material group. If I input plant how do I get the mat no and material group based on plant dynamically?

681


Reports: Event functionality.

877


How to read files and process BDC's automatically ?

1531


Why is pretty printer user in abap?

630