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 object for Purchase Order

Former Member
0 Likes
5,769

Dear Experts.

I am searching the function module "ENQUEUE_ " , which is for locking & Unlocking

the Purchase order(ekko-ebeln).

Please help me.

Thanks in advance,

Regards,

Rahul.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
3,136

Hi,

Standard lock object for purchase order is EMEKKOE

Check with the folloowing lock object BKK_ENQUE_TBKK_REPENQ

For more info please refer this link[Lock object for purchase order|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/66cbc5ab4411d5b6f3006094192fe3/content.htm]

Hope this helps you.

Regards,

Rajani

Dear Experts.

I am searching the function module "ENQUEUE_ " , which is for locking & Unlocking

the Purchase order(ekko-ebeln).

Please help me.

Thanks in advance,

Regards,

Rahul.

2 REPLIES 2
Read only

Former Member
0 Likes
3,136

Hi,

Use the Lock object EMEKKOE to Lock and Unloack the Purchase orders

Use this FM to lock

MM_ENQUEUE_DOCUMENT

This is also used in the standard program. While enqueing,

if there is any error (sy-subrc 0), then it means,

that particular purchase order is already locked

Use Fm DEQUEUE_ALL to release all lock at the end of report execution.

Regards,

Shamma

Edited by: Shamma Firdous on Aug 20, 2009 10:22 AM

Read only

Former Member
0 Likes
3,137

Hi,

Standard lock object for purchase order is EMEKKOE

Check with the folloowing lock object BKK_ENQUE_TBKK_REPENQ

For more info please refer this link[Lock object for purchase order|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/66cbc5ab4411d5b6f3006094192fe3/content.htm]

Hope this helps you.

Regards,

Rajani