No FI Doc created from return delivery transaction.

Dear Guru,
I did open PO for asset procurement. All processes from PO creation until LIV and payment were completed successfully. Depreciation was run for asset purchased for the period 9. After that period was closed successfully. In period 10, asset purchased in period 9 must be returned to vendor. I did issue credit memo and do return delivery (using MIGO). However, I found that FI doc was not generated and account was not posted. What is the cause and solution to the problem? Thank you very much.
Cheers,

Hai
Try to reverse the depreciation documents first and then return the asset
Regards
lakshmi

Similar Messages

  • How to default current date in MIGO while creating a return delivery

    HI,
    While creating the return delivery using 122 mov type, system is defaulting the document date of the original doc which is being referred as the document date of the return delivery document.
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

    HI,
    My question is,
    How we can make the system to populate current date as document date automatically, even though we are referring a material doc to create the return delivery. Pl suggest.
    Regards,
    Robin

  • Can we create cancellation/return delivery with BAPI_CONFEC_CREATE

    hi experts,
    i want to use the above BAPI to create cancellations and return deliveries in SRM 7. i am not able to figure out the exact data that needs to be passed to the BAPI to create cancellation/return delivery. i have used class approach to do the same and able to create them, but i am specifically interested in FM/BAPI
    does anybody used this BAPI to create cancellations?
    thanks

    hi,
    i could not make this BAPI work for cancellations but found another way of doing confirmations and cancellations using std FMs
    here is the code for confirmation
    CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
       EXPORTING
         I_OBJECT_ID                      = is_conf_header-po_number
         I_WITH_ITEMDATA                  = 'X'
       IMPORTING
         E_HEADER                         = ls_header
         ET_ATTACH                        = lt_attach
       TABLES
         E_ITEM                           = lt_item
         E_ACCOUNT                        = lt_account
         E_PARTNER                        = lt_partner
         E_LONGTEXT                       = lt_longtext
         E_ORGDATA                        = lt_orgdata
         E_TAX                            = lt_tax
         move-corresponding ls_header to ls_new_header.
    ls_new_header-process_type = 'CONF'.
    ls_new_header-subtype = 'CF'.
    ls_new_header-src_object_type = 'BUS2201'.
    ls_new_header-src_guid = ls_header-guid.
    clear ls_new_header-object_id.
    loop at lt_item into ls_item.
      read table it_conf_items into ls_conf_items with key po_item_number = ls_item-number_int.
    if sy-subrc ne 0.
      continue.
      endif.
      move-corresponding ls_item to ls_new_item.
      ls_new_item-src_object_type = 'BUS2201001'.
      ls_new_item-src_guid = ls_item-guid.
      ls_new_item-final_entry = ls_conf_items-final_entry.
      ls_new_item-quantity = ls_conf_items-quantity.
      append ls_new_item to lt_new_item.
      endloop.
    loop at lt_partner into ls_partner.
       move-corresponding ls_partner to ls_new_partner.
       append ls_new_partner to lt_new_partner.
       endloop.
       loop at lt_orgdata into ls_orgdata.
         move-corresponding ls_orgdata to ls_new_orgdata.
         append ls_new_orgdata to lt_new_orgdata.
         endloop.
    loop at lt_account into ls_account.
       move-corresponding ls_account to ls_new_account.
       append ls_new_account to lt_new_account.
       endloop.
    lv_src_guid = ls_header-guid.       .
    CALL FUNCTION 'BBP_PD_CONF_CREATE'
    EXPORTING
      I_SAVE                           =  'X'
       I_HEADER                         = ls_new_header
       I_SRC_GUID                       = lv_src_guid
       IT_ATTACH                        = lt_new_attach
    IMPORTING
       E_HEADER                         = ls_e_header
       ET_ATTACH                        = lt_e_attach
      TABLES
      I_ITEM                           = lt_new_item
       I_PARTNER                        = lt_new_partner
       I_ORGDATA                        = lt_new_orgdata
       E_ITEM                           = lt_e_item
       E_ACCOUNT                        = lt_e_account
       E_PARTNER                        = lt_e_partner
       E_ORGDATA                        =  lt_e_orgdata
        e_messages                       = lt_new_message
    et_msg[] = lt_new_message[].
    ls_conf_documents-doc_number = ls_e_header-object_id.
    append ls_conf_documents to et_conf_documents.
    CALL FUNCTION 'BBP_PD_CONF_SAVE'
    EXPORTING
        IV_USERTYPE               = 'X'
       IV_HEADER_GUID            = ls_e_header-guid
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT
    code for cancellation
    get all the confirmations created for the PO
        CALL FUNCTION 'BBP_PD_CONF_GETLIST'
          EXPORTING
            i_for_po_id = is_conf_header-po_number
          TABLES
            e_pdlist    = lt_pdlist
            e_messages  = lt_msgs.
    delete GRS which are cancelled
        LOOP AT lt_pdlist INTO ls_pdlist WHERE subtype EQ 'CA'.
          DELETE lt_pdlist WHERE guid = ls_pdlist-src_guid.
        ENDLOOP.
    delete the cancelllation documents. we don't need them anymore
        DELETE lt_pdlist WHERE subtype EQ 'CA'.
        loop at lt_pdlist into ls_pdlist.
          CALL FUNCTION 'BBP_PD_CONF_GETDETAIL'
           EXPORTING
              I_GUID                           =  ls_pdlist-guid
              I_WITH_ITEMDATA                  = 'X'
          IMPORTING
             E_HEADER                         =  ls_conf_hdr
           TABLES
             E_ITEM                           =  lt_con_items
             E_PARTNER                        =  lt_con_partner
    move-corresponding ls_conf_hdr to ls_new_header.
    ls_new_header-process_type = 'CONF'.
    ls_new_header-subtype = 'CA'.
    ls_new_header-src_object_type = 'BUS2203'.
    ls_new_header-src_guid = ls_conf_hdr-guid.
    clear ls_new_header-object_id.
    loop at lt_con_items into ls_con_items.
      move-corresponding ls_con_items to ls_new_item.
      ls_new_item-src_object_type = 'BUS2203001'.
      ls_new_item-src_guid = ls_con_items-guid.
      append ls_new_item to lt_new_item.
      endloop.
    loop at lt_con_partner into ls_con_partner.
       move-corresponding ls_con_partner to ls_new_partner.
       append ls_new_partner to lt_new_partner.
       endloop.
          lv_src_guid = ls_conf_hdr-guid.
    after that call BBP_PD_CONF_CREATE as we did for the confirmation followed by BBP_PD_CONF_SAVE and commit work.
    Edited by: SRM7CON on Mar 7, 2012 12:04 PM
    Edited by: SRM7CON on Mar 7, 2012 12:25 PM

  • Unable to create Vendor return delivery from blocked stock

    Hello,
    Would like to know how to enable delivery picking from blocked stock.
    Some back ground : I am using Delivery type RL (Vendor returns). Required config is done in IMG.
    In our process we move defective material to blocked stock. Next create a Return PO to pick material from blocked stock.
    Next use VL10b to create delivery document against this PO.  We are able to create delivery & PGI from blocked stock.
    All above steps are executing seamlessly without any issue In our QA system.
    However in PROduction system delivery document does not find any qty in blocked stock inspite of being in the blocked stock.
    Please let me know where I could find the setting to enable delivery shipping/ PGI from blocked stock.
    Look forward to some good responses.
    Thanks,
    Ram

    Prerequisites
    When you enter a return delivery, you should reference the purchase order or the material document, so that the system can:
    Suggest data to simplify data input (for example, the storage location)
    Check that the returned quantity does not exceed the delivered quantity
    Reduce the quantity delivered to date
    Reverse other updates that occurred (for example, for a goods receipt into consumption) when the goods receipt was entered
    Before you enter a return delivery with reference to a purchase order, you have to determine whether the goods were posted to stock or to consumption, or whether they were posted into goods receipt blocked stock. If you posted the goods to a particular stock type at goods receipt (for example, quality inspection stock), you have to return them from the same stock type.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a5/63351643a211d189410000e829fbbd/frameset.htm

  • How to create the return delivery in MM

    Hi,
    Please let me know the detailed steps as to how to create the breturn delivery for the Po in MM with reference to Advanced shipping notification in sus.
    Our ins MM-XI-SUS scenario.
    thanks,
    Manu

    Table MARDH has been introduced from version 4.6B. This table represents history stock i.e. stock for previous months.
    Stock for previous month gets updated in table MARDH when the transaction takes place in the current month. e.g. if a material is having stock of 30 nos. as 30th April'06 and there is goods issue for this material on 5th May'06 for 5 nos. then entry will get updated in table MARDH for month 02 (assuming fiscal year is from April to March) with stock qty as 30 nos. If no transaction takes place then entry will not flow to MARDH.
    Hope the above is clear.
    Regards
    Rakesh Pawaskar

  • No stock update/material document created for return delivery

    Hi,
    I have created a customer returns delivery in transaction VL01NO, without any reference to a sales order.
    I have filled in necessary information such as quantities for picking, such as plant, shipping point, delivery/picked quantity...but when I press the goods receipt button, the stock quantity for blocked stock returns is still zero (transaction MMBE). No material document is generated for my action either.
    Statuses in the delivery is: Picking=C, Confirmation=C and Goods issue=C.
    The only documents I can see in the Document flow is a Picking request and a confirmation of service.
    Does anyone know what is wrong? I would prefer not to start with a sales order, but do I have to in order to trigger a movement type for this return delivery?
    Thanks,
    Lars

    I guess I need to assign a schedule line category
    Absolutely.   Go to VOV5, select your item category for returns and maintain schedule line category there.  As you would be aware, the standard schedule line category for returns is DN
    thanks
    G. Lakshmipathi

  • Payment of Expense Report invoice created from credit card transactions

    We are implementing corporate credit cards into iExpenses using the company pay method. When expense reports are created from aquitting credit card transactions and exported into Payables does anyone know if it is possible to pay the expense report invoice that has been created without needing to run the Create Credit Card Issuer Invoice program? The reason for this question is that I want to avoid running this program as our credit card provider direct debits our account from our bank account rather than us transmitting the funds to them and don't need to create an invoice for the credit card provider. Any assistance would be gretly appreciated. Thanks

    Hi  Harry
    You can use the badi TRIP_POST_FI   .you can create custom table & mention the different symbolic account number  & change your  symbolic account based on your expense type by using the above badi. While you do FI posting  your expense types will get posted in two hit two different G/L account
    It will surely solve your problem.. I had same issue in my earlier project which i have done the above solution.
    Thanks
    Anwar Hossain

  • How Billing doc.created from purchase invoice in Third Party Sale

    Hi All
    Our client requirement  has been mapped as sap third party sales process .
    But if the vendor is delivering less qty .  than the qty. for which Sales ordered  has been  created, How to create the  Sales billing Doc.  according to the purchase invoice so that Sales Billing  Doc. should be created for the delivered qty. only .
    Please suggest the configuration  & how the data is flowing from the Purchase Invoice to the Sales Invoice.
    Thanks in advance
    Ashok

    Hi
    you can achieve your requirement by following
    T-Code  VTFA (copy control Order to Billing)
    use you Third party order type and billing type
    Go to Item category (if Standard use TAS)
    there is a option "BILLING QUANTITY"
    user there "E" Goods receipt quantity less invoiced quantity"
    Hope it will solve your problem
    Cheers
    Shambhu Sarkar

  • IDOC to create from outbound delivery from sales order as INBOUND process

    Hi Experts,
    We have third party interface for sales processing. Sales order, Outbound delivery and PGI will be done in Third party software and XML files will be send to SAP.
    We have to process this XML file into SAP with IDOC.
    Sales order processing is done but i am not able to find correct IDOC type for creating outbound delivery.
    Can you suggest Basic IDOC type / Message type and process code for the same.
    Regards,
    Sahadev Abhyankar

    Good morning !
    In the transaction WE20 to create the customer EDI  KU with EM function.
    Output parameter: message type DESADV and basic IDOC DESADV01.
    I associate the IDoc message type to LAVA, you should link it to the XML file, that is not how.
    Please : Could you please explain how you linked the XML file to IDOCS to create sales order ?
    Sorry for my poor English
    A greeting.

  • No Accounting doc created from billing doc

    Hi,
    i created a new invoice from Billing (SD) and saved it, but the accounting document is not created for it.
    what might be the reason?
    how do i get this invoice posted to accouting?
    Thanks,
    Shilpa

    1.   VF02:  Check the billing date u2013 make use the posting date is valid (i.e. posting period not closed) as this the common cause of SD billing not posted to FI/Accounting
        To correct billing date u2013 Goto > Header > Billing date
        Accounting doc will be created as soon as you save Billing with correct date
    2.  Enter billing document # in VF02 (screen 101)
    (Menu bar on top) Billing document > Release to Accounting > The system will prompt a descriptive message for the problem
    Hope this helps.
    Stacy

  • Adobe 8 crashes when closing doc created from PDDoc.OpenAVDoc

    I am having trouble closing Pdf objects using Acrobat Pro 8xx. The following VBA code has worked successfully with Acrobat 6 & 7, but not with 8. We are using current pc's with Windows XP (latest SP's) and we have just upgraded to Acrobat 8.1.2.
    In VBA I basically insert pages from any combination of PDF books into a new PDF book (using PDDoc.OpenAVDoc(temporary object)). Then I open the completed book for viewing (without first having saved the book). The book opens correctly, but the following error occurs when the document is closed by the user. Acrobat then crashes and needs to be restarted.
    The instruction at "0x03072b95" referenced memory at "0x00000008". The memory could not be "read". This doesn't happen with Acrobat 6 or 7.
    The problem is resolved when I save the book first and then open, but I dont want to do that because these books are temporary and a large amount of books are generated on a daily basis by many users and I dont want to have to clean them up.
    Also there are a couple of reasons why we insert pages from existing books into a temporary book, rather than just opening up the individual books:
    1. Each book is an individual part drawing. The temp book groups the individual part drawings to make a complete part assembly. Each book may have a different combination of parts inserted into it.
    2. Each book (part) is published from a CAD file and sometimes revisions need to be made to an existing part. If the part book was open for viewing when the revised part was published, then the PDF will not be able to overwritten because it is locked for viewing.
    The following is a watered down version of the VBA code that I use. Any suggestions would be appreciated.
    Option Explicit
    Public Sub CreateTempBook()
    Dim oPdfApp As Object
    Dim oPdfPartPdDoc As Object
    Dim oPdfTempPdBk As Object
    Dim sPdfDocPath As String
    Dim iResult As Integer
    sPdfDocPath = "C:\TestPart.pdf"
    Set oPdfApp = CreateObject("AcroExch.App")
    Set oPdfTempPdBk = CreateObject("AcroExch.PDDoc")
    Set oPdfPartPdDoc = CreateObject("AcroExch.PDDoc")
    iResult = oPdfTempPdBk.Create 'Create blank temp book to receive part PDF
    iResult = oPdfPartPdDoc.Open(sPdfDocPath)
    iResult = oPdfTempPdBk.InsertPages(-1, oPdfPartPdDoc, 0, 1, 0) ' Insert part page(s) into Temp book
    oPdfPartPdDoc.Close 'Close Pdf
    If iResult = 0 Then
    oPdfTempPdBk.Close 'Close book as no pages were inserted
    Else
    oPdfTempPdBk.SetPageMode 2 'PDUseThumbs - show Pdf with thumbnail (page) tab
    oPdfTempPdBk.OpenAVDoc ("TempDocName") 'Open the object (to make visible)
    oPdfTempPdBk.ClearFlags (-1) 'Clear flags so no prompt to save shown on close
    oPdfApp.Maximize 1 'Maximize Acrobat
    End If
    Set oPdfApp = Nothing
    Set oPdfPartPdDoc = Nothing
    Set oPdfTempPdBk = Nothing
    End Sub
    Note this message has been relocated from the Acrobat Windows forum.

    PDL,
    Thanks for advice on clearing the save prompt. I now understand the ClearFlags (-1) may not have bene used correctly, but note it did not cause Adobe 6 or 7 to crash.
    Ultimately I am not worried about the user being prompted to save the new document. They can always hit cancel. Removing the save prompt is just tidier.
    I have tried your suggestion, but when I close the oPdfTempPdBk document down in Acrobat I get asked to save the document (the save prompt is shown) and regardless of which selection I make Adobe still crashes. Updated code:
    If iResult = 0 Then
    oPdfTempPdBk.Close 'Close book as no pages were inserted
    Else
    oPdfTempPdBk.SetPageMode 2 'PDUseThumbs - show Pdf with thumbnail (page) tab
    oPdfTempPdBk.OpenAVDoc ("TempDocName") 'Open the object (to make visible)
    Dim oPdfJSObj As Object
    Set oPdfJSObj = oPdfTempPdBk.GetJSObject
    oPdfJSObj.Dirty = False
    oPdfApp.Maximize 1 'Maximize Acrobat
    End If
    I have also removed all reference to making the document clean and setting the Acrobat view, but Acrobat still crashes. Revised code:
    If iResult = 0 Then
    oPdfTempPdBk.Close 'Close book as no pages were inserted
    Else
    oPdfTempPdBk.OpenAVDoc ("TempDocName") 'Open the object (to make visible)
    oPdfApp.Maximize 1 'Maximize Acrobat
    End If
    Any further suggestions would be appreciated.
    Thanks Tony

  • Returns Processing using Inbound delivery transaction VL31N or BORGR

    Hi Experts ,
    Our business Requirement is to use  VL31N /BORGR to process the return deliveries .
    The Standard Functionality of this transaction is restricted to manage the Inbound Processing (Deliveries from Suppliers u2013 Document Category u20187u2019 (Shipping Notification) .
    My question is can we enhance the SAP code to process the retuns delivery  .
    Is it possible to achieve this functionality via Customizing .
    If anyone had such business requirement  and if you a solution for this please help  << Moderator message - Everyone's problem is important >>.
    Regards,
    Rupa
    Edited by: Rob Burbank on Oct 19, 2010 3:25 PM

    Hi ,
    Which kind of return delivery are you speaking about?
    Yes the deivery  is return to vendor .
    Yes we will be  create the return delivery using VL01N  with reference to returns Sales Order .
    But after this oulbound deilvery is created Our business requirement to use BORGR transaction to process it further.
    The BORGR transaction is used for Admin Goods reciept multi GR Posting  and it used to handle only the inbound deliveries only .
    I want to know is it possible to completly process the oubound deliveries using an inbound dleivery transaction  if we modify the SAP code .
    Just want to know if i modify the SAP code using enhancements will the existing SAP code of this program support such deliveries .
    Regards ,
    Rupa

  • Creating Returns Delivery for RMA (Sales order)

    Hi Experts,
    I have a buisness requirement to create a returns delivery for RMA entered.
    I tried out the function modules RV_DELIVERY_CREATE,
                                                 GN_DELIVERY_CREATE
                                                 SHP_VL10_DELIVERY_CREATE
    But i am not sure what are the exact parameters to be passed to this function modules
    Please provide any sample code if available used for the same.

    Hi,
    In GN_DELIVERY_CREATE, the messages are collected in tables XVBFS. The details have to be passed to XKOMLGN and VBSK_I.
    To get the delivery number, you have to use function module NUMBER_GET_NEXT. Number range object is 'RV_SAMMG'.
    Hope it helps.
    Sujay

  • Return Delivery PO not coming in VL10B

    Hi,
      I have created one return delivery PO, in PO Return box is check properly,  but in VL10B  that PO is not coming ,This method we are using first time for the returns of delivery, can you give some stpes what procedure to be follow or what setting to be check, initially the material is updated from QM   now the material is in unrestricted stock  and in PO same is mention under delivery tab in Stock Type.
    regards,
    zafar

    Hi,
    Kindly check the vendor master in Purchasing Data whether the Returns vendor  is ticked which helps to create Customer same as of vendor. Now assuming the same PO has been changed with a new item line with returns item ticked, mention the batch number in the same item line which you need to return back to vendor.  Ensure the delivery date is the current date, i.e. the date you are trying to create an outbound delivery.
    Use Transaction code VL04 instead of VL10B, mention the shipping data, Sales orgn, Dist Channel, Division which you will get from the shipping tab of the item line ticked as returns, tick the Purchase order in Doc to be selected, mention the Purchase order number and lastly execute and create delivery.  Later use Transaction code VL02N, the system picks the same batch mentioned in the PO, lastly do PGI.  Once the PGI done an document is generated with movement type  161.
    S. Kumar

  • Return delivery without refrence to a PO

    Dears
    I create a notification and move the material to block stock and create a return delivery by using action box with out refrence to any PO or any material documnet number
    Now in MD04 i can see this qty as return
    What is the next transaction step to send material to vendor
    Faisal
    Edited by: Muhamed Faisal on Aug 11, 2011 8:41 PM

    Dear Anand,
    1.I am not able to do the Transaction VL02N . The system showing error message that Delivery not exist
    But i can do the same in MIGO.. and it is disappearing from MDO4
    So pls tell me this is the correct process or not?
    2,After creating a return delivery or return PO from the system what are the paper i can print out from the system to store guys to arrange the material for physical return
    Pls tell me the T code also for the same
    Faisal

Maybe you are looking for