2008 Oct 29 5:00 PM
Hi,
I have a requirement wherein when a table is locked, i am not able to allow multiple users to access the same record for modification. This works fine. But I want to display the appropriate info like 'user XXX s currently editing this record", similar to how we get messages when we try to edit a sales order etc.
How to retrieve the info that which user is currently editing that record ?
thks
2008 Oct 29 5:42 PM
May be you can call this fm
call function 'ENQUEUE_READ'
exporting
gclient = sy-mandt
gname = w_gname
garg = w_garg
guname = w_guname
tables
enq = i_seqg3temp.
return table have all the info.
a®
Hi,
I have a requirement wherein when a table is locked, i am not able to allow multiple users to access the same record for modification. This works fine. But I want to display the appropriate info like 'user XXX s currently editing this record", similar to how we get messages when we try to edit a sales order etc.
How to retrieve the info that which user is currently editing that record ?
thks
2008 Oct 29 5:02 PM
Hi,
The enqueue function module returns the user name in the system field sy-msgv1.
Regards,
Darren
2008 Oct 29 5:42 PM
May be you can call this fm
call function 'ENQUEUE_READ'
exporting
gclient = sy-mandt
gname = w_gname
garg = w_garg
guname = w_guname
tables
enq = i_seqg3temp.
return table have all the info.
a®