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
Differentiate database index and match code.
what are the important fields while preparing sales order,inquiry?
Explain the advantages of different types of bdc's?
Can we handle two transaction codes in the same program using call transaction bdc input method? : abap bdc
What are the field and chain statements?
What is get cursor field?
What are the buffering types?
How do you document ABAP programs? Do you use program documentation menu option?
Explain how to write a bdc - how do you go about it?
what comes in Timkein written test I hope some body can tell me at this id plz tell it before 9 pm 19 march
What is meant by write lock? : sap abap data dictionary
What is meant by authorization? Did you ever work on it? : sap abap hr
Why bapi need then bdc ? : abap bdc
Explain how to Handle the internal tables in ABAP?
when does a list get sent to the screen on the presentation layer?