Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

creating lock objects in data dictionary

Former Member
0 Likes
813

hi every body,

Please let me know what is procedure for creating the lock objects in data dictionary?

thanks in advance,

regards,

mounika.

3 REPLIES 3
Read only

Former Member
0 Likes
719

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

Read only

Former Member
Read only

Former Member
0 Likes
719

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..