How to fetch external handling unit# using delivery#

Hi Gurus,
Please tell me relationship how to fetch the VBEP-EXIDV(external handling unit)    Using LIKP-VBELN(Outbound Delivery no) .
Any suggestions welcome.
Thanks in advance,

Table vekp has a field SPE_DELDEC.
Also if field STATUS = 60, its deleted.

Similar Messages

  • How to create Handling Unit using Process Order no. & Packing Instruction

    Hi experts,
    Please guide me how to create Handling Unit using Process Order number & Packing Instruction reference?Noramlly this is done using standard transaction 'COWBPACK'.
    ANY FUNCTION MODULE OR BAPI TO DO THIS.
    if any solution please explain with proper example..
    Thanks In advance
    Thanks,
    Yogesh

    Hi experts,
    Please guide me how to create Handling Unit using Process Order number & Packing Instruction reference?Noramlly this is done using standard transaction 'COWBPACK'.
    ANY FUNCTION MODULE OR BAPI TO DO THIS.
    if any solution please explain with proper example..
    Thanks In advance
    Thanks,
    Yogesh

  • How to create nested Handling units at VL01n Outbound delivery

    Hi
    Please assist me
    How to create Nested Handling units at the time of Outbound delivery VL01n

    Hi,
    go to Edit-Pack,
    In First tab will be "Pack Material", give Packing Materials & enter. You will get a HU Number generated. select this line & the line in Material to be packed. Click on Pack button. The material is packed into a HU.
    Now go to Second tab "Pack HUs". Here also give Packing Materials & enter. You will get a HU Number generated. select this line & the line in All Handling Units that can be packed. Click on Pack button. The HU is packed into another HU.
    Nagesh

  • Configuration of external handling unit number range

    Hello everyone,
    I am working on a project that includes receiving of handling units from outside of our SAP system in EAN128 format, and am running into some challenges in setting up an appropriate external handling unit number range.  The process will involve creation of an inbound delivery from an advance ship notice, with the delivery to then be packed based upon handling unit information in the ASN.  I have set up an external number range interval in the number range object that is being used for generation of internal handling unit numbers, with the external interval being outside the range of the existing internal intervals.  When the ASN is posted, the inbound delivery is created but cannot be packed (status 52), and I get a message stating "The check digit of SSCC 10000001000001648 is incorrect. 5 is correct" (just using this number as an example).  In this case, the HU number actually had a leading zero, and changing the sample HU to start with a 5 results in the same message but stating that 0 is correct, which is kind of maddening.  The bottom line is that I have not configured an external number range before for handling units and am clearly missing something here.  Has somebody set this up successfully and can share your experience, or can point me to some good documentation?  I am searching OSS, the Business Process Expert Community, and the overall web in general and am not finding any relevant information.

    Per your info,
    in std, You cant maintain HU number ranges with respect to year.
    Still if you want to maintain, You have to use Userexit for Number ranges.
    Generally, all sales documents number ranges are not year specific . ONly FI documents are year specific.
    Why you want to have Year specific number ranges for HU's? - It is nothing to do with Year.
    Convince your client, This year dependant HU number ranges doesnt carry any value addition. Still client insists, only way to achieve this is "USEREXIT_NUMBER_RANGE"
    hope it helps

  • Check if handling Unit/outbound delivery locked?

    Hi all,
    How do i check whether a HANDLING UNIT is locked or not?
    How do i check whether a Outbound delivery is locked or not?
    Any Std FM's available?Any input will be highly appreciated.
    Thanks.
    Edited by: Andy102 on Apr 23, 2010 7:56 AM

    Hi,
    To check the Outbound delivery is locked, call the below function module
    CALL FUNCTION 'SHP_ENQUEUE_EVVBLKE'
      EXPORTING
       MODE_LIKP               = 'E'
       MANDT                   = SY-MANDT
        vbeln                   = <Delivery Number>
    EXCEPTIONS
       FOREIGN_LOCK            = 1
       SYSTEM_FAILURE          = 2
       CSL_NO_CONNECTION       = 3
       CSL_INCONSISTENCY       = 4
       OTHERS                  = 5
    IF sy-subrc ne 0.
      delivery is locked
    else.
      delivery is not locked. 
    ENDIF.
    For handling unit use the function module "ENQUEUE_EVVEKPE"
    Regards
    Vinod
    Edited by: Vinod Kumar on Apr 23, 2010 11:51 AM

  • Good Receipt w.r.t Handling Units(outbound delivery)

    Hi everyone,
    i am doing a BDC for MIGO t-code....to create Good Receipt w.r.t Handling Units(outbound delivery).....
    While executing the Pgm....if some other user has opened the MIGO t-code in DISPLAY mode then that pgm is not able to call the MIGO t-code...to create Good Receipt w.r.t outbound delivery.....
    As this bdc pgm is witten to create the good receipt i.e. why it is not allowing to create the receipt as already someone else has opened it in DISPLAY mode....
    The following code is to create Good Receipt w.r.t outbound delivery handling unit
    perform bdc_field using 'GODYNPRO-ACTION'
    'A01'. -
    Good receipt
    perform bdc_field using 'GODYNPRO-REFDOC'
    'R05'.-----outbound delivery
    PLease if somebody can help me out with this code...or can send me any program related to this pgm.

    hi,
    dont write bdc for migo.
    use bapi.
    *& Report  ZRPT_SUB_KO01GOODSMOVEMENT
    REPORT  ZRPT_SUB_KO01GOODSMOVEMENT.
    PARAMETERS : P_BAG(17)  TYPE C,
                 P_ZZORG LIKE zaUFK-ZZORG,
                 P_MATNR LIKE MARA-MATNR,
                 P_WERKS LIKE AUFK-WERKS,
                 P_WERK LIKE AFPO-PWERK,
                 P_DATE LIKE MKPF-BUDAT,
                 P_LGORT LIKE GOITEM-LGOBE.
    DATA : BDC_DATA TYPE STANDARD TABLE OF BDCDATA. "internla table for bdc data
      DATA : WA_BDC_DATA TYPE BDCDATA .                "work area for bdc data
      DATA : T_XMSEG TYPE   MSEG.
      DATA : T_XMKPF TYPE MKPF.
      DATA : V_BAGS1(17) TYPE C.
    DATA : BEGIN OF WA_MB1B,
           ZZGCODE TYPE ZMIGO-ZZGCODE,
           ZZGBAGS TYPE ZMIGO-ZZGBAGS,
           WERKS TYPE AUFK-WERKS,
           LGORT TYPE VBRP-LGORT,
           ZZORG TYPE zAUFK-ZZORG,
           END OF WA_MB1B.
    DATA : V_MATERIAL TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    data : v_date(10) type c.
    DATA : T_GOODSMVT_HEADER TYPE BAPI2017_GM_HEAD_01,
           T_GOODSMVT_CODE TYPE BAPI2017_GM_CODE,
           T_GOODSMVT_ITEM TYPE STANDARD TABLE OF BAPI2017_GM_ITEM_CREATE,
           T_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    DATA : WA_GOODSMVT_ITEM TYPE BAPI2017_GM_ITEM_CREATE.
    DATA : BEGIN OF S_MARA,
           MEINS LIKE MARA-MEINS,
           END OF S_MARA.
    DATA : MATERIALDOCUMENT TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    *FORM GOODSMOVEMENT TABLES T_RETURN
                             USING WA_MB1B LIKE WA_MB1B.
    SELECT SINGLE  MEINS
                   FROM MARA
                   INTO S_MARA
                   WHERE MATNR = P_MATNR.
       CONCATENATE p_date6(2) p_date4(2) p_date+0(4) INTO V_DATE SEPARATED BY '.'.
        T_GOODSMVT_HEADER-PSTNG_DATE = P_DATE.
        T_GOODSMVT_HEADER-DOC_DATE = P_DATE.
        T_GOODSMVT_CODE-GM_CODE = '04'.
        WA_GOODSMVT_ITEM-MATERIAL =      P_MATNR.                    "'000000000000001556'.
        WA_GOODSMVT_ITEM-PLANT  =        P_WERK.                     " '1000'.
        WA_GOODSMVT_ITEM-STGE_LOC =      P_LGORT.                    " '0001'.
        WA_GOODSMVT_ITEM-MOVE_TYPE =     'Z42'.
        WA_GOODSMVT_ITEM-VENDOR =         P_ZZORG.                   "'0000100224'.
        WA_GOODSMVT_ITEM-ENTRY_QNT =      P_BAG.                   " '1'.
        WA_GOODSMVT_ITEM-ENTRY_UOM =     S_MARA-MEINS.
        WA_GOODSMVT_ITEM-ENTRY_UOM_ISO = S_MARA-MEINS.
        WA_GOODSMVT_ITEM-MOVE_PLANT = P_WERKS.
        APPEND WA_GOODSMVT_ITEM TO T_GOODSMVT_ITEM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
    EXPORTING
          GOODSMVT_HEADER          = T_GOODSMVT_HEADER
          GOODSMVT_CODE            = T_GOODSMVT_CODE
    IMPORTING
        MATERIALDOCUMENT           = V_MATERIAL
    TABLES
          GOODSMVT_ITEM            = T_GOODSMVT_ITEM
    RETURN                        = T_RETURN.
    BREAK shailajaa.
               EXPORT t_return  to MEMORY ID '123'.
               EXPORT V_MATERIAL TO MEMORY ID 'MAT'.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
           WAIT          = ' '.
    *ENDFORM.
    see this example.
    reward points if usefull..

  • How to generate the handling unit in alphanumeric by sequence

    Is there any way to serial generate the box id in alphanumeric?
    such as number range set is from 00000 ~ ZZZZZ
    when the number is 00009, the next number can be auto got as 0000A,
    can SAP support this function?

    Could you please point me in the right direction of how to set up handling unit ranges with alphanumeric characters?
    Thanks

  • 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

  • External Handling Unit (Barcode) Information is Missing

    Hello Folks,
    I got a requirement where a warehouse will send us an EDI 945 file to confirm the shipment completion. But, it send us the file without SSCC labels for those shipped items of the order. This 945 is being translated into a SHPCON IDOC(DELVRY03) which doesn't contain the E1EDL37(Handling unit header). This IDOC is failing in status 51 with the error message: External Handling Unit (Barcode) Information is Missing.
    What should be done to get this IDOC posted sucessfully even if it doesn't contain the SSCC label? Is there any setting that should be changed for this customer to not to look for SSCC labels(External Handling unit).
    Thanks for your help,
    Siva

    This could be because of custom code. Check the exits in inbound FM and you should find out the root cause. Standard SAP doesn't check for customer level SSCC checks. If it gets the HU's from 3PL, it'll pack it such way. If it doesn't, it'll pack is the usual way.

  • Picking handling unit in Delivery

    Hi,
    I have a scenario in which I want to pick handling units from stock into the delivery. At the time of picking in delivery transfer order is created, but warehouse management is not in the scope. Can we pick handling unit in delivery without warehouse management.?
    Regards
    Falgun

    Dear Falgun,
    I think its not possible. if i understood your question correctly, that you have created an order and for that you are doing picking/packing, you should create handling unit first and then allocate it in the material master for that perticular material in material master MM01 ->basic data tab under packing material data.
    hope its helpful for you.
    Regards
    Ashwini

  • How to get hierarchy of a handling unit in delivery

    Hi All,
    We have a requirement of displaying in the form output highest level handling unit details(measurements length width and all).
    After that we want to display lower level handling units materials that has been packed.In the transaction Vl03n I can find this by just double clicking the parent Handling unit.
    To make simple how to get the hierarchy of handling units?
    If I know handling unit(say HU1) how to find there are some handling units(may be HU2,HU3) included in this handling unit HU1.
    I refered to the tables VEKP and VEPO it does not help me in this regard.Please suggest some body some idea on this.
    Regards
    Mahesh

    Hi,
    Have you look into field VEKP-UEVEL (Higher-Level Handling Unit)
    RF_SW_VEKP_READ                  Select from table VEKP - 1st layer
    VEKP_READ                        Select from table VEKP - 2nd layer
    Kind Regards
    Edited by: Raymond Friston on Apr 24, 2008 8:37 AM

  • Freight Calculation basis Handling Unit in Delivery

    Hi Expts.
    Could anybody help me how to identify shipment cost (freight) on the basis of Number of Handling Unit in a Delivery.
    Example:
    1-One Delivery
    2-Multiple quantity of material (10 qty)
    3-Packed in multiple handling units (2 in one HU, 5 HU)
    Freight calculation on the basis of handling units handled by freight forwarder.
    Urgent help required.
    Regards
    AB

    hi raja,
    packing done at delivery and transfer order is used for packing an item at delivery level or at transfer order level that is at ware house management level.
    packing material is normal material which you will use for packing purpose like
    TV packing uses: polythene cover, thermocol sheets, then a carton and you will keep 10 TV's in one single pallet that is handling unit
    please check SPRO config settings for multi level packings.
    please take this link:
    http://sdconfiguration.blogspot.com/2008/02/multi-level-packaging-in-delivery.html

  • How to make a handling unit object (packing) automatically generate from inbound

    Hi guru,
    I just have a question which I am sure sure and puzzle, and hope you can give me an accurate information.
    Background:
    We are using EDI communication so that vendor can send us advance shipping notification and will lead to inbound delivery creation automatically.
    Question:
    We would like the vendor, when deliver the shipment for us to be packed base on our instruction, and we want the handling unit object to be created automatically upon inbound delivery creation from the EDI. How to do this in SAP?
    Thanks.
    Daniel

    if you are using message type DESADV / SHPCON then vendor needs to send the HU information in the E1EDL37(HU Header)  / E1EDL44 (HU Item) segment and during Inbound delivery creation system will update the IBD with HU . Have a look on the below standard Link to get more detail
    Delivery Interface - Shipping (LE-SHP) - SAP Library

  • Problem while unpacking an handling unit using FM HU_PACKING_AND_UNPACKING

    Hi ,
    I want to unpack an HU from an outbound delivery and transfer to other storage location using FM 'HU_PACKING_AND_UNPACKING'.I could find out that only quantities are transferred but unpacking HU is not done.
    Below is the code  i am using for unpacking.
    CALL FUNCTION 'HU_GET_HUS'
            EXPORTING
              if_lock_hus = 'X'
              it_venum    = it_hu1
            IMPORTING
              et_header   = it_hdr1
              et_items    = it_item1
            EXCEPTIONS
              hus_locked  = 1
              no_hu_found = 2
              fatal_error = 3
              OTHERS      = 4.
          IF sy-subrc <> 0.
            l_error = 'X'.
            CLEAR: g_msgid, g_msgno, g_msgv1,g_msgv2, g_msgv3, g_msgv4.
            g_msgid = sy-msgid.
            g_msgno = sy-msgno.
            g_msgv1 = sy-msgv1.
            g_msgv2 = sy-msgv2.
            g_msgv3 = sy-msgv3.
            g_msgv4 = sy-msgv4.
            PERFORM message_scr USING g_msgid g_msgno g_msgv1 g_msgv2 g_msgv3 g_msgv4.
            EXIT.
          ENDIF.
          LOOP AT it_hu1 INTO wa_hu.
            CLEAR: wa_item1,l_error,l_post.
            READ TABLE it_hdr1  INTO wa_hdr1  WITH KEY venum = wa_hu-venum.
            CLEAR : g_venum, g_plant, g_sloc, g_whno, g_stype, g_sbin.
    *       get the warehouse details
              SELECT SINGLE lgnum lgtyp lgpla FROM lein INTO (g_whno,g_stype,g_sbin)
                WHERE lenum = wa_hdr1-exidv.
              IF sy-subrc EQ 0.
    * Get the plant and storage location for WM managed
                SELECT SINGLE werks lgort FROM lqua INTO (g_plant, g_sloc)
                                     WHERE lgnum = g_whno
                                       AND lgtyp = g_stype
                                       AND lgpla = g_sbin
                                       AND lenum = wa_hdr1-exidv.
              ELSE.
    * Get the Venum (Internal HU Number)
                SELECT SINGLE venum FROM vekp INTO g_venum
                WHERE exidv = wa_hdr1-exidv.
                IF sy-subrc EQ 0.
    * Get the plant and storage location for Non-WM managed
                  SELECT SINGLE werks lgort FROM vepo INTO (g_plant, g_sloc)
                    WHERE venum = wa_hu-venum.
                ENDIF.
              ENDIF.
              READ TABLE it_item1 INTO wa_item1 WITH KEY venum = wa_hu-venum.
              IF sy-subrc = 0.
                CLEAR :wa_pack_unpack.
                MOVE-CORRESPONDING wa_item1 TO wa_pack_unpack.
                wa_pack_unpack-venum = wa_item1-venum.
                wa_pack_unpack-vepos = wa_item1-vepos.
                wa_pack_unpack-velin = wa_item1-velin.
                wa_pack_unpack-belnr = wa_item1-vbeln.
                wa_pack_unpack-posnr = wa_item1-posnr.
                MOVE wa_item1-vemng TO l_vemng.
                CONCATENATE l_vemng '-' INTO l_vemng.
                CONDENSE l_vemng NO-GAPS.
                MOVE l_vemng TO wa_pack_unpack-quantity.
                wa_pack_unpack-altme = wa_item1-altme.
                wa_pack_unpack-matnr = wa_item1-matnr.
                wa_pack_unpack-charg = wa_item1-charg.
                wa_pack_unpack-werks = g_plant.
                wa_pack_unpack-lgort = g_sloc.
                wa_pack_unpack-wdatu = wa_item1-wdatu.
                wa_pack_unpack-vfdat = wa_item1-vfdat.
              ENDIF.
    *          *Find the partner location
              CLEAR: g_hu_managed, g_partner_sloc.
              CALL FUNCTION 'V51S_HU_LGORT'
                EXPORTING
                  if_lgort         = g_sloc
                  if_werks         = g_plant
                IMPORTING
                  ef_hu_managed    = g_hu_managed
                  ef_partner_lgort = g_partner_sloc
                EXCEPTIONS
                  lgort_not_exist  = 1
                  OTHERS           = 2.
              IF sy-subrc <> 0.
              ENDIF.
              IF g_hu_managed = 'X'.
                wa_pack_unpack-umlgo = g_partner_sloc.
              ENDIF.
              CALL FUNCTION 'HU_PACKING_AND_UNPACKING'
                EXPORTING
                  is_packing_request = wa_pack_unpack
                IMPORTING
                  es_p_request       = wa_pack_unpack
                EXCEPTIONS
                  missing_data       = 1
                  hu_not_changeable  = 2
                  not_possible       = 3
                  customizing        = 4
                  weight             = 5
                  volume             = 6
                  serial_nr          = 7
                  fatal_error        = 8
                  OTHERS             = 9.
              IF sy-subrc <> 0.
                l_error = 'X'.
              ELSE.
                l_post = 'X'.
              ENDIF.
              IF l_error IS INITIAL AND l_post EQ 'X'.
                CALL FUNCTION 'HU_POST'
                  EXPORTING
                    if_synchron = 'X'
                    if_commit   = 'X'
                  IMPORTING
                    et_messages = it_messages.
            ENDLOOP.
    Please help if any parameter need to be set for unpacking of HU.
    Please suggest.
    Thanks in advance.

    Hi Sailaja,
    I have similar requirements like this before with HU_PACKING_AND_UNPACKING FM. It was a tough debugging before I came up with the right solution. Unfortunately, I was not able to document that code..
    But here is what I have been doing.
    Youre on track with the solution below, never use BDC as it will only limit the Handling units that you wish to put into.
    The function modules that starts with V5_ plays important role as you need to initialize the global variables and table of this function group with values before calling HU_PACKING_AND_UNPACKING FM
    Debug inside the Function module, and look for the FM that returns SY-SUBRC <> 0 then set a breakpoint.
    Restart the program then debug inside that FM again (and I do not want to go further on the details, I give you the presumption of literacy)
    You will find some items that has no value, try to initialize everything by utilizing the FM for this function group V51S.
    Happy Debugging.

  • Project-Stock Handling units using HUPAST

    Hi folks,
    we want to use handling units with project stock (SOBKZ = Q). While it's easy to create handling units on project stock with HU02 it does not seem to be possible with HUPAST. System does not allow the edit the field SOBKZ in HUPAST.
    Does anybody know how to create handling units with batches from project stock using the transaction HUPAST?
    Thanks BR
    MAtthias

    Hi
    You cann't do GR wid mvtType 101 for HU
    you can do it through only vl01n
    VLMOVE you can do .
    Regards
    Aryan
    Don't forget to give points

Maybe you are looking for