‎2006 Oct 06 4:07 PM
Hello all, I am writing a HR BSP application for updating benefits online. I use HR_BEN_ENQUEUE_PERSONAL_NUMBER
to enqueue (lock) the resource. Because of certain issues I wa having, sometimes I would enqueue several times. And if it was already locked, no problem just go on processing. But when I treid to dequeue using HR_BEN_DEQUEUE_PERSONAL_NUMBER, it was not working. As long as I only enque once, everything is fine but if enqueue more than once the dequeue is not working.
Has anyone seen this or have any suggestions.
Thanks in advance, Troy
‎2006 Oct 06 4:10 PM
‎2006 Oct 06 4:10 PM
‎2006 Oct 06 4:12 PM
Whenever u r using the Enqueue for the second time. Dequeue the first one and use the Enqueue.
Prakash.
‎2006 Oct 06 4:16 PM
HI,
A lock remains set until you either call the corresponding DEQUEUE function module, or close the transaction with an implicit <b>DEQUEUE_ALL.</b>
Saved locks inherited by the update task are loaded back into the lock table when the system is started up
Regards
Sudheer