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

Problem in removing table level lock

Former Member
0 Likes
405

We have a requirement where in multiple users should be allowed to maintain the table at the same time. We have created a program which removes the table level lock and applies row level lock and allows the users to change the entries at the same time, which is working fine. But the problem is that when the first user opens the first screen and click on the new entries , then the subsequent screens are blocked(all the table entries in the subsequent screens are blocked ) .

Can any one help me to overcome this problem .

Thanks a lot .

NJ

2 REPLIES 2
Read only

Clemenss
Active Contributor
0 Likes
374

Hi nusratjahan,

this is a programming error.

Probably you don't pass correct lock parameters when creating new entries. Only when saving a new entry, you should first try to create the lock. f the record ist locked, someone else already created it.

You may consider the [optimistic lock concept |http://help.sap.com/saphelp_nw04/helpdata/en/50/eff4bb41124f4783ac34ab5c6a3588/frameset.htm].

Regards,

Clemens

Read only

Former Member
0 Likes
374

Hi Clemens ,

Thanks alot for the reply .

I have used Exclesive lock (E) in SAP 4.6c version , Should I have to use Optimistic lock in the Enqueue function call ?

If yes then could you please tell me which lock i have to pass in Enqueue function as in SAP 4.6c only S , E and X lock modes

available . Which lock out of these will work as optimistic lock ?

Thanks a lot .

NJ