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

How to create a Lock object ?

Former Member
0 Likes
566

Hi ,

Iam very new to new to lockobjects . Can any one guide me to create lockobjects , naming standrs etc?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
520

Hi

Please check these links

<b>http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm</b>

https://forums.sdn.sap.com/click.jspa?searchID=115258&messageID=2656474

Hi ,

Iam very new to new to lockobjects . Can any one guide me to create lockobjects , naming standrs etc?

3 REPLIES 3
Read only

Former Member
0 Likes
521

Hi

Please check these links

<b>http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm</b>

https://forums.sdn.sap.com/click.jspa?searchID=115258&messageID=2656474

Read only

Former Member
0 Likes
520

Hi,

Do the following steps..

GO TO SE11

Select the radio button "Lock object"..

Give the name starts with EZ or EY..

<b>Example: EYTEST</b>

Press Create button..

Give the short description..

<b>Example: Lock object for table ZTABLE..</b>

In the tables tab..Give the table name..

<b>Example: ZTABLE</b>

Save and generate..

Your lock object is now created..You can see the LOCK MODULES..

In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function modules to lock and unlock the records..

Thanks,

Naren

Read only

Former Member
0 Likes
520

Hi Priya

It depends what object you want to lock

for instance you can lock orders using

CO_ZF_ORDER_LOCK_MULTI

Try to search in SE37 you will get a lot of functions for the same.

Some more information is here.

http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/198c37bf76454aa4058d8af3d806ab/frameset.htm

You can view all locked entries using the Tcode SM12 or using the FM ENQUE_READ.

Regards

Kathirvel