cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Enqueue locking/unlocking

Former Member
0 Likes
1,640

We are an SAP education/training facility associated with the SAP University Alliance. With previous versions of SAP 4.6, 4.7 there were built-in programs called ZSENQOFF and ZSENQON for turning off the Enqueue locking mechanism and turning it back on. This was necessary so multiple students could do company code customizations at the same time. These programs, although they exist in the ECC 6.0 version, no longer function. Could somebody provide me with programs which will work in the ECC 6.0 version.

We are running Windows/Oracle environment.

Thank you

H. Timothy Knickerbocker

Manager SAP Systems

College of Business Administration

Central Michigan University

View Entire Topic
Former Member
0 Likes

hi,

goto se11 and create a lock object(say zylock) on your table .

u can create shared / exclusive dependng on ur requirement.

once u hav created the lock object u can use

enqueue_zylock (enqueue_ lockobject name) to lock the data & dequeue_zylock to release the lock from ur abap code

Here is the example for locking/unlocking database tables

http://help.sap.com/saphelp_46c/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/frameset.htm

regards

ajai