Post Goods Receipt with HU

Hi,
I need to do Post Goods receipt for HU ( inbound delivery).
I'm using the fn module WS_DELIVERY_UPDATE_2.
For that,i've updated the vbkok_wa structure with the below data
  i_vbkok-vbeln    = delivery number
  i_vbkok-lgnum    = warehouse
  i_vbkok-SPE_AUTO_GR = 'X'.
Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
Thanks and regards,
Poornima
Edited by: poornima v on Jun 17, 2009 4:45 PM

Hi,
I need to do Post Goods receipt for HU ( inbound delivery).
I'm using the fn module WS_DELIVERY_UPDATE_2.
For that,i've updated the vbkok_wa structure with the below data
  i_vbkok-vbeln    = delivery number
  i_vbkok-lgnum    = warehouse
  i_vbkok-SPE_AUTO_GR = 'X'.
Please let me know what all parameters are required to be updated for the fn module WS_DELIVERY_UPDATE_2 to do post goods receipt for hu.
Thanks and regards,
Poornima
Edited by: poornima v on Jun 17, 2009 4:45 PM

Similar Messages

  • Inbound IDOC to post goods receipt with inbound delivery as reference

    Kindly let me know the message and IDOC type for
    Inbound IDOC to POST GOODS RECEIPT  with inbound delivery as reference
    I tried using WMMBXY but it didn;t work.
    Pls let me know asap.Your help is appreciated.
    Thanks and Regards
    Priti
    Edited by: Priti Adukia on Feb 11, 2008 4:48 AM

    Hi Nicole,
    What I've to do is quite the same as the case. Outbound and Inbound are in the same SAP system. If I've good understanding, I must set partner profile as follows :
    INBOUND - Parter LI with
                            Message DESADV
                            Operation code DELS
    OUTBOUND - Partner KU
                            Message DESADV
                            Operation code ???
    Please advise
    Suchart

  • 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

  • Posting Goods Receipt with ASN number in ECC with Message type: MBGMCR

    We are using Basic Idoc Type :MBGMCR02 to Post Auto Goods Receipt in ECC.
    This happens when external system ( 3rd Party System) sends this message which in turn posts the GR in ECC.
    Thru Goods Movement BAPI
    My Question is CAN WE POST auto goods receipt thru MBGMCR02 with Inbound delivery as reference document - Instead use ASN ( Advanced shipping notification ) which is Reference document in inbound delivery to Post Goods receipt in ECC.
    This is required for our integration peice with 3rd party system.
    And also pl let me if we can use Basic types MBGMCR01 or MBGMCR03 to post auto goods receipt in ECC with reference to PO which has confirmation control key set and instead of passing inbound delivery number can we pass ASN number which is external delivery ( Reference ) number and post goods receipt successfully in ECC.
    Would appreciate your immediate help in this regard.
    Regards,
    Mahesh

    Thank you Vinod.
    We are using MBGMCR02 to post Auto GR by using BAPI - Inbound into ECC.
    We have a 3PL scenario where third Party system will push this message to us ( ECC) which in turn post Auto Goods receipt.
    Here is the process:
    Systems involved : SNC / ECC / 3rd Party
    ASN gets published in SNC  which in turn posts inbound delivery in ECC and a copy of Inbound delivery with SNC ASN number is sent to third party system.
    Third party system is the Carrier ( shipper) they in turn send us the shipment confirmation when they send the goods.
    When they send it to our ECC we have MBGMCR02 to post Auto GR in ECC thru BAPI calling MB_GOODS_MOVEMENT
    This will post the GR with respect to inbound delivery- That works fine..
    Now we are testing an scenario where instead of sendindg ASN to 3rd part system from ECC after Inbound delivery is created.
    We want to send the ASN information ( Which will have PO number as well ) without  ECC 's inbound delivery number directly to 3rd party system  after ASN gets published in SNC thru PI - This is before inbound delivery is created in ECC.
    And the requirement is when 3rd Party system sends the shipment confirmation to ECC  - They will send ASN ( SNC ASN) and ECC  PO number with quantity , vendor , movement type :101 , movement indicator etc -  CAN in ECC when you send these information without inbound delivery posts Auto Goods receipt.
    Based on SNC ASN which is external delivery number in ECC as per PO / Reference number in Inbound delivery document.
    Can MBGMCR01/ 02 / 03  posts GR in ECC with these information ( Mean without the ECC inbound delivery number )
    Which will allow us to avoid the step of sending ASN information along with inbound delivery to 3rd party system after inbound delivery is created - Instead will send directly from SNC / PI / 3rd party
    Point to be noted is - These are SNC PO's which will always have confirmation control key.
    When 3rd part send the shipemnt confirmation with SNC ASN number and PO number while posting Idoc in ECC any of MBGMCR idoc types should check / search for inbound delivery associated and post the GR in ECC
    Can you pl let me know your thoughts pl
    Thanks,
    Mahesh

  • Post Goods Receipt(PGI) with custom condition types on purchase order(PO)

    Hi all,
    I am trying to post goods receipt with custom conditions on the PO. One of the custom conditions is freight (delivery cost). The value on this condition will post to a different G/L account (freight provision account, rather than GR/IR).
    My problem is, when posting this GR, the cost center assigned in the PO under 'account assignment' is not used for posting the custom condition, which I really need it to happen.
    Simply put, I want all postings from this PO inherit values in 'account assignment'.
    I have been looking into configurations in automatic posting and condition types, but I still have no clue where I can make it happen. Do I have to use BADI?
    Thanks.

    Delivey cost condition will be posted to accrual accounts not to the cost center.

  • 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

  • Post Goods Receipt for Inbound Delivery with BAPI_GOODSMVT_CREATE

    Hello,
    I try to post GR for an Inbound Delivey with BAPI_GOODSMVT_CREATE and it is not working.
    I know delivery number and PO number and give both to the bapi.
    I am not sure how to set the movement indicator in the item.
    When I set it to B.
    I do get a shortdump from MB_POST_GOODS_MOVEMENT numer 143, stating that this type of movement is not allowed with this transaction
    when setting to L I do get an error stating
    "Update control of movement type is incorrect (entry 101 X X _ L)"  from message class M7.
    Below is the coding for it.
    Thank you very much for your help
    Michael
    * Füllen der Kopfdaten
      ls_gm_header-pstng_date = sy-datum.
      ls_gm_header-doc_date = sy-datum.
      ls_gm_header-ref_doc_no = delivery_header-lifex.
      ls_gm_header-bill_of_lading = delivery_header-bolnr.
      ls_gm_header-gr_gi_slip_no = delivery_header-xabln.
      ls_gm_header-pr_uname = sy-uname.
      ls_gm_header-ref_doc_no_long = delivery_header-lifex.
      ls_gm_header-bill_of_lading_long = delivery_header-bolnr.
      lv_gm_code = '01'.
    * Füllen der Positionsdaten
      LOOP AT selected_delivery_items INTO ls_delivery_item.
        ls_gm_items-material          =  ls_delivery_item-matnr.
        ls_gm_items-plant             = ls_delivery_item-werks. "             0001
        ls_gm_items-stge_loc = ls_delivery_item-lgort.
        ls_gm_items-move_type ='101'. "101
        ls_gm_items-entry_qnt                      = ls_delivery_item-lfimg. "          10,000
        ls_gm_items-entry_uom                      = ls_delivery_item-vrkme.
        ls_gm_items-po_number                      = ls_delivery_item-vgbel. "55001582
        ls_gm_items-po_item                        = ls_delivery_item-vgpos. "00010
        ls_gm_items-mvt_ind = 'B'.
        ls_gm_items-expirydate = sy-datum + 30 .
        ls_gm_items-deliv_numb = ls_delivery_item-vbeln.
        ls_gm_items-deliv_item = ls_delivery_item-posnr.
        APPEND ls_gm_items TO lt_gm_items.
      ENDLOOP.
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header               = ls_gm_header
          goodsmvt_code                 =  lv_gm_code
    *     testrun                       = 'X'
    *   GOODSMVT_REF_EWM              =
       IMPORTING
         goodsmvt_headret              =  ls_gm_header_ret
         materialdocument              = lv_mat_docno
         matdocumentyear               = lv_mat_year
        TABLES
          goodsmvt_item                 = lt_gm_items
         goodsmvt_serialnumber         = lt_gm_serial_numbers
          return                        = lt_return
      if lt_return is INITIAL.
      endif.

    Hello Pranav,
    the input for the business data is correct.
    When performing the goods receipt with Migo it works.
    I think the B in the movement indicator is correct, but there might be something wrong with the other data.
    Best regards
    Michael

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

  • Error in post goods receipt of delivery for a cross company return STO

    Hi
    I created a cross company return STO in ME21N (with returnd indicator). Vendor V001 (DC) and Site F001.
    I created a delivery in VL10B. Delivery Type NCR.
    I did a Goods Receipt for STO. Movement Type 161. Internally stock in issued from site F001.
    I am trying to do a Post Goods Receipt of the Delivery in VL02N and I am getting this error.
    Delivery quantity is greater than supplying site stock quantity
    Message no. VL900
    Supplying site is F001 which has enough stock.
    DC has no stock and I amtrying to return stock to DC from store.
    How to eradicate this issue?
    Thanks and Regards

    Hi
    http://wiki.sdn.sap.com/wiki/display/B1/SAPBusinessOne...ToGo-3.TheBasicsofFinancial+Accounting
    http://help.sap.com/saphelp_sbo88/helpdata/en/45/06b9997d720487e10000000a155369/content.htm
    kiran

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

  • Price change for material with Goods Receipt with out Order reference?

    hi all,
    Our client company have some finished products produced from raw materials. But we are not using Production planning module. So in MM we are receiving these products with Goods receipt with out order reference(521).
    The issue is, the price for this product will change monthly. This new price will affect the existing stock as moving average price calculation.
    ex:
                                     Quantity             Price             Value
    Stock balanace        100To                 2.00/To         200 
    Newly produced      100To                 2.20/To         220   
    after the GRN for newly produced is done. The price also need to change as below.
    Total                         200To                 2.10/To         420
    This is easy if we receive goods with PO price, as moving average price will updae in the master record.
    But here no reference. So only quantity updated with existing price. 
    So how to achieve the change of price ? Please help.
    Thanks,
    Aravind

    Hi Bijay,
    Thanks for the reply. I will use the posting method suggested by you.
    but how you are arriving  newly produced material quantity & price!
    The reply for your comment is,
    Every month My client company revise the price of the produced material based on various factors including the
    raw material purchase cost.
    The price will be fixed for the whole month.
    While posting the GRN, the accounts updated are,
    Dr  Material account
    Cr Production Cost
    Please let me know what you have asked is answered or not.
    So that i can brief more. This is my initial project. So your feedback is very helpful to me.
    Thanks,
    Aravind

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

  • 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 against a Inbound Delivery(VL32N) FM or BAPI Method

    Hi Expert,
       I am looking for a Function Module or BAPI Method to Confirm the Inbound Delivery i.e. that can post Goods Movement Against a Delivery Document.
    My scenario is Create PO-> create Inbound delivery-> post Goods Receipt.
    Regards,
    Kapil.
    Edited by: Kapil Kumar Gupta on May 5, 2011 2:46 PM

    In OSS note 520813 it is said:
    16. Question:
    Which goods movements should I not post using the BAPI_GOODSMVT_CREATE BAPI?
    Answer:
    You should not post the goods receipt for the inbound delivery using BAPI_GOODSMVT_CREATE BAPI because the document base and the status of the inbound delivery are not updated. See Note 199703.
    If you check OSS note 199703 you can see that it is valid from release 45 to release 500.
    Assigned to this note you can find another: 1050944 (it's worth of reading!!!).
    I feel there are contradictions here - it might possible that the first note (520813) is not updated properly. (As far as I remember in my case this BAPI was working properly too).
    In my opinion you should send a message to OSS and ask them whether the statement in note 520813 is still valid or not - you should also tell them that the referred note (199703) is not applicable to ECC6.0.
    (there's a setting in ECC6.0 which enables that document flow is updated if GR is posted via MIGO with reference to IBD - V_TVSHP-SPE_INB_VL_MM)
    I would like to ask you if you have a reply from them, please update this thread - it may be helpful for us.
    Edited by: Csaba Szommer on May 9, 2011 2:34 PM
    One more remark: (based on OSS note 1050944) it seems that you cannot use it only in case of packing (IBD with HU).
    Edited by: Csaba Szommer on May 9, 2011 3:05 PM

  • Post Goods Receipt before putaway

    Hi Experts,
    We're planning to implement SAP WM of SAP ECC 6.0. We're using inbound delivery for our goods receiving into the warehouse.  The process steps  that I found out from the SAP document is as follows:
    1.  Create inbound delivery
    2.  Pack if necessary
    3.  Putaway
    4.  Confirm Putaway
    5.  Post Goods Receipt
    We've business requirement to do the Post Goods Receipt before putaway.
    I do not find the configuration for this requirement.  
    Could some-one help me on this?  Any help on this would be greatly appreciated.
    Please send me the documents how to configure this.
    Thank you.
    with regards,
    Muthu Ganapathy.

    Hi Philip,
    Thank you for your response.  I have found-out the same option as you mentioned from the 4.6c release notes.  I tried and it's still not working.  Don't know the cause for not working.  Any thought on this?  Please let me know.
    Thank you again,
    with regards,
    Muthu Ganapathy.

Maybe you are looking for

  • Draft Documents View is empty for a specific user

    Hi, For a specific user, when he goes on the Document Draft Reports, the Sales Document sub-form is empty. Meaning that when he ticks the "Sales Documents" option, the boxes to choose specific Sales Document does not exist (e.g. Sales Quotation, Sale

  • BEx Analyzer: Formula Variable with Replacement path change Month with Day

    Hi experts I'm facing this issue in BEx Analyzer. I need to have some dates in format DD/MM/YYYY in Index Structure, in order to do this I've created a formula variable with replacement path referenced to 0CALDAY characteristic. The formula works but

  • Airport to Sony TV?

    Trying to connect a Sony TV via Airport. Is this possible?

  • Premiere Pro CC scrambles media in-outs when converting CS5.5 Project

    Bit of a strange situation here. Created a project in CS5.5, edited some WAV files on the timeline. WAV files had non-zero starting time codes (they were coming from ProTools). Opened the project in CC, said yes to conversion. About 20% of the clips

  • Basic modeling question

    Hi all,   I would like to allow reporting of some system logs stored in database tables (header and item) in BW.   I have the choice of storing it in an ODS object or an InfoCube.   Storing them in an ODS object is the first option I could think of,