cancel
Showing results for 
Search instead for 
Did you mean: 

FMod to Queue-Dequeue a Handling Unit.

Former Member
0 Kudos

Hi,

In my custom transaction I want to Lock (Enqueue) the HU before performing my custom function and after Commit Work want to Unlock (Dequeue) it again.

Can some one suggest which Function Module to use for this and whether this FMod has to be placed right before the other FMods I am using such as Create-Confirm Transfer Order.

Many Thanks,

Rohit.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi there you could try lock object EVVEKPE (ENQUEUE_EVVEKPE and DEQUEUE_EVVEKPE if you set parameter _scope = 2(pass lock to update task) then commit work will unlock the record for you after the commit.

Answers (1)

Answers (1)

Former Member
0 Kudos

See if this thread helps you.

- Guru

Reward points for helpful answers

Former Member
0 Kudos

Hi Guru,

Thanks. I had looked at that thread and the code sample present there is enqueing-dequeing a Delivery. I am looking for something similar for a Handling Unit.

Thanks nonetheless.

Rohit.