Post goods receipt of HU items (Handling unit) inbound deliveries

Hi all,
    could u plz tell me how to post goods receipt of HU 
    items. i am using BAPI Goods_movment_create
    ( movement indicator 'B' and '01') but it
    is giving error. i am not passing purchase number
    and item , insted i am passing inbound delivery 
    number and item. plz help me out.
thanks and regards
manish

PLease read the FM documentation.
It is given very clearly.
Regards,
ravi

Similar Messages

  • Goods Receipt with respect to Handling Unit (Transaction u0096 MIGO)

    Hi All,
    A delivery is created for stock transport order for goods movement from Plant XXXX (Storage Location – YYYY) to Plant XXXX (Storage Location – ZZZZ).
    Handling Units are packed on delivery and delivery is post goods issued from Plant XXXX (Storage Location – ZZZZ).
    While posting goods receipt (Transaction – MIGO) without selecting “Via Handling Units” system populates the “packaging material” line item whereas when “Via Handling Units” is selected (in other words – when tried to post Goods Receipt with respect to Handling Units) system doesn’t populate the associated “packaging material”.
    Requirement is to populate “packaging material” line item while posting Goods Receipt with respect to Handling Unit.
    Plz guide me.
    Satish

    Hi Vatcan,
    Chek the Inbound Delivery 1st weather you refer the right PO in it
    You can also chek in  PO i
    1 Me23n Go to confirmation tab here you can see the  Inbound delivery  quantity
    2 Chek  which reference document you recived the goods,  (i.e You recived the goods with reference to PO or  Inbound delivery)
    2 Coz if you refer the inbound delivery then syestem will deafult show the inbound quanity
    And yes the actual quanity will update in inbound delivery if you refer the inbound deivery while reciveing the goods

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

  • Goods Receipt of co-product (handling unit)

    Hi everybody,
    I wonder if it is possible to make goods receipt of co-product using standard transaction (like COWBHUWE)?
    I can pack co-product with reference to an order, but when I try to post packed HU (with COWBHUWE or function module) material/co-product inside HU is switched with material defined in production order header (main material).
    I can post GR of co-product with MIGO (or FM equvialent) and pack co-product later; but in that case HU has no reference to production order.
    Is there any way (standard transaction or function module) to post GR of co-product HU with reference to production order?
    Thank you for your answers.
    Marko

    Marko Kunsic wrote:
    I can post GR of co-product with MIGO (or FM equvialent) and pack co-product later; but in that case HU has no reference to production order.
    In case we posted goods receipts of co-product using MIGO, we have to create/pack handling units afterwards.
    Is it possible to create HU with reference to production order (VEKP-VPOBJ = '09') or somehow regularly insert data about production order number into 'free' HU (VEKP-VPOBJ = '12') history?
    There is an option to fill this data (production order number) into field of VEKP, but this seems not to be the optimal way.
    Thank you for your help.
    Marko

  • Material Document (Post goods receipt) for each Tranfer order in Inbound De

    Hello All,
    We have following the below process for goods receipt.
    1. Create Purchase order.
    2. Create Inbound Delivery.
    3.Create Transfer order for each line item in  Inbound Delivery
    4. Confirm tranfers orders.
    5. Post goods receipt will automatically takes place after last Transfer order confirmation for that delivery.
    So, in the above scenario the Inventory is not available in the IM till last transfer order is confirmed.
    So, is it  possible to create a Material Document at each transfer order confirmation and post IM inventory , instead of waiting till last transfer order is confirmed.
    please advice.
    Thank you
    T Reddy .

    Hello Aktar,
    Yes With standard SAP we can post  goods receipt either before using MIGO and after using VL32N.
    In our scenario we are using Inbound Delivery.
    So , with using Inbound delivery we are posting goods receipt after  last TO confirmation.
    But In our client they may take 2 days to puyawat all the items of an Inbound Delivery.So they do not want to wait till 2 days for the IM posting.
    ie in SAP WM as soon as Inbound delivery is created it creates negative stock in 902 and once all the transfer order are confirmed and then post goods receipt takes place and 902 is cleared.
    So, we are slitting the TO at delivery line item level and creating separate TO for each line item in a delivery.
    So, I am wondering whether is there a way so as soon as first TO is confirmed WM stock updates and IM stock also should also update with same amount with a material docuement.
    ie TO by TO IM posting should take place and at Last TO post goods receipt should happen at delivery level.
    Please advice.
    Thank you
    T Reddy.

  • Post goods receipt issue

    Hello SAP gurus,
    While doing the post goods receipt for one item (which has come back to my client for testing) getting error message stock data of serial number -
    not suitable for movement.
    My client need the resolution ASAP. could someone please help me on this?
    Thanks
    Sha

    Hi Shayan,
    To fix this issue, please follow the following steps.
    1) Go to MM03, and enter the material code. Then select General Plant Data / Storage 2
    2) Now remember the serial number profile that is assigned here.
    3) Go to SPRO --> Plant Maintenance and Customer Service --> Master Data in Plant Maintenance and Customer Service --> Technical Objects --> Serial Number Management --> Define Serial number Profile.
    4) Now, for the profile that you found in step 2, change the StkCk field to either Blank, or 1. Blank means it would not give you any message when there are inconsistencies during Inventory Management, 1 means it would give a warning message but remember that you are still able to proceed.
    5) Save.
    This should work for you.

  • How to post good receipt for an inbound delivery with HU in the stock?

    Hello,
    We have an inbound delivery of a purchase order with 10 Handling Units inside on.
    The HU's has been put in a storage bin (by transport order + confirmation) before a good receipt has been posted for the whole delivery.
    Due to this it's not possible to post good receipt for the inbound delivery, and the available stock quantity is in minus on zone: '902-GR Area External Rcpts' since  the handling units are already in a storage bin.
    Can anyone help me on this matter?
    Thanks

    Hi,
    my situation is:
    - a WM managed warehouse, society A;
    - a HU managed warehouse (without WM), society B;
    - a purchasing process of HU from society A towards society B.
    Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
    This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
    "V51VP - item was not found - process cancelled".
    Can you help me to transfer these HU?

  • Make goods receipt for the items w/difference after the proof of delivery

    Hello experts,
    I do like to know how finish the process of proof of delivery, when I does have items with differences over the quantities that arrived to my client. For example, one sales order for 20 units. I did the delivery note, and posted the goods issue. Then I did the Proof of Delivery, confirming 19 units and the deviation reasons, saving the document. Then I made my billing document for 19 units of material.
    The deviation reasons was a damage material, my questions is: How does make goods receipt for the items with difference over the quantities after the confirming of proof of delivery?
    Thanks in advance
    Edited by: Johnattan Company on Sep 8, 2009 3:45 PM
    Edited by: Johnattan Company on Sep 8, 2009 3:59 PM

    Hello Chetan,
    Thinking in the process, I have found a solution to do it. If the differences was caused by unknowing reasons, like stolen or whatever reasons and the material will not enter again in the warehouse, we donu2019t need to make any process.
    But if the causes was a broken material, a lapsed date expired or unknowing others reasons as a consequence the material will enter again in the warehouse; I have customized a returns order, and a returns item with the option not relevant for billing to conclude the process.
    Thanks for your help.

  • Automatic Post Goods Receipt on TO confirmation

    Hi
    Hopefully someone can help with my issue.
    Issue: Unable to automatically do a PGR for an Inbound Delivery (IBD) which has an Warehouse managed material and a IM managed material.
    Scenario: We use warehouse management and Handling Unit Management. My scenario involves a inbound delivery with 2 lines. The first is for a warehouse managed material. The second is for an IM managed material (It is the packaging material). Upon confirmation of the warehouse transfer order I have the config set so it automatically PGRu2019s the IBD for the warehouse managed material
    (SPRO/Logistics Execution/Warehouse Management/Interfaces/Shipping/Define Shipping Control/Define Shipping Control at the Movement Type Level/  at movement type 101 it is set to value  4 ie Do not take WM qty as delivery qty, but post GR/GI)
    That works fine for the WM material however the IM line for packaging does not PGR & we have to manually go back to the IBD and do the post goods receipt. The IM line does have a different Movement type (501 as opposed to a 101). It also does not require putaway.
    Does anyone know of a trigger I can use to post the entire document? Batch jobs and manually posting the document is not preferred.
    Much appreciated,
    Adam.

    FYI - This is not possible as standard.

  • User exit for post good receipt for tcode VL32n(inbound delivery)

    HI,
    I need a user exit which should get triggered when the user hit the button "post good receipt" under tcode VL32N. I appreciate your help.
    Thanks,
    Sanjay

    Hi,
    Here is the list
    Enhancement                                                                               
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)       
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)       
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)      
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc           
    V53W0001                                User exits for creating picking waves                       
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot     
    V53C0001                                Rough workload calculation in time per item                 
    V50S0001                                User Exits for Delivery Processing                          
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List     
    V50R0002                                Collective processing for delivery creation                 
    V50R0001                                Collective processing for delivery creation                 
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields     
    V50PSTAT                                Delivery: Item Status Calculation                           
    V02V0004                                User Exit for Staging Area Determination (Item)             
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination                
    V02V0001                                Sales area determination for stock transport order                                                                               
    Business Add-in                                                                               
    DELIVERY_ADDR_SAP                       Address Change in Delivery Processing                       
    DELIVERY_PUBLISH                        Announcement of delivery data during database update        
    Shib

  • Post Goods Receipt Accounting Not Generating

    Hello Experts,
    I brief the processs....
    Our client has trading business.  They have a material that is like a configurable material.  Based on their customer's requirement the configuration will be intimated to the vendor then vendor tells the cost so that they inform the price to the customer.  Based on the configuration the cost always varies from thousands to millions also.
    We have considered the material as standard material only (not configurable) and created a separate item category group to identify this material.  Because the configuration of the material is happening outside of SAP, so we have created a generic material code.  But to capture the MAP independently we are considering the material as batch valuated material (automatic batch).  The Individual Purchase Order (third party sales) process is configured to receive the material into our plant.
    Once the sales order is created the PR is getting generated in the back ground.  With reference to the PR we are generating the PO and receiving the stock with MIGO.  The stock is updating in the plant as sales order stock.  We are able to create the delivey and issue the goods.  The accounting document at goods issue is happening based on the valuation of the material (the cost at which we did the MIGO).  There is no problem in invoice creation.  Till this process everything is fine.
    While doing the Returns Sales process we are facing the issue.  With reference to the sales invoice we are generating the returns sales order then returns delivery and in the returns delivery the batch and valuation type are automatically coming.  But the issue is while doing the Post Goods Receipt the Accounting Document is not getting generated.  The value with which the accounting happened at Goods Issue (sales process) with the same value the accounting should happen in reverese postings at Goods Receipt.  We do not have quality check, so we are using 653 movement type in the case of returns to directly take the stock into unrestricted use.  We also checked the MAP at the time of Post Goods Receipt by giving the batch number but it is showing Zero in material master.  No single PGR of this material is generating the accounting.
    Please guide me where to correct the settings.
    Thanks,
    Sreehari.

    Hello BS Reddy,
    Thanks for your reply.
    I have maintained the Requirements Type as KEB (Req.Class also KEB) and it has the account assignment group-M and Special Stock indicator-E.
    I have run the returns cycle again but still accounting is not gettting generated at PGR.  Below is the screenshot of Req.Class-KEB
    Below is the screen shot of T.Code MBBS (Valuated Sales Order Stock).  I think the value should be upated here.
    Please let me know know where to correct the settings.
    Thanks,
    Sreehari.

  • Error while doing post good receipt

    Hi Frnd,
       I am doing Returns delivery VL02n while doing Post goods receipt i am getting an error saying that
    *Document is incomplete: You cannot post goods movement*
    The batches are not defined for delivery item 900001
    What is this error ?
    Regards
    Rakesh

    Hi Rakesh,
    Go to IMG... logistic general ... batch management ...  batch determination and batch check ... batch search procedure and check the activationu2026 Activate Automatic Batch Determination in SD
    Activate Automatic Batch Determination for Delivery Item Categories
    I think you have not checked the Auto batch determination for your delivery item categories.
    Please check and then try.
    Hope it helps,
    Regards,
    MT

  • Cannot post Goods receipt in MIGO Error message"Field Business Area requird

    Hai
    I am posting Goods Receipt ( MIGO) with Reference to Purchase Order its having 47 Line item material. When i will doing Goods Receipt with rreference to po number its triggered error message in :Message No F5808 Field business Area is a Required  field for G/L account 1180 300000 . for only particular line item 47 material shown error..
    i checked all the settings in MM Automatic determination And G/L element, field variants, posting keys.. but everything configured profer settings..why particulat materail it shown error? how to resolve this error?

    Hi Thiru,
    A somewhat late aswer, but it might be helpfull for other users with the same problem. You can solve this problem by assigning the division/valuation area to the business area. Follow the path below to execute this:
    SPRO - enterprise controlling - Consolidation - Integration: preparation for consolidation - Preparation in the sender system - Further settings for Business Area Consolidation - Materials Management - Assign Division/Valuation Area to Business area.
    Under Enterprise structure -  Assignment - Logistics General, you will find a similar function. First execute option 1 or 2 here and then execute option 3. This makes it work as well, exept that it will not be recorded in a proper transport. The first option I gave for assigning is properly transportable.
    Greetings,
    Sjaak van den Berg
    Magnus Technology Consultants
    Edited by: S. van den Berg on Aug 14, 2009 1:09 PM
    Edited by: S. van den Berg on Aug 14, 2009 1:10 PM

  • Tracking of Inbound Delivery reference for a Goods Receipt/GR line item

    Hi,
    We are posting goods receipt with reference Inbound delivery. We need to track Inbound delivery reference for a Goods Receipt/Goods Receipt line item.
    Is it possible? What will be correct way to do this?
    Regards,
    Makarand

    Hi Makarand ,
    You may try with Table MKPF.
    Goto SE16 and enter the above table to get the required data.
    Regards
    Ramesh Ch

  • Batch needs to be created 1st then post goods receipt with inbound delivery

    Hi,
    We are having split valuated materials with batch managed, we need to post goods receipt with inbound delivery.
    When we create inbound delivery with PO batch is blank which is correct.
    Now when we try to post GR with IBD in VL32N we need to put batch, but we are getting error message as batch is not available in receiving plant.
    In this case we have to create batch 1st with MSC1N and then we can put batch number in Vl32N and can post GR.
    If material is not split valuated we can put batch manualy(Without creation in MSC1N) in VL32N and it is allowing to post GR with batch.
    Can you please let me know this behaviour, is there any SAP note available about this behaviour.
    Thanks
    Sudhir

    Hi Uwe,
    Can an inbound WHSCON IDoc used for doing both the goods receipt in the PO and the update of the message flow in the delivery?
    The binary answer would be no. You should use WMMBXY or MBGMCR instead.
    But if we are doing goods receipt against Inbound delivery then answer is YES with additionally E1EDL18-QUALF = 'PIC' populated. But please remember no partial receipt is possible against Inbound Delivery.
    We should populate E1EDL20-VBELN with our Inbound delivery number and line item info should go to E1EDL24.
    I have done a similar interface recently where we are doing receipt against Inbound delivery. But our case was a bit complex because we had to support against Inbound delivery. So we had to go for a custom solution on top of IDOC_INPUT_DELVRY.
    Hope this helps. Let me know if you have more questions.
    Regards,
    Rudra

Maybe you are looking for

  • STO (stock transport Order) posting:  ATP and inventory impact

    Dear All. ATP configuration "OVZ9" gives you one checkbox to include or exclude purchase orders from ATP.  "Incl.purchase orders". In general we do want to include these for ATP, but this also includes STO documents.  In some cases we do not wan to i

  • Problem Printing html page with JEditorPane...

    Hello All, I Have a problem in printin html file with JEditorPane... My Html file contains a Table on it.. Problem is that JEditorPane displays the html file correctly but it prints the file without print that Table.. So pls help me... Thanx in advan

  • Requesting a list of transaction codes with starts from sd and fi..........

    hi, sap gurus, requesting a list of transaction codes which ends from SD point of view and starts with FICO module. i.e. which deals with posting of revenues from the customer to A/R. plz requesting to find a solution for my question. regards, balaji

  • Oracle Intelligent agent in different oracle home

    Hi All, We have installed new agent (9.2.0.1) in different oracle home, as previous intelligent agent(in main oracle home(9.2.0.5) where database resides) was hanging, after that we are facing a new problem in discovering listener and database in OMS

  • User Exit - VA01 / VA02 Sales Order, using Variant Configuration Fields

    Hi, I'm doing a user exit for creating / changing a sales order (VA01/VA02), and in my program I'm trying to use the characteristic values in variant configuration: Extras -> Configuration. I know there's a whole bunch of data in SAPMV45A, but I can'