Application Development 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: 

Locking some transaction data but not complete transaction...

Former Member
0 Kudos

Hi,

I have created some PO in the system. Now I don't want to lock the complete transaction which creates PO but only those POs which I created so that no one can go and change (edit) those PO number. How can I achieve this ?

Thanks.

Regards,

Tushar.

7 REPLIES 7

Former Member
0 Kudos

You can use these FM for locking and unlocking

ENQUEUE_EKKOE

DEQUEUE_EKKOE

Incase you are trying to lock some other object search SE37 with the ENQUEUE_* and DEQUEUE_* for appropiate FM's.

Regards

Kathirvel

Former Member
0 Kudos

Hi,

use the ENQUEUE & DEQUEUE FMs to lock and unlock transaction data.

Thanks,

Naren

0 Kudos

Hi,

If I Enqueue the PO number (transaction data) , then can I see it in display or I won't be able to see that also.

Thanks.

Regards,

Tushar.

Former Member
0 Kudos

All locked objects can be viewed ( in parallel )but cannot be modified. For instance when you open a material in MM02, the material will be locked. But still you can view the details of the same material in MM03 in parallel.

Regards

Kathirvel

0 Kudos

So, I guess logically I need to write a code which will use Dequeue FM to unlock , incase I want to do it..

Thanks.

Regards,

Tushar.

Former Member
0 Kudos

Hi,

yes..You need to unlock the data..For others to modify the data..

Thanks,

Naren

Former Member
0 Kudos

Yes, the reason is that it will prevent others to edit or modify the data when some one is already changing a particular information. Set a lock entry; do your changes and then finally commit and release the lock entries.

Kindly close all thread for those you got the solution. Thanks.

Regards

Kathirvel