Can you create a Lock Object? What are Lock Objects?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / nageswara reddy s
the purpose of the lock object is to prevent two transaction
changing the same data at the same time that is for the lock
object.
there are three types
1 exclive lock
2 shared lock
3 ecclive but not cumulative
Is This Answer Correct ? | 6 Yes | 13 No |
how will you go for row level locking of a z table
2 Answers HP, IIIT, KPIT, Rajiv Gandhi University of Knowledge Technologies RGUKT,
what is direct input method?
How do you get the number of lines in an internal table? How to use a specific number occurs statement?
What are the data types of the abap/4 layer? : abap data dictionary
how u transport a abap program from 4.7 version to 5.0 version?
What is a matchcode?
What is screen flow logic? What are the sections in it?
how to prepare technical specs? what are the steps used to prepare it?
Do we create table fields with out data elements and domains?
How can you see the errors displayed in IDOC?
CAN ANY BODY TELL ME IN A COMPANY HOW BAPI WORK WILL GOES? WHO WILL TELL WHICH BAPI WILL SET FOR THE PRESENT REQUIRENT?
What is the significance of at line-selection event?