2006 Oct 10 3:36 PM
Hi friends,
I would like to know, does it give any message when we do the enque and deque when other user the try to update it manually?
Kindly let me know.
Thank,
Veeru
2006 Oct 10 3:52 PM
I have picked this frm help...you can find out the user who has locked...
<b>Exceptions of the ENQUEUE Function Module
FOREIGN_LOCK: A competing lock already exists. You can find out the name of the user holding the lock by looking at system variable SY-MSGV1.</b>
Prashant
Hi friends,
I would like to know, does it give any message when we do the enque and deque when other user the try to update it manually?
Kindly let me know.
Thank,
Veeru
2006 Oct 10 3:40 PM
Hi,
yes it will give the message like 'This is locked by <User anme>'
Regards
Sudheer
2006 Oct 10 3:43 PM
hi,
How the message comes into picture, when other user tried to change the sme record.
Like how to trigger this message.
Thanks,
Veeru
2006 Oct 10 3:48 PM
Hi,
There are associate function modules ENQUEUE/DEQUEUE.
This is get called when you are changing the rescord.
So when second person try to change the same record in the same table, it again tries to call the same function module.
Then the function module throws the exception 'Object already locked'.
Thanks,
Ramakrishna
2006 Oct 10 3:41 PM
'No if the user is entering the values using SM30 and the table is locked it does not give a message.'
I have given the wrong response.I had used a lock object for the same table and then tried to use SM30 and it worked.
But if you normally lock the table , you will get a message in SM30
Message was edited by: Dominic Pappaly
2006 Oct 10 3:44 PM
while maintaining also i guess it will give the error that so and so table is locked by user
2006 Oct 10 3:52 PM
I have picked this frm help...you can find out the user who has locked...
<b>Exceptions of the ENQUEUE Function Module
FOREIGN_LOCK: A competing lock already exists. You can find out the name of the user holding the lock by looking at system variable SY-MSGV1.</b>
Prashant
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |