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

Real time example for Lock Object

Former Member
0 Likes
852

Hi all,

can u tell me a example of lock obj in real time

Ranjith

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
607

For example u want to update a material program wise.

When u lock that material using the lock object FM

ENQUEUE_EMMARAE

Then that material can be opened in change in MM02.

After u are unlocking that material using the unlock FM

DEQUEUE_EMMARAE

You can go in change mode in MM02.

So whenever a lock object is created two FM (ENQUEUE_<lock object name> and DEQUEUE_<lock object name>). You have to use that FM for locking and unlocking.

Regards,

Prakash.

Message was edited by: Prakash Ramu

2 REPLIES 2
Read only

Former Member
0 Likes
608

For example u want to update a material program wise.

When u lock that material using the lock object FM

ENQUEUE_EMMARAE

Then that material can be opened in change in MM02.

After u are unlocking that material using the unlock FM

DEQUEUE_EMMARAE

You can go in change mode in MM02.

So whenever a lock object is created two FM (ENQUEUE_<lock object name> and DEQUEUE_<lock object name>). You have to use that FM for locking and unlocking.

Regards,

Prakash.

Message was edited by: Prakash Ramu

Read only

0 Likes
607

Hi Prakash Ramu,

Thanks for u r example

Ranjith