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
Describe data classes? : abap hr
Rp_provide_from_last contains how many parameters ? : abap hr
what next in SAP-ABAP/4 is it going to be change?
Can i Have Some Examples on Enhancements.
What are the uses of interactive reporting?
What are the tcodes for performance tuning?
What is table attribute? : abap data dictionary
Give 3 scenario of reporting due to which you require reporting help of ABAP consultant?
How many default tab strips are there?
hi I am in training of functional module, i am unable to understand what exactly use of IDOC,BAPI,DIM and BIM. As LSMW and BDC methods are used for data conversion from legacy to sap. Might be it is silly question. please explain me
Which transaction code is used executing a report (type 1 program)? : abap data dictionary
What is the Difference between At Line selection and At user-command?
What is sequence number
What happens if a function module runs in an update task?
I need the coding for BDC program to upload Purchase orders of known vendor (ME21) in Material Management