Reversing a post goods receipt

Hi,
It seems we have completed multiple return deliveries using the post goods receipt button, This movement was completed using 651.
Trying to cancel / reverse and hopefully return this to it's original SLOC, it errors and saying that movement 654 1 L does not exist.
Do you have any other suggestions?
Message was edited by:
        Steven Doyle

Hi,
VL09 should use the correct movement type automatically (which will probably be 652 as suggested).
Have you tried VL09 is this what gave you the message?
Also are you sure that it is a 1 in the message 654 1 L ?
Steve B
Message was edited by:
        Stephen Birchall

Similar Messages

  • Reverse post good receipt?

    hi,
    using VL09 to reverse PGI, but how about PGR? If i dont it wrong, i cannot use VL09 to reverse. Any idea? thanks

    Hi,
    You can reverse the Post Goods Issue using VL09. That means ur taking back the stock before you are doing billing in this situation.
    Where as Post Goods Receipt means after doing return order and return delivery from the customer you are taking the stock back. Once after doing PGR your stock in the plant level will be updated with the returned stock.
    You cant reverse this post goods receipt. If you want to do reverse the post goods receipt means you want to give the stock back to the customer. Then at this situation you cant do simple as reverse of PGI.
    You have to do complete sales cycle once again, from sales order, delvery and PGI.
    Hope this is clear.
    Reward if helpful.
    Thanks,
    Praveen

  • Reversal of a goods receipt for PO in EUR is differently valuated.

    Hi,
    Do you know how can i solve such problem:
    The return delivery or reversal of a goods receipt for a purchase order, scheduling agreement, or production order is valuated differently than the original goods receipt becouse system takes exchane rate form the posting date. I wolud like to have such solution that system would take exchane rate from dokument date. Is that possible?
    Maby you know some sap Notes?
    Thanks for reply.
    Katarzyna Gac
    Edited by: Gac Katarzyna on Jun 10, 2009 3:47 PM

    Hi
    In the header of the PO there is a provision.
    Check the box in the header Exchange rate fix Under the Tab Delivery/Invoice.
    Exchange rate will be fix  from then onwards.
    I am suggesting for PO because for external procurement PO will always come into picture.
    Regards
    Ankur

  • Not able to post goods receipt trcode MB1c

    hi problem in posting the gr (mb1c)
    when i am trying to post goods receipt i am getting the message
    ctr1000/testcc is not assigned to a business area.
    but when i am trying to assign a business area to cost centre testcc
    it is giving the message that transaction data already exists.
    please note 1000 is my co code
    1000 is my controlling area
    test cc is my cost centre.

    Hi,
    Good afternoon and greetings,
    I presume there should be a transaction already existing for that particular cost centre and that is the reason it is not allowing you to do the change...go to the cost centre reporting and reverse the old transaction and then make the changes and post the new transaction using MB1C.
    Please reward points if found useful.
    Thanking you,
    With kindest regards
    Ramesh Padmanabhan

  • Post Goods Receipt

    Hi,
    To do Post goods receipt against Inbounnd Delivery..i am using Bapi....BAPI_GOODSMVT_CREATE...
    The BAPI gives an error for any movement type given...
    I have used Movement type 101 that comes directly from the delivery table LIPS
    WHAT shud be done...
    Vinotha M.
    Message was edited by: Vinotha M

    Dear all
    Bapi BAPI_GOODSMVT_CREATE could be used to post goods receipt against inbound delivery but in consequence no Delivery document flow is updated. This is official SAP explaination.
    But there is solution to accomplish it. After posting goods movements you should update Inbound Delivery using fm SD_DELIVERY_UPDATE.
    Check following coding:
    form process_0112.
      clear post_status.
      post_status-delivery = wa_likp-vbeln.
    * posting
      perform post_goodsreceipt     changing post_status.
      perform post_delivery_hist    changing post_status.
      perform post_transferorder    changing post_status.
    * reversal posting if necessary
      perform reverse_goodsreceipt  changing post_status.
      perform reverse_delivery_hist changing post_status.
    * display message in case of error
      perform issue_message         changing post_status.
    * leave transaction
      leave to transaction sy-tcode.
    endform.                    " process_0112
    form post_goodsreceipt changing post_status structure post_status.
    * DATA DECLARATION
    * material document header
      data: begin of it_head.
              include structure bapi2017_gm_head_01.
      data: end of it_head.
    * T158G special code
      data: begin of it_code.
              include structure bapi2017_gm_code.
      data: end of it_code.
    * material document returned data
      data: begin of it_rthead.
              include structure bapi2017_gm_head_ret.
      data: end of it_rthead.
    * material document items
      data: begin of it_pos occurs 100.
              include structure bapi2017_gm_item_create.
      data: end of it_pos.
    * error table
      data: begin of it_errmsg occurs 10.
              include structure bapiret2.
      data: end of it_errmsg.
    * return data
      data: post_mat_doc  type bapi2017_gm_head_ret-mat_doc,
            post_doc_year type bapi2017_gm_head_ret-doc_year.
    * FILL DATA
    * material document header
      it_head-pstng_date  = sy-datum.           
      it_head-doc_date    = sy-datum.           
      it_head-header_txt  = 'RF'.               
      it_head-pr_uname    = sy-uname.
    * T158G code
      it_code-gm_code     = '01'.
    * material document items
      loop at it_lips into wa_lips where posnr <> space.
        it_pos-mvt_ind              = 'B'.
        it_pos-deliv_numb_to_search = wa_lips-vbeln.
        it_pos-deliv_item_to_search = wa_lips-posnr.
        it_pos-po_number            = wa_lips-vgbel.
        it_pos-po_item              = wa_lips-vgpos.
        it_pos-move_type            = '985'.
        it_pos-entry_qnt            = wa_lips-rv_lfimg.
        append it_pos.
      endloop.
    * CALL BAPI
      refresh: it_errmsg.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header             = it_head
          goodsmvt_code               = it_code
        importing
          materialdocument            = post_mat_doc
          matdocumentyear             = post_doc_year
        tables
          goodsmvt_item               = it_pos
          return                      = it_errmsg.
    * check result
      if post_mat_doc is initial.
        post_status-post_mat_doc  = space.
        post_status-post_doc_year = space.
        rollback work.
      else.
        post_status-post_mat_doc  = post_mat_doc.
        post_status-post_doc_year = post_doc_year.
        commit work and wait.
      endif.
    endform.                    " post_goodsreceipt
    form post_delivery_hist changing post_status structure post_status.
    * DATA DECLARATION
      data: it_vbfa    like vbfa occurs 0,
            wa_vbfa    like vbfa.
    * CHECK IF UPDATE DELIVERY IS ESSENTIAL
      check not post_status-post_mat_doc  is initial
      and   not post_status-post_doc_year is initial.
    * POPULATE TABLE
      loop at it_lips into wa_lips where posnr <> space.
        clear wa_vbfa.
        wa_vbfa-vbelv = wa_lips-vbeln.
        wa_vbfa-posnv = wa_lips-posnr.
        wa_vbfa-vbeln = post_status-post_mat_doc.
        wa_vbfa-vbtyp_n = 'R'.
        wa_vbfa-vbtyp_v = '7'.
        wa_vbfa-plmin   = '+'.
        select single zeile waers menge dmbtr meins matnr bwart
          from mseg
            into (wa_vbfa-posnn, wa_vbfa-waers,
                  wa_vbfa-rfmng, wa_vbfa-rfwrt,
                  wa_vbfa-meins, wa_vbfa-matnr,
                  wa_vbfa-bwart)
              where mblnr = post_status-post_mat_doc
                and mjahr = post_status-post_doc_year
                and ebeln = wa_lips-vgbel
                and ebelp = wa_lips-vgpos.
        append wa_vbfa to it_vbfa.
      endloop.
    * UPDATE DELIVERY
      data:    begin of yvbfa occurs 0.
                 include structure vbfavb.
      data:    end of yvbfa.
      data:    begin of xvbfa occurs 0.
                 include structure vbfavb.
      data:    end of xvbfa.
      data:    begin of xvttk occurs 0.
                 include structure vttkvb.
      data:    end of xvttk.
      sort it_vbfa by mandt vbelv posnv vbeln posnn vbtyp_n.
      loop at it_vbfa into xvbfa.
        xvbfa-rfmng_flt = xvbfa-rfmng.
        xvbfa-updkz = 'I'.
        append xvbfa.
        at end of vbelv.
          call function 'SD_DELIVERY_UPDATE'
               exporting
                    i_vbtyp          = '7'
                    nicht_sperren    = 'Y'
                    no_imseg_refresh = 'X'
               tables
                    zxvbfa        = xvbfa
                    zyvbfa        = yvbfa
                    zxvttk        = xvttk
               exceptions
                    others        = 1.
          if sy-subrc <> 0.
            exit.
          endif.
          refresh xvbfa.
        endat.
      endloop.
    * check result
      if sy-subrc <> 0.
        post_status-post_deli_hist  = 'R'.
        rollback work.
      else.
        post_status-post_deli_hist  = 'C'.
        commit work and wait.
      endif.
    endform.                    " post_delivery_hist

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

  • Error while posting goods receipt

    Hi All,
    I am getting error message while posting goods receipt.
    The error says posting only possible 2007/06.....
    Thanks in advance
    kumar

    Go to MMPV give your company code and the period and the fiscal year and execute.
    Regards'
    Navin

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

  • 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

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

  • Partial reversal of a goods receipt from process order

    Dear All
    Could anyone please help me with explaining how to do a partial reversal of a goods receipt from process order? If Iu2019m using trans CORS I have to cancel the entire operation, which I donu2019t want to do. If Iu2019m using MIGO and MT 102 I only reverse the goods receipts of the produced material, the corresponding components from the BoM is not reversed with MT 262 as they are if I cancel with CORS, and I donu2019t want to do a second MIGO transaction in which I cancel the components with MT 261. I have also tried to create an operation with a negative quantity, but without any success.
    Itu2019s not an option for the business to reverse the entire quantity and then perform a new goods receipt with the right quantity.

    Hi again,
    I have been trying to do the reversal with CORR but Iu2019m getting the error message u201CMixed confirmation types (time ticket/time event) are not allowedu201D, message number RU179.
    Anyone who can help me on the way?
    /WM consultant on unknown territory

  • 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

