Application Development 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: 

Record Lock

Former Member
0 Kudos

Hi all,

I have requirement like this. For one table i have created table maintainance generator. For data maintainance i have created one Transaction code. while one user is using that TCODE to update data for one record if another try to update another record it is not possible the total table is lock untill first user completes updating.

But now my requirement is if one user is updating first record then another user also want access to update second record. That means record lock in table maintainance generator tcode.

Awaiting for reply.

Thanks & Regards,

Swetha.

3 REPLIES 3

Former Member
0 Kudos

it is not possible for multiple users to be in update mode.

Only one user in update mode and others can only be in display mode.

Former Member
0 Kudos

Hi Swetha,

Doesn't sound like a good idea from data consistency point of view, but you can give it a try using the event After locking/unlocking in the main function module by creating a form of your own. But I'm not sure if the current record that is being processed would be visible there or not.

Check this [link|http://help.sap.com/saphelp_47x200/helpdata/en/a1/e45217a2f511d1a5630000e82deaaa/frameset.htm] for details about events.

KR,

Advait

suchita_phulkar
Active Contributor
0 Kudos

HI Sweta,

If your problem is solved then Could you please share how did you accomplish this ?

Thanks & Regards,

Suchita