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

Similar Messages

  • Issue in Handling Unit creation.

    Dear All,
    We are using Handling Units functionality in the process order.  We are doing packing after confirmation, at the time of packing system is creating HU for those quantities which were confirmed at the last operation.  E.g. Confirmation quantity is 90 and order quantity is 100 then system is creating HU for 90 quantities. This is working absolutely fine.
    If confirmed quantity is greater than Order quantity, then system is packing the quantities as per the order header quantity only. E g. Confirmation quantity is 110 but Order quantity is 100 then system is creating HU for the 100 quantity only. In this case system should create HU for all the confirmed quantities.
    How to solve this issue. Thanks in advance.
    Regards
    Amit

    Hello Amit,
    Can you please provide the step you are doing in this process. Hope packing is being done automatically during confirmation.
    Regards,
    Sana

  • Handling unit creation in the out bound Process

    Hi All,
            If we are not activate Storage Unit management/HU management in the warehouse and still create HUu2019s during outbound process via packing transfer order? We donu2019t want to manage stock at SU/HU level but create handling unit for material during outbound process. Is it possible?
    Please give me the suggestions.
    Thanks
    Prasad

    Hi Prasad,
    Yes it is possible. You will have to use handling units only as shipping units in the outbound delivery packing function. The handling unit can be defined during the transfer order confirmation (you have this in LT12 as packing) or in the delivery after the TO confirmation. You can only perform packing before goods issue.
    I hope i'll helps you lot
    Regards
    Madhu

  • Handling Unit creation at Sales order Level

    Hi Experts ,
    Please let me know,how can a handling unit be created at sales order level.
    Your comments will be appreciated
    Regards
    Albert

    Albert Ackerman wrote:>
    > Hi Experts ,
    >
    > Please let me know,how can a handling unit be created at sales order level.
    >
    > Your comments will be appreciated
    >
    > Regards
    >
    > Albert
    Hi Albert,
    I am not sure if i got your requirement correctly.
    Nevertheless if you are asking where do you maintain Handling Type HT in sales order:
    Choose the line items double click (goto details of line items)
    Go to Excise Duty tab and put the required Handling type.
    If you want to know where do we configure Handling types.
    Goto
    SPRO->Industry Solution Oil&Gas(downstream)->TDP(Tariffs, Duties & Permits)->Global Settings->Parameter Definition->Set Handling Type.
    If you want to know the related tables for Handling type they are
    OIH07, OIH27
    Hope i addressed to your expectation.
    Post for furthur clarification
    Regards
    Abhishek Swarup

  • BAPI Handling unit creation

    Hi Everyone,
    I am trying to create handling unit number using bapi
    BAPI_HU_CREATE.
    I am able to create the handling unit number.
    The problem arises in - no entry is getting created in line item table VEPO for the new handling unit number generated.
    Anybody having idea why no entry is getting created in VEPO table.
    Also, would like to know i want to update the inbound delivery with the new handling unit number generated.
    For that i am planning to use FM "WS_DELIVERY_UPDATE".
    Is this is the right approach to update the inbound delivery with this FM.
    Thanks in advance.
    Regards,
    Tarun

    Tarun,
    Here is the text from SAP Note - 581282
    You want to generate or change handling units for a delivery. You have planned to use the BAPIs for business object "Handling unit" for this purpose. (For example BAPI_HU_CREATE, BAPI_HU_DELETE, BAPI_HU_PACK, BAPI_HU_REPACK, BAPI_HU_UNPACK). Since these modules do not make updates on delivery, these cannot be used for packing in the delivery.
    In the same way it is not possible to pack deliveries with function modules of function group V51E (HU_CREATE_ITEM, HU_CREATE_ONE_HU, HU_DELETE_HU, HU_REPACK, HU_UNPACK).
    If possible, the packing of the delivery should occur via IDOC DELVRY03 (WHSCON). If this also is not possible, function module WS_DELIVERY_UPDATE can be used. Please note, however, that this function module is not released for customers. That is, it is subjected to changes via SAP. In case of changes it is possible that your program which uses this function module, does not run anymore after importing of a Support Package and that is is necessary to change your program.
    More options are currently not available.
    <b> That is why I am recommending not to use the function but to have a BDC on the non-enjoy transaction. </b>.
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Handling unit creation in existing shipment via BAPI or IDOC

    Dear all,
    Dose any one tried and succeed packing deliveries items in an existing shipment in the shipment level via BAPI or IDOC.
    I tried to use IDOC massage type SHPADV. The problem was that it's creates a new shipment with the same deliveries and pack their items, although I entered the existing shipment number.
    With regards to "BAPI_SHIPMENT_CHANGE", it is seems like this BAPI is not an option. It is update the shipment in any shipment field but not creating HU in shipment level.
    Dose there any solution via those options or there is any other solution.
    Thanks in advance,
    Itai

    I tried simulating this LSMW (message type-  PREQCR1, Baisc type -PREQCR101) and it is working fine. I used creation indicator = R in item segment - E1BPMEREQITEM and have not updated value for this field in Header. So try without any value for CREATE_IND in HEADER and just pass R in item.
    yogesh

  • Issue: Handling unit creation

    Hi,
    While creating u2018Handling Unitsu2019 in transaction MFPP1 system creates it successfully in back groung BUT while trying u2018Onlineu2019 it ask for u2018Packing Instructionu2019, after giving input of same u2018Packing Instructionu2019 (Which system fetch in back ground) it gives error u201CMaterial doesnu2019t maintain in packing instruction ##u2019.
    Request  you to suggest possible reasons.

    dear friend, do you have correct determination record ?
    as far as i know  system starts packing instruction determination when you enter a quanitity of a material to be packed and choose Pack automatically.
    Prerequisites as follows:
    You have created a packing instruction/reference packing instruction for packing with packing instructions.
    You have made the settings for packing instruction determination in Customizing.
    Customizing for packing instruction determination is preset in the standard system. However, you can extend the settings in  the customer name range. You need the following for packing instruction determination:
    - condition table
    - access sequence
    - determination type
    - determination procedure.
    You have also defined determination records.
    just in case look here:
    http://help.sap.com/saphelp_47x200/helpdata/EN/e5/de47aba71411d2b44e006094b9b9dd/frameset.htm
    good luck

  • Automatic creation of TO's for Handling Unit Inbound Delivery -del type HID

    Hi Guru's,
    I would like to create the putaway TO's for a Handling Unit inbound delivery automatically (delivery type HID). This means at the moment of the creation of the Inbound Delivery. The packing is also automatically done by the customizing of the delivery type. Did somebody faced this requirement before?
    Thx,
    Carl

    I found the solution:
    Choose Customizing activity Define Output Types for Inbound Delivery, and define output type WMTA. Enter the following values in the detail view of output type WMTA under General Data:
    Enter an existing Access sequence. Access sequence 0001 is predefined in the standard system.
    Set the indicator Access to conditions.
    Set the indicator Partner-indep. output.
    Save your entries.
    In the menu tree, choose the entry Processing Routines in the Customizing activity Define Output Types, and enter the following values:
    Choose entry 8 (special function) for the indicator Transmission Medium.
    Enter RLAUTA20 in the field Program.
    Enter ENTRY in the field Form Routine.
    Save your entries.
    Choose the Customizing activity Maintain Output Determination Procedure.
    Define a procedure and enter the output type WMTA in the control view of the procedure. The procedure E10001 is predefined in the standard system.
    To define a suitable condition record for inbound deliveries,
    choose Logistics -> Materials Management -> Purchasing -> Master Data ->
    Messages -> Inbound Delivery -> Create from the SAP menu.
    Enter the output type WMTA.
    Enter output medium 8 (special function) for delivery type Inbound Delivery.
    Select the desired Date/Time.
    Select the desired Language.
    Cheers,
    Carl

  • Creation of Production Order Handling Unit...

    Hello friends,
    My process is that once the production order is released. We do the packing of the material. For this we use transaction COP1 and do the packaging for a particular delivery. Now our requirement is that we want a function in background to do the packaging of all the newly released production orders.
    Can you please suggest me a suitable function module to do the packaging for a production order and create a handling unit?
    Points will be rewarded generously.
    Regards,
    Navin

    co01.
    Regards,
    satyajit

  • Creation of Handling Units at Sales Order Level

    Hi Experts ,
    Please let me know,how can a handling unit be created at sales order level.
    Your comments will be appreciated
    Regards
    Albert

    Hi,
    In industry solution - automotive solution, this can be done by HUP12 - create planned HU's for sales order.
    In generic SAP, this can not be done.
    Hope this helps.
    Harry

  • Creation of new handling unit management storage location

    Hello
    I am using transaction HU02 and create a handling unit from existing material. But i don't have any HU management storage locations in the system.
    Could you please explain me how to create a HUM storage location?
    Thanks,
    Ilya

    Hello,
    I am trying to create new Handling unit, with HU02 t-code, and i am getting the following errror:
    The number range object 1 does not exist
    Message no. NR002
    Diagnosis
    The number range object was not defined.
    Procedure
    Maintain the specified number range object using Transaction SNRO.
    I've customized number range for object LE_SSCC in SNRO.
    Сould you please advise, what is my mistake?
    Thx in advance

  • Creation of handling unit through VL01N

    HI ALL,
    i have a requirement like in vl01n we will give shipping point and sales order and we press enter and we will give picking quantity and we will press save button . here when ever i press save button i need delivery number with auto packing handling unit number also. how to do technically?
    thanks
    ram.

    Hi,
    In industry solution - automotive solution, this can be done by HUP12 - create planned HU's for sales order.
    In generic SAP, this can not be done.
    Hope this helps.
    Harry

  • VL02N creation of handling units

    Hello,
    Is it posible to create handling units manually in the delivery? If yes, what is the procedure?
    Also, if handling units were done by clicking automatic packing, is it possible to edit the handling unit created? If yes, how?
    Thanks

    Hi
    I just want to add my input...hope this may fullfill ur query...
    steps:
    1. crate Material Packaging type
    2. Create Material Packaging group
    3. AllowPackaging type into  packaging group
    4. assign Material Packaging group into MM02
    then go to VL02N there you have handling unit icon..there u can play as much as u can depand on wt, vol.. of Materail
    correct me if went wrong..
    Thanks
    Mahesh

  • Create and Pack Handling Units in the Sales Order Using HU_CREATE_ONE_HU

    Hello Experts,
    I am trying to use HU_CREATE_ONE_HU function module to create a handling unit and pack it with specific line items in the sales order program in the background.  I am able to create the handling unit and pack it but it does not get associated to the sales order / line item.  If you look at the sale order's packing proposal, it does not show it packed.  If I look at VEKP / VEPO, I see where it was created but there is no value for vbeln or the posnr I proposed.  Below is the code, I am using.  Does anyone know what I am doing wrong or is there another function module I can use?
    LOOP AT t_vbap.
        CLEAR:   is_header_proposal, it_items, es_header, et_items, et_messages, t_vbap2.
        REFRESH: et_items, et_messages, t_vbap2.
        is_header_proposal-exidv          = '$1'.
        is_header_proposal-exida          = 'A'.
        is_header_proposal-vhilm          = 'UNIBOX'.
        is_header_proposal-hu_status_init = 'A'.     "planned
        is_header_proposal-status         = '0001'.  "planned
        "get the components that make up this subassembly including the parent.
        SELECT * FROM vbap
          INTO TABLE t_vbap2
         WHERE vbeln = t_vbap-vbeln
           AND posnr = t_vbap-posnr. "parent
        SELECT * FROM vbap
          APPENDING TABLE t_vbap2
         WHERE vbeln = t_vbap-vbeln
           AND uepos = t_vbap-posnr.  "children
        "now load the items to be packaged in the proposal
        LOOP AT t_vbap2.
          CLEAR: it_item.
          it_item-velin    = '1'. "material item
          it_item-belnr    = t_vbap2-vbeln.
          it_item-posnr    = t_vbap2-posnr.
          it_item-quantity = t_vbap2-kwmeng.
          it_item-meins    = t_vbap2-meins.
          it_item-matnr    = t_vbap2-matnr.
          it_item-werks    = t_vbap2-werks.
          it_item-lgort    = t_vbap2-lgort.
          APPEND it_item TO it_items.
        ENDLOOP.
        CALL FUNCTION 'HU_INITIALIZE_PACKING'.
        CALL FUNCTION 'HU_CREATE_ONE_HU'
          EXPORTING
            if_create_hu       = 'X'
            is_header_proposal = is_header_proposal
            it_items           = it_items
          IMPORTING
            es_header          = es_header
            et_items           = et_items
            et_messages        = et_messages
          EXCEPTIONS
            input_missing      = 1    " Data that is Necessary for Creation is Missing
            not_possible       = 2    " HU Creation not Possible
            header_error       = 3    " HU Header Data Contains Incorrect Data
            item_error         = 4    " Items Cannot be Created
            serial_nr_error    = 5    " Serial Number Error
            fatal_error        = 6    " Internal Error
            OTHERS             = 7.
        CALL FUNCTION 'HU_POST'
          EXPORTING
            if_synchron = space
            if_commit   = 'X'.
      ENDLOOP.
    Thanks for the help.
    Laura

    The abap statement does not make sense.
    xlips_high_posnr = ( lips-posnr / tvlk-incpo ) * tvlk-incpo
    posnr & incpo are both type numc length 6.
    Here is my recommendation to catch the divide by zero error.
      data: l_oref    type REF to cx_root.
      data: l_text    type string.
      TRY.
            clear l_text.
             xlips_high_posnr  = lips-posnr / tvlk-incpo.
            CATCH cx_sy_zerodivide INTO v_oref.
              l_text = l_oref->get_text( ).
            CLEANUP.
    *      Put your code to do further processing if it is divide by zero
      ENDTRY.

  • Handling Unit not being assigned to TO for an outbound delivery

    Hi All
    When I create a TO for an outbound delivery then a handling unit is not being assigned to the TO.
    I cannot confirm the TO as it complains about the non assignment of HU.
    I have done the following so far:
    1. Set up a default packing material w.r.t WhNo and movement type.
    2. Defined a packing group and then assigned the packing group to the packing material.
    3. Set 1 to the indicator for automatic HU creaion in customizations for automatic HU creation.
    Is there something I am missing in the configuration?
    Any suggestions would help.
    Thanks,
    Arup

    Hello,
    HU never get assign at the time of creation of TO. You can assign pick HU at the time of confirmation of TO. There are two ways
    Use transaction code LH01 and assign pick HU
          OR
    (ii)Or at the time of confirmation of TO click on pack tab and complete the packing
    Thanks,
    Milind C

Maybe you are looking for