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
What is the meaning of sap r/3?
Write syntax for message error (report)?
What are the different types of locks? : abap data dictionary
Have you processed BDCs ?
foreign key enforcement?
Is there any method apart from bdc for data upload to sap? : abap bdc
how to see the tables of 200 in client 100?
Explain the session method? : abap bdc
How to find Kernal badi ?
What are the basic objects of the data dictionary? : abap data dictionary
What is dialog module?
How can we upload a text file having delimiters in to legacy system? : abap bdc
In delivery processing which step comes first picking, packing, posting goods issue ?
What is the use of enqueue function module? : sap abap data dictionary
Can you set up background processing using call transaction?