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 shared lock

Former Member
0 Likes
1,522

Hi,

Can any please tell me how create a shared lock in steps.

Thanks in advance

Priya

10 REPLIES 10
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,269

Look at documentation first [SAP Lock Concept|http://help.sap.com/erp2005_ehp_03/helpdata/EN/7b/f9813712f7434be10000009b38f8cf/frameset.htm]

Regards

Read only

Former Member
0 Likes
1,269

Hi,

Chk the following link for example for SAP locking:

http://help.sap.com/saphelp_webas630/helpdata/en/41/7af4c8a79e11d1950f0000e82de14a/content.htm

Regards,

Saba

Read only

Former Member
0 Likes
1,269

Hi Swati,

Many threads are present for the same query, unnecessarily why you want your thread to be locked.

Anyhow i am giving the steps follow them.

SE11->lock object->EZTABLE->SHORT DES->click on tables tab->give table name for which you want to create lock->click on dropdown button and select the type of lock that you want ->save->check and activate.

Cheers!!

VEnk@

Edited by: Venkat Reddy on Nov 3, 2008 2:54 PM

Read only

0 Likes
1,269

How should this implement for a table

Read only

0 Likes
1,269

Hi,

If you have created lock for your table then you have implemented what more your want, if you want to test the lock try to access the entries from the table and check.

Anyways follow the below link can help you to understand still better.

Cheers!!

VEnk@

Read only

0 Likes
1,269

hello swati,

Once lock has been created that means it has been implemented. No need to implement it again. If you want to test GOTO SM12 and check, it will chow you locked.

Read only

0 Likes
1,269

i have created 4 different table views for a single table and i also created a lock object with a shared lock option in SE11 now all i need is if the 4 different user should edit the single table at a time.

Thanks in advance

Priya

Edited by: swathi4 m on Nov 4, 2008 4:56 AM

Read only

0 Likes
1,269

Hi Swati,

This may not be possible, because you have created shared lock for the four different views but the table is one.

So when one is editing then definitely if the other try to access the same entries then the object will be locked.

First understand how and which lock can do which type of action.

For your assistance read this and try to find the answer.

Exclusive lock

The locked data can be read or processed by one user only. A request for another exclusive lock or for a shared lock is rejected.

Shared lock

Several users can read the same data at the same time, but as soon as a user edits the data, a second user can no longer access this data. Requests for further shared locks are accepted, even if they are issued by different users, but exclusive locks are rejected.

Exclusive but not cumulative lock

Exclusive locks can be requested by the same transaction more than once and handled successively, but an exclusive but not cumulative lock can only be requested once by a given transaction. All other lock requests are rejected.

Cheers!!

VEnk@

Read only

0 Likes
1,269

Hi swati,

Have u got the solution.

If yes please let me know how u did that.

Thans,

Ramesh

Read only

0 Likes
1,269

Solved.