2009 Jan 13 9:53 AM
Moderator message: Please use a more informative subject in future
Hi All,
I have a small doubt.If i make a lock object for a table in write mode.
Then if at any given time one user is writing some content to that table then can other users see the contents of the table, or it only dont allow them to display the table.
Thank in Advance.
Edited by: Matt on Jan 13, 2009 11:56 AM
2009 Jan 13 9:57 AM
That will depend on the scope parameter passed by you during ENQUEUE..
2009 Jan 13 9:57 AM
That will depend on the scope parameter passed by you during ENQUEUE..
2009 Jan 13 10:13 AM
Hello Mayank,
When you create a Lock Object for a table you have to give the Lock Mode. This determines how to the table records are access by several users.
SAP Documentation:
Lock mode
Defines how to synchronize table record access by several users.
The following modes exist:
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.
I think this will help you.
BR,
Suhas
2009 Jan 15 4:04 AM
hi,
Thanks for te reply.
But i am getting the following lock mode during lock creation.
1.WRITE
2.READ
3.EXCLUSIVE NOT CUMULATIVE.
and not :
1.Exclusive lock
2.Shared lock
3.Exclusive but not cumulative lock
Is WRITE lock only is EXCLUSE and also corresponding for the others lock.
Please clarify..
Thanks in Advance.
2009 Jan 13 10:48 AM
Hi,
Go through this link for the details about lock objects.
http://help.sap.com/saphelp_nwpi711/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Regards,
Deepthi.
2009 Jan 13 10:52 AM
2009 Jan 13 10:56 AM
Hi,
check the following link
http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Regards,
Madhu
2009 Jan 13 10:57 AM