Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Lock Objects

Former Member
0 Likes
653

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.

5 REPLIES 5
Read only

Former Member
0 Likes
618

You can view lock objects in tcode SM12

Read only

Former Member
0 Likes
618

Hi,

To explicitly release a lock, you use the UNLOCK statement.

http://maxdb.sap.com/doc/7_7/45/569c4db69f09cce10000000a114a6b/content.htm

Regards,

Sowmya

Read only

former_member70391
Contributor
0 Likes
618

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

Read only

former_member70391
Contributor
0 Likes
618

Hi,

See this example,

http://help.sap.com/saphelp_nw70/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/content.htm

Hope it helps.

Thanks & Regards,

Nagaraj Kalbavi

Read only

Former Member
0 Likes
618

help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm

help.sap.com/saphelp_nw04/helpdata/en/7b/f9813712f7434be10000009b38f8cf/content.htm

& chk the thread