‎2019 Dec 23 8:19 AM
Hi
While confirming the TO, in the program it locks the particular TO from LTAK table using FM ENQUEUE_ELLTAKE but then an error appears and the TO is not confirmed.
Issue is TO remains locked.I tried Unlocking the TO after the error appears using FM DEQUEUE_ELLTAKE still it remains locked.
I even tried manually executing the the FM to unlock the TO still not working.
‎2019 Dec 23 8:28 AM
Hi Akash,
After DEQUEUE execution in your program, Can you try executing BAPI_TRANSACTION_COMMIT with wait = 'X' ? I have the feeling that this may fix your issue.
Or put a loop at keep trying ENQUEUE ( don't make it endless loop). Probably there is a delay in releasing the lock.
GK
‎2019 Dec 23 8:28 AM
Hi Akash,
After DEQUEUE execution in your program, Can you try executing BAPI_TRANSACTION_COMMIT with wait = 'X' ? I have the feeling that this may fix your issue.
Or put a loop at keep trying ENQUEUE ( don't make it endless loop). Probably there is a delay in releasing the lock.
GK
‎2019 Dec 23 3:02 PM
Hi Akash, What function module you are using to confirm TO ? If error comes while confirming, please add a check for sy-subrc. If your sy-subrc is not initial, add 'ROLLBACK WORK' . I feel it should take the TO to intial stage.
Thanks, Madhusmita
‎2019 Dec 26 11:33 AM
Hi,
did u check this report RLQCHECK to solve the Inconsistencies?
‎2019 Dec 26 11:52 AM
i mean pls see the parameters for enqueue and dequeue FM in this report and follow the same. You shouldn't face this lock issue in this scenario.