2007 Mar 15 9:53 AM
could u please tell me if we write a enqueue function before or after a lock?
could u please tell me if we write a enqueue function before or after a lock?
2007 Mar 15 10:50 AM
hi,
Enqueue is used to lock the object so it is used before locking. like ENQUEUE_EKBLK FM is for Request lock for object EKBLK
To release the lock use dequeue.
Regards,
Richa
2007 Mar 15 10:53 AM
Hi Nisha,
For each ock object that exist in the database, there will be two function modules that get generated (One enque<your lockobject name> and one deque*<your lockobject name>).
You proceed in this sequence.
call function 'ENQUE....
*Do your update/modify/insert/delete on database tables
call function 'DEQUE...
Regards,
Ravi
2007 Mar 15 1:59 PM
Enqueue is the function through which u can lock a object ..
Through Deueue function u can unlock a object ....
2007 Mar 15 2:40 PM
Hi,
We will use Enqueue and Dequeue FM's to lock the table and unlock the table .
FM's :
ENQUEUE_E_TABLE - use before updating the data to a table
DEQUEUE_E_TABLE - use after updating the data to a table
Regards
L Appana
2007 Mar 15 7:49 PM
Hi Nisha,
Enqueue first then Dequeue.
Thanks
Janani
award points if helpful
2007 Mar 16 4:02 AM
actually the problem is i got a caswe in which the whole table was getting locked and not a particular record so what may be the reason.i also included the key fields inside the lock.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |