‎2008 Jul 17 9:27 AM
Hi Experts,
1) How to know the lock objects function modules are properly working or not?
2) How to use these FM in ABAP programs?
3) I opened one application. SAP is set locks on these object. I observed the lock object on that application is EUPC_LOCK. can i release the locks on that application by calling FM 'DENUEUE_EUPC_LOCK'. If no, How to release the locks explicitly set by SAP on that application?
Please Guide me..
It is very Urgent.
‎2008 Jul 17 9:33 AM
‎2008 Jul 17 9:42 AM
Hi,
To explicitly release a lock, you use the UNLOCK statement.
http://maxdb.sap.com/doc/7_7/45/569c4db69f09cce10000000a114a6b/content.htm
Regards,
Sowmya
‎2008 Jul 17 10:12 AM
Hi,
For an example if you want to lock VBAK table then u can call the function module ENQUEUE_EVVBAKE and deque the table u can use DEQUEUE_EVVBAKE..
If you want to use for your own table then first create the lock object for either field name or for whole table. Then generate the function module for your lockobject. U can generate this from SE11.
http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eef3446011d189700000e8322d00/content.htm
Thanks & Regards,
Nagaraj kalbavi
‎2008 Jul 17 11:25 AM
Hi,
See this example,
http://help.sap.com/saphelp_nw70/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/content.htm
Hope it helps.
Thanks & Regards,
Nagaraj Kalbavi
‎2008 Jul 17 12:06 PM