Maybe you are looking for

  • Issue with ovi support page. issue with bought app...

    first if all i cannot fill inn support  form just becasue when im choosing issue tipe page is redirecting and i cant chose the issue tipe! email on [email protected] is also fails i ve got some problems with ovi store. some apps which were bought whi

  • Searching for a Reporting Tool for Oracle 11g

    Hello, I have created several OLAP-Cubes with the Analytic Workspace 11.1.0.7.0B on the Oracle Database 11g. Now I need a Tool for Creating some Reporting. I have Oracle BI Spreadsheet Add-In Version 10.1.2.3 for Microsoft Excel. I have installed it

  • EM Cloud Control 12c has no databases

    Hello @ all, i've installed Enterprise Manager Cloud Control 12.1.0.2.0 on a virtual machine with RedHat Linux 6 and configured the EM by installing it so, that he should connect to my test database server with Oracle 11g 11.2.0.3.0 to watch over tha

  • Integrated WL/Jdeveloper class loading issue

    Hello, I am trying to run a deployed project , getting into this class loading issue. Any idea? javax.security.auth.login.LoginException: java.lang.LinkageError: loader constraint violation: when resolving interface method "com.scat.util.identity.Use

  • Initialising a list, with values - how to?

    Hi I want to create a list with some values already in it - how do you do this? I know the constructor is List<Integer> = new ArrayList<Integer>(); but how would I create a new list already containing the following values at construction time?: [2447