HU_ASSIGN_HUS_TO_OBJECT

Hello,
I want to assign a free HU to a delivery with function module HU_ASSIGN_HUS_TO_OBJECT. It doesn't work. Has anyone experience with the use of this function module?
Thanks
Andreas

Hi,
refer
Function module for assigning a HU to delivery
Hope this solves your purpose.
Award points if it helps.
-Gaurang

Similar Messages

  • Handling Unit creation

    Dear Friends,
    I am able to create the Handling Units using BAPI_HU_CREATE but not able to assign the HU to delivery.
    I can see the HUs are created in VEKP tables correctly.
    I am using the FM 'HU_ASSIGN_HUS_TO_OBJECT' to assign this to delivery ( LIKP-VBELN ).
    See the code below, in debugging all the values gets filled correctly including lt_hu_units but HUs are not assigned.
    I can not see those later on in VL02 & then clicking on Pack from menu bar.
    Not sure why the below FM not working correctly?
    Pls. see portion of code below for your referance:
        ls_hu_units-top_hu_external = lv_hukey.
        ls_hu_units-venum              = ls_huheader-hu_id.
        ls_hu_units-rfbel                 = gs_header_details-vbeln.
        ls_hu_units-rfpos                = 10.
        APPEND ls_hu_units TO lt_hu_units.
        ls_object-object = 01.
        ls_object-objkey = gs_header_details-vbeln.
        CALL FUNCTION 'HU_ASSIGN_HUS_TO_OBJECT'
            EXPORTING
              is_object                 = ls_object
              it_handling_units      = lt_hu_units
            IT_HUM_QM              =
           IMPORTING
             et_messages             = lt_messages
    My Regards,
    Prashant

    Hi David.
    There are two areas for creating packing instructions
    Packing instructions and then packing instruction determination
    Transaction POF1 and POP1 (Cannot remember which is which)
    You will need materials set up to represent packing items such as pallets etc, and these are then included in the packing instruction.
    Config in HUM will allow you change the level of determination, plant etc
    Good luck

  • Assigning HU to Inbound Delivery

    Hello everyone!
    Could anyone please give me information how to assign a HU created via transaction HU02 to an inbound delivery (like VL32N).
    I already tried some function modules (e.g. HU_DELIVERY_ATTRIBUTES_ADD, HU_ASSIGN_HUS_TO_OBJECT, etc). I think I just don't have the correct parameters.
    Thanks for your help in advance!
    BR,
    Alfons

    Hi,
    refer
    Function module for assigning a HU to delivery
    Hope this solves your purpose.
    Award points if it helps.
    -Gaurang

  • FM to create Pallet HU's with Object reference

    Hi all,
    Is there any FM which can be used to create a Pallet HU and assign it to Delivery or shipment. I am able to create Pallet HUs using the BAPI: "BAPI_HU_CREATE" but then I am unable to assign them to shipment or delivery. I tried using "HU_ASSIGN_HUS_TO_OBJECT" but with no luck.
    Let me know a way to create Handling Units with reference object.
    regards,
    Suri.

    Refer to these threads
    BAPI for HU Creation and Linking to Delivery
    Creating Handling Unit
    Update/change packing info VL02
    Regds
    Manohar

Maybe you are looking for

  • Embedded .tif-pictures in InDesign 5...

    Hello A colleague sent me an InDesign CS5 file with a lot of embedded .tif-pictures. I wanted to open this file with my InDesign 5.5 but there was always the error message: missing the link with .tif-pictures. My colleague wrote: "because this file i

  • Active Directory Groups Not Working in Sharepoint

    We are trying to manage permissions with AD groups but thus far permissions are not working.  We have a site and are able to search for, find, and add AD groups.  However, users in this group still get access denied.  If users are added explicitly to

  • I don't remember the answer to my security questions. How to reset?

    Help!  I want to buy a song but don't remember the answer to my security questions. How do I get around this.

  • Cloning.pl Error

    I'm cloning an 11g database from and to like operating systems, RHEL 4.7, 64bit. I am trying to run on the target (or cloned) system. clone.pl I get the following error: **Begin*********** Values for the following variables could not be obtained from

  • Shopping Cart - Show discount code is applied and the discount amount (only when entered)

    Hi, Customers are getting confused whether their discount code is applied or not - does anyone know a way to show that a discount code has been applied (but if no discount code is entered then they wont see the line) We tried {tag_invoicediscountamou