‎2006 Nov 21 9:00 AM
hi every body,
Please let me know what is procedure for creating the lock objects in data dictionary?
thanks in advance,
regards,
mounika.
‎2006 Nov 21 9:03 AM
hi,
Check
Lock objects are used to set locks on database tables. Usually the lock is applied using the key of the database table. This insures that only one user can change a specific record in a database table at one time. You create the lock object in SE11, once defined, there will be two function modules created, an ENQUEUE function module and a DEQUEUE function module. The naming convention is ENQUEUE_E<name of lock object>, DEQUEUE is the same, but replace ENQUEUE with DEQUEUE.
regards,
santosh
‎2006 Nov 21 9:04 AM
Hi mounika,
chk this link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ea31446011d189700000e8322d00/frameset.htm
regards,
keerthi
‎2006 Nov 21 9:06 AM
create a lock object in SE11 with name starts with 'E' eg: ez_lock.
Then give table name and lock mode(exclusive,etc..)..then save and activate..
In the 'GOTO' menu, u can find both Enque and Deque module names...
In the program(SE38), call this function module using pattern to lock /ulock the table records..