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

Multiple users to Table maintenance generator

Former Member
0 Likes
919

Hi Experts,

I want to have table maintenance generator, in which multiple user can update table at a time. How can I remove the table lock. Is there any place in SAP, where all the table lock will be. Is it possible to remove the lock by program.

Thanks in advance,

Venkat

6 REPLIES 6
Read only

Former Member
0 Likes
726

Hai,

using Enqueue/Dequeue function modules.

Dequeue_xxx function module.

xxx is lock object name. goto sm12 and double click on the table name . You will get the lock object name.

Regards,

Venkat

Read only

Former Member
0 Likes
726

Hai,

using Enqueue/Dequeue function modules.

Dequeue_xxx function module.

xxx is lock object name. goto sm12 and double click on the table name . You will get the lock object name.

Regards,

Venkat

Read only

former_member404244
Active Contributor
0 Likes
726

Hi venkat,

This is not suggestable as if two persons accessing same table and same record then there will be problem . for example i have updated a value '1' and the other perosn updated as '2'. I will be expecting '1' to be there but if i see '2' then my data is lost and it is having some other data. Hope you got my point

Regards,

Nagaraj

Read only

Former Member
0 Likes
726

This message was moderated.

Read only

Former Member
0 Likes
726

This message was moderated.

Read only

Former Member
0 Likes
726

Hi Venkat,

You need to first unlock table level entry, and lock it at row level.

Incase your requirement is to allow write access to only authorised users, then you need to check for authorization at table maintenance events (before displaying and saving ).

Check this link:

http://www. saptechnical. com/Tutorials/ABAP/Lock/Page1.htm

Let me know if you face any issues.

Regards,

Nisha Vengal.