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: 

Material Enqueue & Dequeue

former_member1349771
Participant
0 Kudos

I hav designed a new application for store i wish to enqueue & dequeue materials which store persons are using.

So how can this be done.Please guide once i open any material in my applcation its locked untill i come out my application.I wishto unclock as my processing is over.

Pls guide whch FM to use.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

Create a lock object from SE11 by giving the name

lock object : ezlock_material.

call the function module enqueu_ezlock in th loop to which to all the materials to lock.

to lock the material

call the function module dequeu_ezlock in th unloop to which to all the materials to unlock.

to unlock the material.

Regards,

Madhavi

3 REPLIES 3

Former Member
0 Kudos

hi,

Create a lock object from SE11 by giving the name

lock object : ezlock_material.

call the function module enqueu_ezlock in th loop to which to all the materials to lock.

to lock the material

call the function module dequeu_ezlock in th unloop to which to all the materials to unlock.

to unlock the material.

Regards,

Madhavi

0 Kudos

Do we have to create lock object : elock_material.

we cannot use FM like in HR we can enqe & dequeue using FM.

0 Kudos

Hi,

You can try using the FM MGV_LOCK_ALL_VERSIONS with Material number and E