Handling unit transfer (311 move) using bapi_goodsmvt_create

MII is using bapi_goodsmvt_create to do a 311 type Handling unit movement. While BAPI is successful and returns a response back as "Delivery 80817152 created". But in ERP, this BAPI is creating a outbound delivery while it should be inbound delivery.
So basically transfer is not happening there if I check in humo.
If Movement Indicator is set to "I" in BAPI request than ERP sends error message " Update control of movement type is incorrect (entry 311 XX_I)
I would like to know if some body has experienced the same issue & has any resolution and also want to confirm that handling unit transfer is possible with bapi_goodsmvt_create.
Thanks a lot
Regards
Ram Upadhayay

This BAPI only conducts goods movements. It does not affect the handling unit.
If you want to process a handling unit you must use a different BAPI. Are you attempting to unpack the HU?
Use BAPI_HU_UNPACK.

Similar Messages

  • Error in updating 311 movement using BAPI_GOODSMVT_CREATE

    Hi All,
    I need hlep to understand the problem in doing a transfer.
    SAP MII is doing a 311 type movement using BAPI_GOODSMVT_CREATE. BAPI is returning the response back to MII. Once the BAPI is commited it shall make transfer inside SAP. But it does not reflect the movement while checking under HUMO.
    under SM13 it say " SSFCOMPOSER 323"  error in address output (name not filled)
    MII is getting this reponse back as a result of BAPI execution.
    <?xml version="1.0" encoding="UTF-8"?>
    <BAPI_GOODSMVT_CREATE>
    <INPUT><GOODSMVT_CODE><GM_CODE>04</GM_CODE></GOODSMVT_CODE><GOODSMVT_HEADER><PSTNG_DATE>2010-07-03</PSTNG_DATE><DOC_DATE>2010-07-03</DOC_DATE><REF_DOC_NO/><BILL_OF_LADING/><GR_GI_SLIP_NO/><PR_UNAME/><HEADER_TXT/><VER_GR_GI_SLIP/><VER_GR_GI_SLIPX/><EXT_WMS/><REF_DOC_NO_LONG/><BILL_OF_LADING_LONG/><BAR_CODE/></GOODSMVT_HEADER><GOODSMVT_REF_EWM><REF_DOC_EWM/><LOGSYS/><GTS_SCRAP_NO/></GOODSMVT_REF_EWM><TESTRUN/></INPUT>
    <OUTPUT><GOODSMVT_HEADRET><MAT_DOC/><DOC_YEAR>0000</DOC_YEAR></GOODSMVT_HEADRET><MATDOCUMENTYEAR>0000</MATDOCUMENTYEAR><MATERIALDOCUMENT/></OUTPUT>
    <TABLES><EXTENSIONIN/><GOODSMVT_ITEM><item><MATERIAL>130116</MATERIAL><PLANT>2715</PLANT><STGE_LOC>LINE</STGE_LOC><BATCH>96</BATCH><MOVE_TYPE>311</MOVE_TYPE><STCK_TYPE/><SPEC_STOCK/><VENDOR/><CUSTOMER/><SALES_ORD/><S_ORD_ITEM>000000</S_ORD_ITEM><SCHED_LINE>0000</SCHED_LINE><VAL_TYPE/><ENTRY_QNT>96.000</ENTRY_QNT><ENTRY_UOM/><ENTRY_UOM_ISO/><PO_PR_QNT>0</PO_PR_QNT><ORDERPR_UN/><ORDERPR_UN_ISO/><PO_NUMBER/><PO_ITEM>00000</PO_ITEM><SHIPPING/><COMP_SHIP/><NO_MORE_GR/><ITEM_TEXT/><GR_RCPT/><UNLOAD_PT/><COSTCENTER/><ORDERID/><ORDER_ITNO>0000</ORDER_ITNO><CALC_MOTIVE/><ASSET_NO/><SUB_NUMBER/><RESERV_NO>0000000000</RESERV_NO><RES_ITEM>0000</RES_ITEM><RES_TYPE/><WITHDRAWN/><MOVE_MAT/><MOVE_PLANT>2715</MOVE_PLANT><MOVE_STLOC>J01</MOVE_STLOC><MOVE_BATCH>96</MOVE_BATCH><MOVE_VAL_TYPE/><MVT_IND/><MOVE_REAS>0000</MOVE_REAS><RL_EST_KEY/><REF_DATE>0000-00-00</REF_DATE><COST_OBJ/><PROFIT_SEGM_NO>0000000000</PROFIT_SEGM_NO><PROFIT_CTR/><WBS_ELEM/><NETWORK/><ACTIVITY/><PART_ACCT/><AMOUNT_LC>0</AMOUNT_LC><AMOUNT_SV>0</AMOUNT_SV><REF_DOC_YR>0000</REF_DOC_YR><REF_DOC/><REF_DOC_IT>0000</REF_DOC_IT><EXPIRYDATE>0000-00-00</EXPIRYDATE><PROD_DATE>0000-00-00</PROD_DATE><FUND/><FUNDS_CTR/><CMMT_ITEM/><VAL_SALES_ORD/><VAL_S_ORD_ITEM>000000</VAL_S_ORD_ITEM><VAL_WBS_ELEM/><GL_ACCOUNT/><IND_PROPOSE_QUANX/><XSTOB/><EAN_UPC/><DELIV_NUMB_TO_SEARCH/><DELIV_ITEM_TO_SEARCH>000000</DELIV_ITEM_TO_SEARCH><SERIALNO_AUTO_NUMBERASSIGNMENT/><VENDRBATCH/><STGE_TYPE/><STGE_BIN/><SU_PL_STCK_1>0</SU_PL_STCK_1><ST_UN_QTYY_1>0</ST_UN_QTYY_1><ST_UN_QTYY_1_ISO/><UNITTYPE_1/><SU_PL_STCK_2>0</SU_PL_STCK_2><ST_UN_QTYY_2>0</ST_UN_QTYY_2><ST_UN_QTYY_2_ISO/><UNITTYPE_2/><STGE_TYPE_PC/><STGE_BIN_PC/><NO_PST_CHGNT/><GR_NUMBER/><STGE_TYPE_ST/><STGE_BIN_ST/><MATDOC_TR_CANCEL/><MATITEM_TR_CANCEL>0000</MATITEM_TR_CANCEL><MATYEAR_TR_CANCEL>0000</MATYEAR_TR_CANCEL><NO_TRANSFER_REQ/><CO_BUSPROC/><ACTTYPE/><SUPPL_VEND/><MATERIAL_EXTERNAL/><MATERIAL_GUID/><MATERIAL_VERSION/><MOVE_MAT_EXTERNAL/><MOVE_MAT_GUID/><MOVE_MAT_VERSION/><FUNC_AREA/><TR_PART_BA/><PAR_COMPCO/><DELIV_NUMB/><DELIV_ITEM>000000</DELIV_ITEM><NB_SLIPS>000</NB_SLIPS><NB_SLIPSX/><GR_RCPTX/><UNLOAD_PTX/><SPEC_MVMT/><GRANT_NBR/><CMMT_ITEM_LONG/><FUNC_AREA_LONG/><LINE_ID>000000</LINE_ID><PARENT_ID>000000</PARENT_ID><LINE_DEPTH>00</LINE_DEPTH><QUANTITY>0</QUANTITY><BASE_UOM/><LONGNUM/></item></GOODSMVT_ITEM><GOODSMVT_SERIALNUMBER/><GOODSMVT_SERV_PART_DATA><item><LINE_ID>000000</LINE_ID><RET_AUTH_NUMBER/><DELIV_NUMBER/><DELIV_ITEM>000000</DELIV_ITEM><HU_NUMBER>115934300024</HU_NUMBER><INSPOUT_GUID/><EVENT/><DATE>0000-00-00</DATE><TIME>00:00:00</TIME><ZONLO/><TIMESTAMP>0</TIMESTAMP><SCRAP_INDICATOR/><KEEP_QUANTITY>0</KEEP_QUANTITY><GTS_STOCK_TYPE/><MOVE_GTS_STOCK_TYPE/></item></GOODSMVT_SERV_PART_DATA><RETURN><item><TYPE>S</TYPE><ID>L9</ID><NUMBER>514</NUMBER><MESSAGE>Delivery 80817129 created</MESSAGE><LOG_NO/><LOG_MSG_NO>000000</LOG_MSG_NO><MESSAGE_V1>80817129</MESSAGE_V1><MESSAGE_V2/><MESSAGE_V3/><MESSAGE_V4/><PARAMETER>GOODSMVT_HEADER</PARAMETER><ROW>0</ROW><FIELD/><SYSTEM>SP1330</SYSTEM></item></RETURN></TABLES>
    </BAPI_GOODSMVT_CREATE>

    PL Stock in transit exceeded by 200 UNT : 10000000125 3065 0005"
    the code does not matter, it is the process and the stock situation that does not allow the creation of the movement.
    you cannot receive e.g. 200 from in-transit stock  if you only have nothing in transit.
    First the goods issue has to be  performed in the shipping plant.

  • How do I enable automatic transfer of movies using iCloud.

    How do I enable this function. I have a iPhone 4s, iPad.

    iCloud does not store or sync movies.
    iCloud backs up your..
    Purchased music, TV shows, apps, and books
    Photos and video in the Camera Roll
    Device Settings
    App data
    Home screen and app organization
    Messages
    Ringtones
    From here  Apple - iCloud - Store and back up your content in iCloud.

  • Available Handling Unit

    Hi All!
    In T-Code VL02N we have the outbound delivery overview and we do the processing of handling units here.
    Now i have a requirement where in i have to suggest the user with the available Handling units which can be used for packing.This value i will display in a form.
    I am not able to identify this field and also not sure whether this is available in the DDIC or whether it has to be dynamically retrieved through BAPI's or FM's
    EXIDV gives the external Handling unit no but i want the collection of these available.
    Can anyone throw light on this.
    Regards
    Praneeth

    Hi,
    Check the tables VEKP(Header) and VEPO(Item) tables.
    Regards
    vijay

  • Delivery Update: Handling unit : BAPI?

    Could not make BAPI_HU_CHANGE_HEADER to update the handling unit header field "INHALT - Description of Handling Unit Content". Also referred to SAP note  581282.
    It is required to update the handling unit of the delivery using remote FM. So BDC is not possible.
    Can someone share code of how to acheive this using WS_DELIVERY_UPDATE or other FM/BAPI? Thanks in advance.

    Does anyone found a FM to update this field ?  I have to update it in Batch.

  • Reversal of delivery with handling unit management/HU #

    Hello all,
    I would like to know whether the delivery with handling unit management is reversed using LTOG. if it is reversed using LTOG in which storage type would the stock be posted back and would the packaging material of the handling unit be the same when the delivery is canceled and posted back in stock. pl. advise.
    Thanks,
    Maxx

    Hi Ramana,
    Thanks for your reply.
    in your answer you have said  it is not possible to reverse a TO with HU.
    But is it possible to reverse a delivery where the HUs are created only after packing the delivery items. if it is possible then how the packaging materials in the handling unit that are reversed are handled and where are the stocks that are returned after the delivery is cancelled is posted - i would like to know the standard sap storage type in which the stocks are posted once the delivery is cancelled or reversed.
    Thanks,
    Maxx

  • How to retriew Handling unit

    Hi all,
    i have to retrive a handling Unit No.(vekp-exidv) using the input as P.o(lips-vgbel). The relation ship between these two tables is that i have a delivery no.(vbeln).  In tables (lips-vbeln)delivery is same as of that vekp-vpobjkey. please suggest me a perfect select statment that shuld retrive the handling unit using po.
    lips-vgbel(doc.no) refernce for po
    vekp-vpobjkey(key for objects to handle handlingunit i.e delivry), vekp-exidv handling unit. .
    regards
    siri

    Hi,
    Check the code,
    select vbeln vgbel from lips into table itab where vgbel = p_vgbel.
    loop at itab.
    it_lips-vpobjkey = itab-vbeln.
    append it_lips.
    endloop.
    select exidv
    from vekp into table it_vekp for all entries in it_lips
    where vpobjkey = lips-vpobjkey.
    Reward if it is useful.
    Regards,
    Bhanu
    Edited by: Bhanu  P on Apr 15, 2008 8:23 AM

  • Handling units Shipment BAPI

    Hi,
    Can you please help me with the code for populating the Handling units while shipment creation using bapis.
    Thanks,
    Thomas Kash
    Moderator message: please (re)search yourself first.
    Edited by: Thomas Zloch on Dec 9, 2010 10:55 AM

    if we have the delivery with the packaging already done(VL02n) it should be present in shipment creation already ...better have the delivery with packaging already done and do that shipment .
    however if you are doing packaging(Handling Unit ) dusring shipment(VT01) i have not much clarity on that .
    Please refer below threads to gain some insights , We do not have much information on this in the Forum .
    mentors please help *
    BAPI_HU_CREATE
    BDC table control for handling unit
    http://wiki.sdn.sap.com/wiki/display/ABAP/UseofBAPI_SHIPMENT_CREATEconcerningshippingstatuses%28and+deadlines%29

  • FM for reversal handling unit

    Hi All,
    I am using SAP version 4.6c.
    I am using T.code MFHU to declare one handling unit.
    I want function module to reverse the handling unit which is declared using MFHU transaction.
    Thanks in advance.
    points assured.
    Krishna Yerram.

    Please go step by step process of finding a BAPI or a function for a transaction below
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2

  • Handling unit - Shipment

    Hi all,
    I would like to get the number of handling units in a shipment. I dont find VTTK or VEKP fulfils this requirement.
    Can you please suggest any idea ?
    Rgds,
    Seema

    Hi Seema,
    You can get the handling unit number from VBFA table.
    Hit the VBFA table by giving VBELV as delivery number and VBTYP_N as 'X' ( which is nothing but handling unit).
    In field VBELN you will get the handling unit.
    You can use this handling unit number an hit VEKP Table to get more details on handling unit.
    Regards.

  • Creating Handling Unit

    Hi All,
    Can anyone guide me which BAPI/FM to use to create Handling unit?
    And, How to update the delivery with the HU information?
    Was able to get the Handling Unit number through FM V51P_FIND_HEADER given the packaging Material number.
    Regards,
    Raj

    <b>Hi Rajasekhar,</b>
    I have mailed you the document on Handling Units.
    To create a Handling Unit you need to use the following BAPI Functional Module
    <b>BAPI_HU_CREATE</b>
    check the following Documentation:
    <b>FU BAPI_HU_CREATE</b>
    Text
    <b>Create Handling Unit with Items</b>
    <b>Functionality</b>
    You can use this method to create non-assigned handling units without stock information. These handling units may also be created with items, if you like. Serial numbers can also be included for each handling-unit item at this point.
    You can also create nested handling units by accessing this method more than once.
    Example
    <b>Example 1:</b>
    Creating a non-assigned handling unit with packaging material PALLET with a "Planned HU" physical status:
    HEADERPROPOSAL:        pack_mat  =  'PALETTE'
            hu_status_init =  'A'.
    <b>Example 2:</b>
    Following access of the above method (example 1), the return parameter HUKEY returns the ID of the handling unit that was created in the KEY = ID1 field. To pack the handling unit that was just created in another handling unit, call up the BAPI_HU_CREATE method again with the following import parameters:
    IHEADERPROPOSAL:        pack_mat = 'CONTAINER'
    ITEMPROPOS AL:              hu_item_type = '3'
    lower_level_key = ID1
    You have now created a nested handling unit (a pallet inside a container).
    <b>I suppose this will solve your problem.Also go through the document.</b>
    Thanks & Regards
    Pawan P.Khilari
    <b>*Mark Helpful Answers</b>
    Message was edited by: Pawan Khilari

  • Error while using BAPI_GOODSMVT_CREATE wiht movement type 311.

    Hi All experts,
    i am geting error msg, while using BAPI_GOODSMVT_CREATE wiht movement type 311.
    the error msg is " For reservation 0000443815 0000, no movements can be posted".
    Here is my code.
    IF I_ZMM_S_MBIB_LOT[] IS NOT INITIAL.
    *moving posting date and document date  to header
        GOODSMVT_HEADER-PSTNG_DATE = ZMM_S_MBIB_311-BUDAT.
        GOODSMVT_HEADER-DOC_DATE   =  ZMM_S_MBIB_311-BUDAT.
        LOOP AT I_ZMM_S_MBIB_LOT WHERE MENGE NE '0'.
          IF I_ZMM_S_MBIB_LOT-IND = 'X'.
    *moving material and plant ,stge_loc,qty and movement type  to header
            GOODSMVT_ITEM-MATERIAL       = I_ZMM_S_MBIB_LOT-MATNR.
            GOODSMVT_ITEM-PLANT          = I_ZMM_S_MBIB_LOT-WERKS.
            GOODSMVT_ITEM-BATCH          =  I_ZMM_S_MBIB_LOT-CHARG.
            GOODSMVT_ITEM-STGE_LOC       = I_ZMM_S_MBIB_LOT-SLGORT.
            GOODSMVT_ITEM-MOVE_TYPE      = '311'.
            GOODSMVT_ITEM-ENTRY_QNT      = I_ZMM_S_MBIB_LOT-MENGE.
            GOODSMVT_ITEM-ENTRY_UOM      = I_ZMM_S_MBIB_LOT-MEINS.
            GOODSMVT_ITEM-MOVE_MAT       = I_ZMM_S_MBIB_LOT-MATNR.
            GOODSMVT_ITEM-MOVE_PLANT     = I_ZMM_S_MBIB_LOT-RWERKS.
            GOODSMVT_ITEM-MOVE_BATCH     = I_ZMM_S_MBIB_LOT-UMCHA.
            GOODSMVT_ITEM-MOVE_STLOC     = I_ZMM_S_MBIB_LOT-UMLGO.
            GOODSMVT_ITEM-RESERV_NO      = I_ZMM_S_MBIB_LOT-RSNUM.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
            EXPORTING
              GOODSMVT_HEADER               = GOODSMVT_HEADER
              GOODSMVT_CODE                 = '04'
          TESTRUN                       = ' '
          GOODSMVT_REF_EWM              =
            IMPORTING
          GOODSMVT_HEADRET              =
              MATERIALDOCUMENT              = MATERIALDOCUMENT
              MATDOCUMENTYEAR               = MATDOCUMENTYEAR
            TABLES
              GOODSMVT_ITEM                 = GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         =
              RETURN                        = RETURN.
          GOODSMVT_SERV_PART_DATA       =
          EXTENSIONIN                   =
        ELSE.
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Feb 23, 2011 11:46 AM

    Hi Sachin,
    Pass the Item Number of Reservation to GOODSMVT_ITEM-RES_ITEM .
    Regards
    DKS

  • Problem in 301 Stock transfer via VLMOVE for Handling Unit movement

    Hi Gurus
    I am having one issue, where handling unit is active. So user facing one issues that user has posted the stock  around 10 qty , after some material movements , stock showing as 9 in MMBE , where as checking the handling units showing  10 In HUMO . Now user wants to do the stock transfer 301 via VLMOVE. But system is giving error message like u201Cdeficit of stock, handling units can't be movedu201D, anybody advise is there anyway how user can do this transaction.
    Regards
    Edited by: venkat g on Aug 19, 2010 1:03 PM

    Hi,
    The solution for creating inbound delivery that you people have suggested is already in place. The problem is not with creation of inbound delivery but with assigning the material HUs to the inbound delivery. As material HUs are having status assigned to Shipment Document which is created after outbound  delivery is processed. How should I go about it? Even after status of shipment document is made complete, assignment of HUs to inbound delivery is not possible. Please help to resolve this issue.
    Thanks and regards,
    Sudhir Dahake

  • 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.

  • Material to Material stock transfer betn Handling Unit to nonhandling Unit

    Hi Experts,
    Pls explain step by step procedure to Material to Material stock transfer betn Handling Unit to nonhandling Unit.

    Hi,
    You have several options. In case you use the Stock Transport order scenario, you simple pick and pack in the HU managed SLOC and PGI. You PGR in the non HU managed SLOC. HU's are not taken into consideration. If you would use inbound deliveries, you can have the HU's copied from the inbound to the outbound delivery but still you dont do anything with the HU in the non-HU SLOC.
    You can also use tcode VLMOVE, if your HU managed SLOC is not connected to a WM. You do a 311 posting which creates a posting change delivery. After PGI the HU is moved from SLOC 1 to SLOC 2.
    MdZ

Maybe you are looking for

  • Trying to make a DVD with an old/non-existent version of iDVD!

    Ladies and Gentlemen, Please could you help me? I work at a school in the UK, and have recently been able to purchase an external Lacie DVD drive, as the school's computer (currently an iBook G4 with OSX 10.3.2 and a 1GHZ Power PC Processor – 640 MB

  • How to block calls based ANI for individual user?

    I want to know how to block calls based on ANI for individual user in CUCM?  Lets say if the individual wants to block calls from certain number. Malicious call id - softkey will not work for our purpose. calls come to cucm via mgcp gateway.  cucm 9.

  • Satellite C55D-A-14W refuses to install Windows 7

    Hi Everyone I do not like windows 8 and so I am trying to install windows 7 on this laptop. I have tried different methods.. but what I find really odd is even if I boot from the windows 7 DVD the windows 7 welcome screen appears but it will not proc

  • Refreshing the Output Table in ALV

    Hi All, Please let me know how to refresh the output table using refresh button in ALV. Thanks & Regards, Priya. Edited by: SathyaPriya Neelagaru on Jun 26, 2008 7:00 AM

  • Undeploying war errors

    I have same problem as Joe posted. How come BEA support team does not answer this question? It's Bea's application bug or is something wrong with our manipulation?