‎2007 Jun 01 9:46 AM
Hello
I have locked my table TAB1 using enqueue_lockedObject. Now in my code I would like to check if there are any locks on table TAB1. I don't want to use transaction sm12, but I want to know the name of table where information about locks are store.
Greetings
‎2007 Jun 01 10:00 AM
‎2007 Jun 01 9:58 AM
Hi,
ABAP locks are logical, not physical, so if you use an ENQUEUE function to lock a table, table updates do not release the locks. You have to use a DEQUEUE function to release the lock.
And since they are logical, not physical, the database is not enforcing the locks. It's up to individual programs to set, check and release them.
it's not the way ABAP works. The commit does not release the ABAP locks.
There will be physical locks at the database level, but we don't have much control over them.
Regards
‎2007 Jun 01 10:13 AM
Hi all
My problem is not to release the lock that I have made but I want to know the table where is information what locks are active.
I will try FM enqueue_read.
Thanks
‎2007 Jun 01 10:20 AM
Hi,
Try to debug the sm12 transaction.
U may get any hint...
---Patil
‎2007 Jun 01 10:00 AM
‎2007 Jun 04 7:37 AM