Pack existing HU into another existing HU both assigned to Outbound Delivery

3 months ago 29

Hi,

I person this request to battalion an existing HU into different HU done abap code.

My scenario:

I person 2 HUs, 1 of them has a worldly assigned and the different 1 is conscionable an bare HU.

Daderiga_0-1721994004287.png

I request to battalion the archetypal 1 and it's contented into the 2nd one.

Im trying to execute this this way:

1- In a Z programme I make the caller bare HU.

2- Assign it to the Outbout Delivery

3- Once assigned, I usage the BAPI_HU_PACK to battalion the archetypal 1 (with the material) into the 2nd 1 (empty) truthful I tin person 3 levels -> Top Hu (ump), Second HU (ump moving arsenic a box) and it's material.

When I execute the BAPI_HU_PACK I get this mistake HUFUNCTIONS 261 'Processing of HUs for selected objects not possible'

I deliberation it's due to the fact that erstwhile the HU is assigned to the Outbound Delivery you cant 'repack' it into different HU but if you bash truthful manually, there's nary problem.

Any idea?

Thanks successful advance.

Read Entire Article