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

Lock mode

Former Member
0 Likes
603

Hi all

when i locked a table with mode 'S', another user attemp for mode 'E'.

and my mode 'S' was cancelled.

Kindly explain what has actually happened ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
550

Hi

If a data record is locked in Mode 'S' and no further read locks are set by other users,

a lock attemp in Mode 'E' is possible.This generates a second entry in the lock table.

This is what has happened in your case.

3 REPLIES 3
Read only

Former Member
0 Likes
550

S : Shared lock

E: Exclusive lock .

The issue reported should not happen because an exclusive lock set on an object that already has a shared lock will be rejected.

Hence , there are chances that your S lock is released and then new lock in E mode happens.

Check this link

http://help.sap.com/saphelp_nw70/helpdata/en/12/038337fb02735ce10000009b38f8cf/frameset.htm

Edited by: Harsh Bhalla on Dec 20, 2009 7:53 PM

Read only

Former Member
0 Likes
551

Hi

If a data record is locked in Mode 'S' and no further read locks are set by other users,

a lock attemp in Mode 'E' is possible.This generates a second entry in the lock table.

This is what has happened in your case.

Read only

matt
Active Contributor
0 Likes
550

Hi Vicky, Subin.

Your behaviour has been noticed. Bye bye.

matt