cancel
Showing results for 
Search instead for 
Did you mean: 

How to get HU assignment to outbound delivery FM/method

anastaisanova096
Explorer
0 Kudos
3,571

Hi colleagues,

Currently I'm stucking with problem regarding getting HU assignment to outblound delivery. Could you please help me and provide some FM to get it?

Before I tried get this assignment from WT for this hu, but docid is empty.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Daniil
Active Contributor
0 Kudos

Hi Anastasia,

you can read HUs for delivery with /SCWM/CL_DLV_SERVICE=>GET_INSTANCE_DIRECT and use one of the methods from /SCWM/IF_DLV_SERVICE_HU

Or you can try FMs /SCWM/DLV_GET_HUS_FOR_DELIVERY or /SCWM/HU_SELECT_GEN
Or tables /SCWM/HU_DLV and /SCWM/HUREF

if you have already the HU (you need to find delivery from HU), you can use hu items, there reference document is available or with FM /SCWM/HU_READ you can ET_HUREF TYPE /SCWM/TT_HUREF_INT or with FM

/SCWM/HU_SELECT ( ET_REF TYPE /SCWM/TT_HUREF_INT)

BR,

Daniil

anastaisanova096
Explorer
0 Kudos

Thank you)

Answers (0)