Sales Handling unit enhancement

Dear friends,
This is regarding packing handling units in delivery. I have a customized table which is having ready handling units with reference to sales order.
I have a requirement to pick these handling units from Ztable and attach to delivery when the user clicks PACK button in OBD, instead of selecting handling units one by one again.
Please suggest any appropriate user exits.
Regards,
Praveen Lobo

Hi,
Please check below link on all user exits in SD.
https://wiki.sdn.sap.com/wiki/display/ERPLO/SDUserexits
You should be able to find the right one there...
Best regards,
Anupa

Similar Messages

  • 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 Number against each PO Number/Sales Order

    Dear All,
    I have a query regarding identification of Handling Unit/s Number/s (Handling Unit Management) against each PO Number in Sales Order. E.g. I created 2 Sales Order with 5 and 7 line items respectively. Now I combine them into one Delivery which becomes as 12 Line items. Now against each PO Number/Sales Order line items I have done multilevel packing, similarly I have done this for 2nd PO Number/Sales Order line items while creating Outbound Delivery.
    As per my client's requirement, he wants to print the Handling Unit Number as per Sales Order PO Number. I have checked VEKP and VEPO where I am not able to segregate the Handling Unit Number against each Sales Order/PO Number. Please find below Screen Shot.
    Please help me out.
    Regards:
    Abhishek

    Hello,
      I'm not sure to understand completely your requirement.
    Anyway in VBFA you should have the complete flow of the documents:
    enter in VBFA with
    "Follow-on doc." (VBELN) = your HU number
    "Subs.doc.categ." (VBTYP_N) = 'X - Handling unit
    "Prec.doc.categ." (VBTYP_V) = 'J - Delivery"
    In this way for each Handling Unit you'll get the delivery number and item,  and from that you can branch to the corresponding Sales Order item number and get the customer's PO number.
    On top of that, in table VEPO you have the reference to Delivery number and item. The only thing you need is one more step using VBFA again, to get from the delivery and item numer, the corresponding Sales Order number and item.
    Best regards,
    Andrea

  • Enhancement for Handling units in VL60

    Hi,
    I have requirement to enhance the, Handling units information at the time of creation in Transaction VL60u2026 can any one please suggest me, how to approach for thatu2026 kindly provide useful BADIu2019s or Enhancements, where I can made the changes for HUu2019s
    Thanks,

    OK

  • 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

  • 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

  • Handling unit  sales unit  not allowing to do PGI.

    Hi.
    My Basic unit of measure is KG. and my sales unit of measure is TS( 10,000).
    When i am doing the picking and asigning the handling units and if I asigns the handling units ( delivery units Kg) it works fine and if i do it for the delivery  in TS .it some times picksup the handling unit and not allowed to do PGI.
    the conversion factor is ok. and and delivery allows only 3 decimal points.
    conversion factor is as follows.
    10 TS = 89 kg.

    Hi
    Don't use the handling unit while doing PGI, still if you want to use handling unit, then you define procedure for handling unit at IMG.
    Path:
    IMG, Logistics General, Handling unit management, basics, Technical basics, and set the procedure.
    Reward if it helps
    Regards
    Prasanna R

  • Create handling units and assigning them as Packing Proposal for Sales Orde

    Hi Friends
    How to create handling units and assigning them as Packing Proposal for Sales Order Items in the background.
    Could you please help to provide Input Parameters for BAPI_HU_CREATE for sales order OR is there any other program creating and assigning them to Sales Order line Items.
    Thanks in Advance.
    SR

    Hi Friends
    I created Handling Units with BAPI_HU_CREATE , Pack materials with BAPI_HU_PACK in to Handling Untis and assign handling units to sales order with BAPI_HU_CHANGE_HEADER . But These BAPIs are not doing packing sales order line items in to handling units . I have to go sales order and do sales order line item packing by clicking packing button.
    Could you please help on how to do packing Sales Order Line items in the background with BAPIs.
    Thanks in Advance.
    SR

  • Sales Order Packing Proposal Handling Units Serial Numbers

    Hi Guru
    I am able to create SAP Sales Order Packing Proposal to pack the Line items and also Handling Units got created.
    But I can not assign serial nos in to this handling Units .Serial No ICON Greyed  out  (Not Editable) in the Sales Order Handling Unit Screen.
    Please help
    Thanks
    SR

    Hi,
    In my point view packing material should be used in the delivery document only.
    Not in sales order.
    Because in delivery document you can pack the material and get the handling unit number also.
    So why you want it should be done at the sales order level only?
    It's my point of view and it may be wrong also.
    But I will prefer to use the packing material in delivery document only not in sales order.
    Regards
    Raj.
    Edited by: Raj Aryan Malhotra on Jul 16, 2009 3:37 PM

  • Handling Unit assignation to sales order

    Hi you all,
    I am facing with a problem when trying to create a handling unit assigned to a sales order. I want to have the functionality of transaction HUP32. The problem with this transaction is that it is possible to include only one batch in the handling unit. I want to do this process but creating handling units with more than one batch.
    The other option I've tried is to create the handling unit with transaction HU02. This handling unit is created with the batches and material that I want but then I can't assign the handling unit to the sales order item.
    When I create the deliveries of this sales orders with handling units assigned, the handling unit is automatically assigned to the delivery. That's the functionality I want to keep.
    If anybody could help me I would thank it very much
    Regards,
    Javier Romano

    Multi-level Packaging in Delivery
    Before creating the packaging material you have to go to:
    IMG-Logistics Execution-Shipping -Packing.
    1. Define packaging material types- it can be anything like boxes crates, etc. in this you have to maintain the output determination procedure, output type, plant determination, packaging material category, generate delivery items, number assignment. you can copy from standard also.
    2. Then go to _define material group for packaging materials_ - here you maintain the four digit code and the description. Actually, this group is nothing but similar products which require similar packing products. For Ex. Nokia Phones all types they are basically packed first into a polythene bag. So here nokia phones can become a material group for packaging materials and polythene bag can become the packaging material type which can include different sizes and types of polythene bags.
    3. _Define Allowed Packaging Materials_ - Here you assign the shipping group for packaging materials to the packaging material type. This is related to your material master data of the packaging material which you create.
    Now go to MM01 to create a packaging material. use material type as Packaging material then inside the system will take the item category group as VERP.
    Then in the Basic Data1 screen you have the material group for packaging material (MGPM). Select the proper one. Now in the Sales:General/ Plant screen you have to maintain data regarding the packaging. you select the MGPM same as the basic data 1 screen, then select the packaging material type, the allowed pkh weight, allowed pkg volume.
    This is important because if the weight of your finished item is 2 KG and in the allowed pkg weight you enter only 1.5 KG, then while you carry out the packing process in delivery, the system will give you error," packaging weight exceeded."
    The assignment in the IMG creen for Define allowed packaging materials should be same as u mention in the material master. Then save your material master for packaging material.
    VA01 create the order, save it.
    VL01N enter shipping point, go to edit - pack- you will face a screen with 2 parts. In the top part you select your packaging material in which you want to pack your finished item, enter the system will assign a number to that material. Now select the Material in the top part and the finished one in the lower part and click on the Icon Pack. Here one thing has to be taken care of.
    Suppose if you want to pack only one finished item in one packaging material, then in the lower part of the screen you have a field for partial quantity here you change it to 1. system will prompt quantity changed. now you select the material in the top part and the one in the lower part and click on the PER PART. QTY ICON. In this way the system will pack only one finished item in a single packaging material. Packing is done go back, select the picking and do the PGI. save the delivery and create the invoice.
    HANDLING UNITS. (Used for Multi level packing)
    Basically handling units come into picture when you want to carry out multi level packing. suppose you want to pack Nokia phone first into a polythene bag, then this polythene bag is again packed in to box. like that. then this box will become a handling unit. For this go to :
    IMG - Logistics General - Handling Unit Management - Basics.
    First create all your packing materials using MM01 and type as packaging material. Maintain all the assignments in IMG in Logistics General.
    In basics you do the same thing as you did in the packing in logistics execution. like you create the packaging material type, then MGPM and their assignment.
    Then go to External Identification - and maintain the number ranges for the handling units that you want and assign the same to your packaging material type.
    Now that you have done everything, create the order, save it, in VL01N, enter shipping point, go to edit - pack - do the same thing as i have told you in the step no. 6 (above). now after doing select the PACK HUs TAB . NOW IN THIS SCREEN IN THE TOP PART YOU WILL SEE THE ALREADY PACKED MATERIAL. In that same part again select your next packaging material that is BOX. enter the system will assign the number to the BOX.
    Now select the material which you have just entered and the materials which were already packed in the lower part of the screen and click on the ICON PACK.
    In the same way again in the top part of the screen you select your next level packaging material and press enter. the system will assign a number to it. now select the material you have just entered and the previously packed material in the lower part of the screen and click on the icon PACK.
    In this way you can carry out multilevel packing. just take care of the allowed packing weight and the number of units you have to pack in the next packaging material.
    Regards,
    Anbu

  • How to find Handling unit for a given Sales order...

    From which table can we find the Handling unit for a given Sales order?

    hi this will help u.
    SALES AND DISTRIBUTION TABLES
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index
    with regards,
    Hema Sundara,
    pls reward if u find it helpful.

  • Deriving/ change the item category from handling unit

    Hi SAP GURUS,
    In vl01n I want to derive the item category based on the handling unit. Hnadling unit is derived from the payment terms.
    Please let me know the required configuration or the development for this.
    Thanks

    i need ur help regarding the Sales order item category redetermination.
             we are having two item categories YNAE and YNAG and it contain schedule  line categories CP and CB ( i.e for item category  YNAE schedule line category is CP and 
             for item category  YNAG schedule line category is CB), for YNAG Purchase Requisition is automatically created becz of functional setting on save and it is working fine.
             For every line item in sales order line item level item category YNAE will be determined by default as per functional settings.
             Now my requirement is that, if sales order line item doesn't contain 100% confirmed quantity, than i needs to change the default line item category YNAE to YNAG
             which i am trying to do it in USEREXIT_PRICING_PREPARE_TKOMP becz in this exit i am getting the values in XVBAP and XVBEP and  it is working fine .
             But schedule line category is not getting redetermined automatically what i mean is, if i change the item category to YNAG from YNAE in user exit corresponding schedule line category CB of YNAG is getting determined automatically at the schedule line level and if ichange the schedule line categories in XVBEP in exit USEREXIT_PRICING_PREPARE_TKOMP, changes are reflecting at the schedule line level but Purchase requisation is not getting created for schedule on SAVE and its delivary dates are also not getting determined properly. If press the option ATP check at the schedule line level than very things will getting corrected in the order.
    i am using UPDKZ = U  in both xvbap and xvbep for changes
    I feel that i am not doing this in proper way, do u have any idea about how to redetermine item category. please let me know if u have any idea .
    Regards,
    Vaddepally Manoj

  • Serial numbers in Inbound delivery for Handling units

    Hello Experts,
    I have the following scenario:
    Purchase order + Inbound delivery + GR
    Inbound delivery is used because I need to create handling units, the materials included in these handling units are serialized and I am getting from the vendor an excel document with Handling unit number and the serial numbers included in each handling unit.
    So I would like to use this document to do the packing process in my inbound delivery instead of manually typing the serial numbers.
    What would be the best option to do this?
    I also need to do the same for MIGO when no HU are needed.
    Any Ideas??
    Thanks a lot in advance for your comments.

    Thanks a lot for your quick answer.
    I would like to avoid creating my own Z transaction, is there any point in packing process where I can include some enhancement to upload the serial numbers, I gues the HU and packing process can be done manually by the user.
    I was planning to enhance MIGO for the same process without handling units and I know that  there a tab can be added at item level. But I do not know where or how to do it while packing.
    Any suggestions?
    Thanks a lot for your time!

  • Outbound Delivery Handling Unit HU material box pallet

    Business requirement.
    To create a delivery based on a sales order using a function module. To do this, users have an AbapWebdynpro application to collect data, 
    Handling units for boxes and handling units for pallets are creates as the user packs his materials in the application.
    Items are packed in boxes and boxes on pallets.
    Problem description: cannot pack boxes onto pallets.
    I can pack items in boxes no problems. Delivery gets created ok.
    How i do it:
    Step 1:
    At the end of AbapWebdynpro process and validations, if no errors occurs, a function module is called to format the data and call fm to create a delivery.
    This part works as expected and is all ok.
    Step 2:
    Then in the function module that will create de delivery, header proposal is filled for boxes and pallets. itemproposal is filled for items in boxes and pallets
    Step 3:
    then,
    FUNCTION 'BAPI_HU_CREATE' is used to create handling units for items
    This part works perfectly for boxes and items but not for pallets.
    then, delivery create
    CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING_1'
    EXPORTING
    delivery = ls_createditems-document_numb
    commit = 'X'
    synchron = 'X'
    TABLES
    verko_tab = i_verko
    verpo_tab = i_verpo
    prot = i_prot
    it_handling_units_1 = i_handling_unit
    EXCEPTIONS
    update_not_possible = 1
    OTHERS = 2.
    This part works fine also if not pallets HU are present in the data .
    The problem is when i want to create a pallet and add the boxes to it. I have tried about every thing i read but had not much success.
    The only thing that came close to doing the job is the following code.
    First i create the delivery with boxes and materials only and with the following FM, i create the pallet and attach it to the delivery line but then i can not assign the boxes to it.
    ls_handling_units-top_hu_external = ls_packed_pallets-hu_pallet.
    ls_handling_units-top_hu_internal = ls_hupallet.
    ls_handling_units-venum = ls_huboxes.
    ls_handling_units-vepos = ls_packed_boxes-posnr.
    ls_handling_units-rfbel = lv_vbeln.
    ls_handling_units-rfpos = ls_packed_boxes-posnr.
    APPEND ls_handling_units TO lt_rehang.
    Step 4:
    CALL FUNCTION 'SD_DELIVERY_UPDATE_PACKING_1'
    EXPORTING
    delivery = ls_createditems-document_numb
    commit = 'X'
    synchron = 'X'
    TABLES
    verko_tab = i_verko
    verpo_tab = i_verpo
    prot = i_prot
    it_handling_units_1 = i_handling_unit
    EXCEPTIONS
    update_not_possible = 1
    OTHERS = 2.
    Is anyone succeed to create a program to create outbound delivery where materials are pack into boxes and those boxes are packed on pallets.
    Regards
    dstj

    If the delivery document PGIed then you need to do VL09 transaction to reverse the PGI document.
    Then do in VL02N transaction  select Delete handling unit assignment icon it will remove all the handling units from delivery.
    Later goto EDIT option then selct copy pack qty as dlv qty then save.Later system will allow you to delete the document.

  • How to inventory packing material on Handling Units frm Inbound Del @ PO?

    I am receiving raw material against a PO via VL31N, where I pack into handling units. When I post GR for this inbound delivery, the Raw Material is getting a 101 but the packaging material is not being considered. Is there a way I can get the packaging material into inventory? I did verify the following settings as suggested in a different post here and yet the Packing materials are not considered. Any help is appreciated.
    1. there is a plant in your HU (you can control this in your packing material type in transaction VHAR; set plant determination either to A or B).
    2. there is an item category in your HU (you can control this in transaction 0184; create the following entry: EL / VERP / PACK / / ELP. If you now create an inbound delivery type EL and your packing material has item category group VERP the system will assign item category ELP to your HU.
    If both requirements are met the system will generate an item in your inbound delivery after packing.
    Then make sure that the item category of the HU (ELP for example) has movement type 501 assigned to it in transaction 0VLP.
    If you then post the GR for your inbound delivery, the packing material will be posted on stock.

    Hello,
    It is well described in:
    [Note 831204 - Delivery items for packaging materials|https://service.sap.com/sap/support/notes/831204]
    pay atention on this prerequisit
    For the relevant delivery types the 'ItemRequirement' routines
      have to allow items which does not refer to a sales order.
      Standard routine 202.
      [Customizing path: Logistics Execution --> Shipping --> Deliveries
       -->  Define Delivery Types]
    Andrzej

Maybe you are looking for

  • E72 Wlan Wizard Issue: Icon/Selection disappeared ...

    Crossposted from here: http://discussions.nokia.com/t5/Eseries-and-Communicators/E72-Wlan-Wizard-Issue-Memory-Full-and-icon...  After my mobile phone automatically switched off while I was trying to check my SMS because of low battery, I plugged it t

  • When queueing several dl's, how can I get it to dl one item at a time instead of several at once?

    My internet connection is fairly slow. When I start more than one download at a time, they appear to stall. When I start one at a time, waiting for the previous to finish, the total time is much less. How do I stack up several requests at once and ha

  • Sales Order Acknowledgement BA00 output

    Hi ! We would like the system to automatically set the output device on BA00 printouts to the default output device specified in the user profile (SU3 defaults). Please let me know if there is a way to do this automatically (without requiring the use

  • Trimming an imported quicktime movie

    ok so heres the deal: a friend of mine recorded a short segment of me performing with a standard digital camera (its only about a 5 minute clip). I imported the entire thing into iMovie, but I only want certain parts to be in the final project. Now,

  • 74 Days and counting and Photo Stream still grayed out in iCloud CP

    74 Days and counting and Photo Stream stillgrayed out in iCloud CP since problem first discussed with Apple. No help, justreported to software engineers for investigation. Two months ago! So much for Apples's superior products andcustomer service. Ph