Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Performance tuning techniques

1337


How do you find out whether a file exits on the presentation server?

995


On which event we can validate the input fields in module programs?

1106


How do you write transaction programs in sap?

1066


What is the function module to popup contents in the internal table?

1020


I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.

2282


Can i have some Realtime Scenarios on Reports.

2343


What is the max no of match code id’s that can be defined for one match code object?

1164


What is cts and what do you know about it? : abap hr

1218


What are the function modules used in f4 help?

1110


why particularly lock object name starts with EZ OR EY?

2007


What is static attribute

1565


Does the call transaction method allow multiple transactions to be processed by sap? : abap bdc

958


What are the different types joins?

1122


Explain the difference between open_form and close_form?

1009