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

Similar Messages

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

  • BAPI o FM for posting goods receipt of an inbound delivery

    Hi
       I have a program that post a goods receipt for an inbound delivery using batch input of transaction VL32 (in the first screen of this trx pushing button "Post Goods Recepit"). We need to change it for a BAPI o FM that makes the same process. I've seen other threads of the same issue that makes reference to BAPI_GOODSMVT_CREATE. I've checked it using value 05 of GM_Code
    (other goods receipt) but it doesn't work (I think the movement type I using is not compatible with the code 05). Can anybody tell me if this BAPI can do what i need? In that case, anybody have an example code?  I've seen other FM: MB_CREATE_GOODS_MOVEMENT. Is that a better choice? Example code will be much appreciated
    Thanks and regards
    Dani

    Check whether there is any BTE from FIBF and use it accordingly.
    Also check from SWEL whether any event is getting published when the GR is being done.
    If none of the above works try to find some user Exit where you can code the needful.
    Thanks
    Arghadip

  • How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level.

    How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N via Authorization or Role Level, There is a requirement from my client  and i propose two methode
    1- Creation of Ztcode ZVL32N and do changes ABAP program level
    2- Disablement via Authorization/Role level - but how can i find the auth object/ Authorization corresponds to POST GOODS RECEIPT button in VL32N

    I think you can make use of SHD0 - Transaction variant to achieve this. You can make it as grayed out while recording steps in SHD0.

  • Fields mapping IDOC WMMBXY to post Goods Receipt against Inbound Delivery

    Hi Friends
    I am testing Goods Reciept against Inbound Delivery using Inbound IDOC.
    IDOC Type used WMMBXY  and Function Module :
    System is giving erorr message as "Document does not contain any items".
    Kindly let me know segment data mapping for above IDOC type
    Following data are passed to segments,
    E1MBXYH-BLDAT  Document date
    E1MBXYH-BUDAT Posting date
    E1MBXYH- XBLNR  .. in this field i am passing Inbound Delivery number
    E1MBXYH- TCODE  ...  MIGO
    E1MBXYI-BEAKZ   ...  B Goods Receipt against Purchase Order
    E1MBXYI-MATNR     material number
    E1MBXYI-WERKS     Plant
    E1MBXYI-BWART    Movement Type
    E1MBXYI-LIFNR         Vendor code
    E1MBXYI-KZBEW      B
    E1MBXYI-POSNR      Item number in delivery
    E1MBXYI-VBELN       Inbound Delivery number
        E1MBXYJ-VLIEF_AVIS            Inbound Delivery number
        E1MBXYJ-VBELP_AVIS           Item number in Inbound Delivery
        E1MBXYJ-WM_KZBEW            Movement indicator
    Raj

    Hello,
    Did you recieve any answer or find a solution? I encounter a similar issue.
    Thanks in advance,
    Génia.

  • "Post Goods Receipt" is not allowed in VL32N

    Hello,
    I have a problem with GI in VL32N for an Inbound Delivery with several HU's.
    The message I get is:
    "Post Goods Receipt" is not allowed (HU  1835717)
    What I have already checked:
    1. The status of all HU's in this delivery seems to be correct
    2. All HU's are assigned to the delivery
    3. There was already an Inbound delivery created with reference to the Purchasing document (in our case Scheduling Agreement).
    4. There was never a HU with the same number before in the system.
    5. Inbound Delivery seems to be properly packed
    Now I have no idea what to do.
    Any suggestions appreciate.
    Regards,
    Grzegorz

    Thanks a lot for the suggestion.
    I put the breakpoint in the FM STATUS_CHECK and noticed it raises a STATUS_NOT_ACTIVE event after the following query:
    READ TABLE JEST_BUF WITH KEY MANDT = MANDT OBJNR = OBJNR
    STAT = STATUS BINARY SEARCH
    TRANSPORTING INACT.
    The field values are
    OBJNR HU0001835716
    STATUS I0512
    which is strange as it point on a different HU then one visible in the error message.
    On the other hand I have no idea where to find I0512.

  • Need BAPI for MIGO to create a Goods Receipt against PO &Outbound Delivery

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

  • BAPI for Post Goods Receipt - VL02N(SD) - Return Delivery

    Hi All,
    Could you plz tell me the bapi or function module or bdc for post goods rceipt for return delivery. I am ucing the bapi called BAPI_GOODSMVT_CREATE but it throughing an error. u can not do the these movement types.like this. Here i am using the movement types as - 632,651 and 653. could any one hlp me regarding this issue. its urgnt and i am not able to get the reason.it is working for normal delivery when i use the same for return delivey with the above movement types its not working.
    VL02N - return delivery number -
    > Post goods receipt.
    thnks
    yerukala setty

    Hi,
    Use BAPI 'BAPI_OUTB_DELIVERY_CHANGE'
    Check out this thread, this question is being solved before.
    bapi for vl02n about post goods issue
    Thanks,
    Krishna

  • How can I disable POST GOODS RECEIPT button in transactions VL31N/VL32N .

    Hi ,
    How can I disable POST GOODS RECEIPT button in VL31N/VL32N . 
    Its because, we wanted to use VL06I  to do PGR insted of VL32N.
    Thanks in advance.
    Rays

    Hi,
    if you have a look at program SAPMV50A then you can see that routine cua_exclude_dynamic is used to disable buttons dynamically. If you are on ECC6.0 then you can use implicit enhancement point to exclude code WABU_T which corresponds to "Post Goods Receipt". You can simply add the following lines at the end of this routine using implicit enhancement point.
    IF sy-tcode EQ 'VL31N' OR sy-tcode EQ 'VL32N'.
      PERFORM cua_fcode_allow USING 'WABU_T' no.
    ENDIF.
    Cheers

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Posting goods receipt against Inbound Delivery

    Hi,
    Our process is creating Purchase order with Confirmation control for Inbound delivery. Then we create a Inbound delivery.
    1) After inbound delivery is done we do PGR through VL32N, the system updates the PO history with GR along with the Inbound delivery no. as a reference document against the GR & also the Inbound delivery document flow is updated.
    2) But our problem is if we try to do Goods receipt through T-code MIGO against Puchase order or inbound delivery we are not getting reference no. updated in the PO history & also there is no update in the document flow. Also the inbound delivery remais open.
    Can you explain why this is happening?
    Regards,
    Sagar

    Hi Sagar,
    It is very much possible to do GR using MIGO and document flow will also be updated, you have to do certain config settings for this which is as follows:
    in SPRO go to Logistics execution - Shipping - Basic shipping functions - Configure global shipping data - tick document flow update.
    Now when you check in Table VBFA you will get the Material Document No. in field VBELN and the status shall aso be updated and inbound delivery will be closed after complete GR.
    Hope it solves your problem

  • Perform Post Goods Receipt Against Scheduling Agreement

    Dear all,
    I've weird problem here. This is concering GR against Scheduling Agreement. I've a "LPA" type Scheduling Agreement and all the delivery schedule maintained and schedule line released successfully in ME38.
    When I do GR via MIGO by entering the Scheduling Agreement #, a prompt was given with no items selected. Note: My schedule line delivery date = GR posting date.
    What I did was, inside MIGO I go to Settings | Default Values and check on "Propose All Items". Finally, the affected line item appears but with "blank" quantity. So, I key in the actual quantity per the released schedule line and complete the GR posting successfully.
    Question 1: Why do I need to perform the MIGO propose all items setting? Normal PGR against PO doesn't require this.
    Question 2: Is this a standard SAP behavior or I'm doing PGR - scheduling agreement process the wrong way?
    Appreciate any expert clarification.
    Thanks in advance.
    Steven

    Hi Jurgen,
    I've read Notes 493404 and I'm facing Question 10
    10. Question:
    For the goods receipt for the scheduling agreement the system displays error M7 064: "Document xx does not contain any selectable items".
    Answer:
    A possible reason is that the document is subject to a release strategy and has yet to be released. You can check this using transaction ME33 and release it subsequently if necessary.
    Another reason can be that although a confirmation control key that contains a confirmation category with GR assignment has been maintained for the scheduling agreement item, this category has yet to be confirmed. You can check this using transactions ME33 and OMGZ. If necessary, create the relevant confirmation.
    Another reason may be that no undelivered schedule line exists up to the posting date. If nevertheless you want to post the GR, you can use transaction ME38 to bring the next schedule line date forward, or in transaction MB01 you can select the "Suggest Zero Lines" field or in transaction MIGO the "Propose All Items" field under Settings - Default values.
    From the snapshot of the notes 493404 above:
    1. I don't have a release strategy for the scheduling agreement. Have checked via ME33L
    2. I didn't implement any confirmation control in the scheduling agreement. Have checked via ME33L
    3. I've a delivery schedule line up to the posting date. In my scenario, schedule line date = GR posting date
    Therefore, I'm still truly puzzle with the system behavior. Any further help will be most appreciated.
    Thanks.
    Steven

  • Goods receipt of packed inbound delivery is not allowed

    Dear all,
    I have a  scenario that as per of business process,i have to post Packed inbound delivery in MIGO .
    But i am getting an error says inbound delivery cannot be packed during posting in MIGO. I know that i can post it through VL32N without any problem. Since i need to capture damage,short or excess and some reference numbers and date of production and expiry for the items i need to post through MIGO option instead of VL32N.
    I have already checked in our client IDS ,it is allowing to pack without any errors  but in Development  server i am getting this error.
    I changed the item category control ELP of inbound delivery also but  of no use .
    Any hindsights on this both funtionally or tecnically will be of great help.
    Thanks and regards,
    Jothiswaran.
    Edited by: A. Jothiswaran . on Nov 12, 2009 8:32 PM

    Hello,
    To my knowledge packing through MIGO is not possible.
    If your SLOC is HU managed and you have done the configuration of u201Cdefault value of delivery and HU requirementu201D
    SPROLGHandling Unit ManagementBasicMaterial managementInventory managementsecond option, then your issue will be solved.
    In this case, when you post the MIGO with all information you will get IBD delivery number and not material document number. After that you can pack the material in IBD
    Thanks
    Milind

  • Create Goods Receipt with an Inbound Delivery

    Hi,
    Can you anybody help me, how to create a Goods Receipt with correspond to Inbound Delivery.
    Which FM or BAPI avaliable for this. Anybody did it before please pass to me with details?
    Thanks in Advance
    Cino C B
    Edited by: Cili on Feb 11, 2008 8:19 PM

    Check BAPI_GOODSMVT_CREATE
    Look at the documentation if you want to make a goods issue or a good receipt for purchase order or production order, etc.
    Inbound delivery only means is going to enter the plant (ie. mvt 101)

  • Workflow for Goods receipt of an Inbound delivery

    Hello,
    My requirement is to create a workflow when a GR is done for an Inbound delivery. I was able to get the business objects MKPF,MSEG to use and relevant events. The problem is to publish the event in the system when the GR is done. GR is carried out using the Tcodes 'VL32N' and MIGO_GR.
    Could someone please let me know as to how I can publish the event in the system so that I can link it to the workflow that I am going to design?
    Best Regards,
    Samson

    Check whether there is any BTE from FIBF and use it accordingly.
    Also check from SWEL whether any event is getting published when the GR is being done.
    If none of the above works try to find some user Exit where you can code the needful.
    Thanks
    Arghadip

