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 Object doubt

Former Member
0 Likes
414

Hi Gurus!!

I have created a lock object to a z-table. The lock mode is E.

After this:

call function 'ENQUEUE_EZTABLA'

exporting

mode_ztabla = 'E'

client = sy-mandt

key1 = 'HOLA'

key2 = 'ADIOS'

x_key1 = ' '

x_key2 = ' '

_scope = '2'

_wait = 'E'

_collect = ' '

exceptions

foreign_lock = 1

system_failure = 2

others = 3.

I can see the entrie on the table with key1 = 'HOLA and key2 = 'ADIOS' on SE16 transaction with 2 differents users, moreover I have locked with USER1 and I have modified the table with user 2.

Is normal this?

Helpful answers will be rewarded,

Manuel.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
395

Are you modifying the table at the same time with user1 and user2.

If it not at the same time then it should not be a problem.

2 REPLIES 2
Read only

Former Member
0 Likes
396

Are you modifying the table at the same time with user1 and user2.

If it not at the same time then it should not be a problem.

Read only

0 Likes
395

Hi Chandrasekhar,

I know what you say, I have just modified with the user2.

I have tried to open the maintenance dialog of ztable on sm30 with user2 and modify on the report where I call function ENQUEUE, and I can modify without problems. (I hope I explain the situation correctly).

Do you know another way to test this?

Thanks and regards,

Manuel.