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

Regarding lock objects

Former Member
0 Likes
1,081

Hi,

How can we know that lock objects has been created for table or particular records..

Naveen M.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
978

goto SE11, place your cursor in the input field for lock objects.

press F4.

in the upcoming popup in the lower part (where the buttons are) there is a button with a "+" like the Expand buttons everywhere.

press it.

in the new opened field base table, give your table of which you want to know a lock object exists anjd hit F8.

8 REPLIES 8
Read only

Former Member
0 Likes
979

goto SE11, place your cursor in the input field for lock objects.

press F4.

in the upcoming popup in the lower part (where the buttons are) there is a button with a "+" like the Expand buttons everywhere.

press it.

in the new opened field base table, give your table of which you want to know a lock object exists anjd hit F8.

Read only

Former Member
0 Likes
978

Hi,

check in TCODE: SM12

hope u'll get some help.

Regards,

Sneha.

Read only

Former Member
0 Likes
978

Hello Naveen,

when u execute some transaction(standard sap tcodes) with a particular record in change mode, system automatically locks that.

and u can see that in sm12.

now any other user cant change the same record unless the first user comes out of the transaction.

Regards

Sajid

Read only

Peranandam
Contributor
0 Likes
978

for creating lock object following naming standard has been followed in most of the organization.

first letter Z OR Y

second letter is E

from three to is table name.

press f4 on lock object and put your table name in the lock object name .

ex. i am going to search lock object belongs to the mara table

lock object name mara -


> execute search help

you will be get following lock object for the mara table.

E_PDTC_MARA

EMMARAE

EMMARAS

Read only

Former Member
0 Likes
978

Hi Naveen Kumar,

Lock Objects usually begin with the letter 'E' -


> For Eg. EZLOCK

When a lock is created or released it does with the help of some function module.

Usually when the Lock object is created, a Funtion Module is automatically created which starts with ENQUEUE

when the Lock object is realeased, a Funtion Module is created which starts with DEQUEUE.

For eg. Create a lock object EZLOCK on some ZJK_EKKO table.

Once its activated, go to se37 and check for function module ENQUEUE_EZLOCK.

Once v delete this lock object the function module ENQUEUE_EZLOCK is also deleted .

To Go se84-->ABAP Dictionary > Lock Objects> Give the lock object name.

usually the lock object wil have the table name in it.

So if its MARA Table , Search MARA in Lock object name and it ll list out the

Lock objects and its tables.

Edited by: Jk on Jul 7, 2009 8:43 AM

Read only

Former Member
0 Likes
978

Hi,

When a lock object is created or deleted a function module ll be created.Check out this link.

http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eebf446011d189700000e8322d00/frameset.htm.

Read only

0 Likes
978

Hi,

Goto SE11->Place the cursor in Lock Object field->press F4->Input help Personal value List window will appear->Select SAP Applications->Component View:Lock Objects window will come,from here you can see list lock objects.

Thx and Regards,

Veera.

Read only

gaurab_banerji
Active Participant
0 Likes
978

This message was moderated.