Maybe you are looking for

  • First backup is taking forever (more than two days) in my MacBook Air

    First backup is taking forever , painfully slow, I am using MacBook Air, what can I do to speed things up. is there a particular way to set TC up ?? I set it up to join an existing wireless network, is this right or wrong? I just need a few tips to m

  • IPAQ hx2495b Program issues

    I have an iPAQ hx 2495b hand held PC..Two programs on it don't work and give me errors. Is there anyway I can delete the programs and download the programs from Internet to make them work? Also when I connect the handheld PC to my desk top via USB po

  • 0RecordMode, ODS and Generic Data

    I have created a Generic Datasource in R3 from a Y table. I will not be doing a generic delta on it. I replicated the datasource to BW and activated the necessary Transfer & Communication Structure. Now i want to store all the data in an ODS, but whe

  • Stocks app in iOS8 problem

    Had iPhone 4s and had number of companies listed on the stocks app that is one of the built in apps. Just upgraded to iphone 6 with ios8 and the stocks app cannot find some of those same companies. My wife's 5s now running ios8 also exhibits same pro

  • HD DVD: H264 does it work with DVD STUDIO PRO

    I compressed a HD movie from FCP via COMPRESSOR using the HD DVD: H.264 setting, then made a HD DVD in DVD Studio Pro (1280 x 720). It played fine in the Simulator, but then I used Advanced Format & Burn to make a DVD to the Hard drive (img). When it