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 difference between retroactive accounting period, earliest retroactive accounting period? : sap abap hr
SAP query how to use end users?
How do you document abap/4 programs? Do you use program documentation menu option?
What are the functional areas? User groups? and how does ABAP query work in relation to these?
Explain the disadvantages of logical databases?
Difference between domain and data element? What are aggregate object?
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?
Which infotype records can not be deleted ? : abap hr
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.
How can we send data to external programs?
What does the extract statement do in extract datasets?
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?
Reports: Event functionality.
How to read files and process BDC's automatically ?
Why is pretty printer user in abap?