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: 

Validation on Editing the Custom screen

Former Member
0 Kudos

Hi all,

I want to check in my custom screen, If any user edits the data, the other user cannot edit the same record. How can i validate that? Thanks in Advance.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use the locking concept. Lock the data in either E or X mode so that only one user can change it at any given time.

Reward points if the answer is helpful.

Thankx,

Mukul

4 REPLIES 4

Former Member
0 Kudos

Hi,

Use the locking concept. Lock the data in either E or X mode so that only one user can change it at any given time.

Reward points if the answer is helpful.

Thankx,

Mukul

amit_khare
Active Contributor
0 Kudos

use BAPI_ENQUEUE & BAPI_DEQUEUE to lock & unlock the records for avoiding simultaneous editing.

Regards,

Amit

Reward all helpful replies.

0 Kudos

Thanks guys, Can anyone of you share bit detailed.

Former Member
0 Kudos

Oh yes, I got the answer. Thanks guys.