Deletion parked invoice document

Hi Experts,
I have company code (ausbk), document number (belnr), fiscal year (gjahr ), using these parameters I need to delete parked document.
Please suggest how to write code or function module for deletion parked invoice document.
Thanks & Regards,
Sridhar

Hi,
You can use a BDC for the same. Create a recording using SHDB or SM35 => Recording.
Best regards,
Prashant

Similar Messages

  • TCode MIR7: Dump while deleting Parked Invoice with zero value

    Hi,
    We had parked an Invoice using TCode MIR7 with Zero Value with reference of a PO. Now as the value of invoice is zero, we want to delete it using MIR7.
    In MIR7, when we go to Invoice Document-->Delete, it results in dump. Dump is as follows:
    Error analysis
        Short text of error message:
        No document found
        Long text of error message:
        Technical information about the message:
        Message class....... "FI"
        Number.............. 124
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    How to correct the error
        Probably the only way to eliminate the error is to correct the program.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "MESSAGE_TYPE_X" " "
        "SAPLFMPR" or "LFMPRU05"
        "FM_CO_DOCUMENT_DELETE"
        If you cannot solve the problem yourself and want to send an error
        notification to SAP, include the following information:
        1. The description of the current problem (short dump)
           To save the description, choose "System->List->Save->Local File
        (Unconverted)".
        2. Corresponding system log
           Display the system log by calling transaction SM21.
           Restrict the time interval to 10 minutes before and five minutes
        after the short dump. Then choose "System->List->Save->Local File
        (Unconverted)".
        3. If the problem occurs in a problem of your own or a modified SAP
        program: The source code of the program
           In the editor, choose "Utilities->More
        Utilities->Upload/Download->Download".
        4. Details about the conditions under which the error occurred or which actions and input led to the error.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLFMPR" - in
         "FM_CO_DOCUMENT_DELETE".
        The main program was "SAPLMR1M ".
        In the source code you have the termination point in line 34
        of the (Include) program "LFMPRU05".
    Any help.
    Regards,
    CMC Team.

    Hi,
    Check following SAP notes:-
    1173846  (MM) Termination when deleting prepaid logistics invoices
    Reason and Prerequisites
    This problem is caused by a program error.
    1224772  (MM) Error message FI24 when deleting parked invoices
    Reason and Prerequisites
    This is due to a program error. The total amount of the parked invoice is '0'.
    Regards,
    Anand Raichura

  • Report on Deleted Parked AR Documents with 'Z' status

    Hello Experts,
    Any suggestion to obtain the list of deleted parked AR documents which did not get posted in the past.  We created AR documents and were not sure about VAT treatment and were parked but later managed to invoice the customer separately.  Subsequent to this, we have deleted the parked AR document and I know when these parked document gets deleted, document numbers are marked by a letter 'Z' and you can get a report BY DOCUMENT NUMBER.  Is there any standard SAP report that can be run BY CUSTOMER to see all deleted parked documents for that customer only.
    Appreciate valuable suggestions to achieve the above.
    Rgds
    CONMJI

    Hi,
    use S_ALR_87012293 - Display of Changed Documents  to check the deleted parked docuements or any status regarding parked document.
    Here if you select park doc radio button and give input document type and posting key, then you will get the customer/vendor/GL related docuements . Take that dump and put in the table and give input of your customer code.it will shows those documents if any.
    Thanks
    ANJI

  • HOLDING / PARKING INVOICE DOCUMENT

    HELLO EXPERTS,
    What is the difference between holding a invoice document (MIRO) and parking a document (MIR7).
    I hope each having same function.
    Again I want to see a report which will show me hold invoice document
    Again what is the difference between parked and parked as complete.(MIR5)
    please answer me ASAP.
    REGARDS
    RAGHU

    Hi,
    You can refer to the help screen int the respective MIR7 scree to know definition of each function.
    Holding Invoice Documents
    If you are interrupted while entering or parking an invoice, you can hold the data you have already entered, such as the list field selections, header data, and item data. The system creates an invoice document but does not make any checks, updates, or postings. When you continue processing the held document later, the system proposes the data already entered.
    Parking Invoice Documents
    You create an invoice document in document parking. Choose the disk icon Save parked document to do this. Before saving the data, the system performs consistency checks.Subsequently, you can still change, delete, or post parked documents, or save them as complete.
    Use document parking if:
    1. Information required for posting the invoice document is missing in the invoice document and you do not want to have to enter again the data already entered
    2. The balance is not zero
    3. The following updates are to take place:
    Log of document changes
    Informative purchase order history
    Data for advance tax returns
    Index for checking for duplicate invoices
    Vendor open items
    Vendor open items for parked documents
    Saving Invoice Documents as Complete
    You create an invoice document in document parking. Choose Save as complete to do this. Before saving the data, the system performs consistency checks. In the event of errors, the data is not saved, but is presented for correction instead. Subsequently, you can still change, delete, or post Documents complete for posting.
    Use Save as complete if:
    1. No more changes are to be made to the invoice document
    2. The balance is zero
    3. The invoice document is to be parked for posting but not posted yet
    Cheers,
    Girang
    Edited by: girang irawan on Dec 10, 2009 10:09 AM
    Edited by: girang irawan on Dec 10, 2009 10:10 AM

  • How to delete one invoice document in FI module!

    Hi all,
    Does anybody know the T-code to delete a invoice document in FI module.
    Thanks in advance!
    Best regards,
    Wendong Feng

    Hi
    You can't delete the invoice document. probably you can reverse(cancel) the invoice document using MIRO or MR8M.
    Actual deletion can be done only by archiving.
    Regards
    Mani

  • Handling deleted parked invoices in the BI report

    Hi Experts,
    I am working on a PO History report, which has an invoice total summary .The invoice total includes Posted and Parked invoices,  but if the parked invoice is deleted they are still showing up on the report for the total, the requirement is to not include the deleted parked invoices in the total.
    Pls guide me to proceed in this.
    Thanks,
    Raj

    Hi,
    check this link on help.sap
    Link: [http://help.sap.com/saphelp_dm40/helpdata/en/0e/8001bf2b144c24a23c32b1fcaa1868/content.htm]
    Regards,
    Neeraj

  • How to Post Parked Invoice Document

    Hi ,
       Some basic FI functional qry ... How to post the parked invoice document .If any one can give me the transaction code will be great .
    Thanks in advance.
    Bye
    Raj

    FBV0.
    Below given is the list of all transactions related to parked documents.
    [code]
    FBV0                 Post Parked Document                 
    FBV1                 Park Document                        
    FBV2                 Change Parked Document               
    FBV3                 Display Parked Document              
    FBV4                 Change Parked Document (Header)      
    FBV5                 Document Changes of Parked Documents 
    FBV6                 Parked Document $                    
    FBVB                 Post Parked Document                 
    FV50                 Park G/L Account Items              
    FV53                 Display Parked G/L Account Document 
    FV60                 Park Incoming Invoices              
    FV63                 Displayed Parked Vendor Document    
    FV65                 Park Incoming Invoices              
    FV73                 Display Parked Customer Document    
    FV75                 Park Outgoing Credit Notes          
    [/code]
    Regards
    Raja

  • PARK INVOICE Documents

    Hi Experts,
    I have around 200 Park Invoice documents. i would like to post 1 Park invoice . how can i search that exhact Park invoice. is there any option to search by material or by park invoie number or date or any...
    i m trying through MIR7 but there is no search option i got al the list only.
    and MIR6 also i got all the Parked Invoie numbers . there is no icon of SEARCH .
    is there any another way to search..
    Thanksin Advance,
    Anthyodaya.

    Hi
    As suggested why are you not using the Options Invoicing party to search the vendor, you also have the other option for posting . i. e date of posting in the same screen, utilise them for your Process.
    Regards
    Hi thanks for the reply,
    what is the T-code  for INVOICING PARTY .
    Regards,
    Anthyodaya.

  • PARK INVOICE Documents MIR6 ,MIR7

    Hi Experts,
    I have around 200 Park Invoice documents. i would like to post 1 Park invoice . how can i search that exhact Park invoice. is there any option to search by material or by park invoie number or date or any...
    i m trying through MIR7 but there is no search option i got al the list only.
    and MIR6 also i got all the Parked Invoie numbers . there is no icon of SEARCH .
    is there any another way to search..
    Thanksin Advance,
    Anthyodaya.

    Hi,
    You can use MIR6.
    Specify the selection criteria and select the option as Held/Parked in entry type section
    You get the list of parked inovices.
    Click on the change icon infront of the invoice number and do the necessary modifications then post it to accounting.
    For your information you cannot post all the parked invoices at one time, since these invoices needs to be filled with the required information.
    Hope it helps you,
    Regards,
    VNR

  • Error in parked invoice document - Error in routine MRM-DRSEG_CR_CREATE

    Hi...
    I have parked a invoice document against a Service entry sheet. The invoice document has been parked but when going to MIR4 in change mode system is throwing an error message pop as Error in routine MRM-DRSEG_CR_CREATE.
    The SES which has been created is of some quantities and values but the material document which is posted against this SES is different from SES received quantities.
    Received Quantity in SES is 210 but the received quantity in material document it is not showing anything.
    For the same when invoice has been done, invoice has been parked but when gone through workflow in other level this error is coming
    Please give your suggestions why is this issue coming...
    Best Regards
    Paresh Kumar G

    Hi,
       Please check whether the SES has been deleted or any subsequent changes has been done in the SES or PO. If so system may throw the mentioned error.
       Also refer the note:  501905 - MIR4: M8 008 for documents that are on hold or parked
       If you are in ECC 5 or lower, you may refer the notes:   750455 - MIR4/MR8M: M8 008 routine MRM_DRSEG_CR_CREATE  and 763293 - Service entry sheet + parked invoice
    Regards,
    AKPT
    Message was edited by: PRASOON AKPT

  • How to distinguish what GR line item has been parked invoice document by MIR7

    Hi Experts,
    I use work flow to release MM invoice parked by MIR7. But I get trouble with PO with many GR line items (example: PO shipment cost, PO stationery ...) where we need to match consecutive many invoices from one PO. Normally, when matching invoice by MIRO, amount an quanlity will be minused, we can continue to match invoice by exist line items. But now, when we parked first invoice  to one line item (invoice not be released), amount and quanlity also display old value in second invoice  for this line item, user cannot distinguish what line item has been mached invoice and waiting released, this is difficult to working. Please give me solution to distinguish what line item has been parked invoice in t-code MIR7?
    Thanks

    I think what you describe is standar system behaviour. You nee to re-think how you use Invoice Parking  workflow - it is meant to manage incomplete documents, not for invoice release. You need to first post invoice doucument, only than open invoice qunatities will be updated and depending on tollerance limits and other setting release invoice for payment.

  • Deleting parked invoices

    we are using incominginvoice_park to park an invoice.
    sometimes we need to delete a parked invoice.
    actually we do a batch input using MIR4 and do the deletion
    Is there a BAPI that can do that for us?
    Regards
    Felix

    If you use MIR7 tcode I think you stand a better chance of controlling it. By comparing the 2 SAP (SAP_MM_IV_CLERK_PARK & SAP_ISA_JIT_CONTROL )roles , I found one area was different which is F_BKPF_BLA Acctg doc type. For MIR7 the ACTVT is only  01-Create but for MIRO it has to have 10-to post. Another is K_TP_VALU CO-Transfer Price Valuations where MIR7 has none but MIRO has 10-to post.  Try and see what happens

  • Find accounting document for deleted incoming invoice document

    Hi all,
    I have few ncoming invoice documents which were deleted. those documents i can see in RBKP table.
    I want to trace the accounting documents for those deleted documents.
    Can any one help me to find the accounting documents for deleted documents.
    thanks in advance.

    Hi,
    this might give you an idea:
    data: l_belnr like bkpf-belnr, l_gjahr like bkpf-gjahr.
    clear: l_belnr, l_gjahr.
    data: l_string(20) type c.
    clear l_string.
    data: l_belnr_2 like bkpf-belnr, l_gjahr_2 like bkpf-gjahr.
    clear: l_belnr_2, l_gjahr_2.
    select belnr gjahr from rbkp into (l_belnr, l_gjahr)
    where rbstat = '2'. "Status = deleted
    concatenate l_belnr l_gjahr into l_string.
    select single belnr gjahr from bkpf into (l_belnr_2, l_gjahr_2)
    where awkey = l_string.
    write: /'FI', l_belnr_2, l_gjahr_2, 'MM', l_belnr, l_gjahr.
    endselect.
    Note that the key here is AWKEY.
    Best regards.
    Edited by: Pablo Casamayor on Apr 13, 2009 3:03 PM

  • How to delete parked FI documents through FV60

    Hi anyone who can help me!
    Got a situation where we're using workflow to send out parked FI documents for approval.
    In certain cases the documents are being rejected and need to be deleted, but the Document > Delete parked document option in FV60 is greyed out.
    Doing SU53s on opening the document is resulting in The last authorization check was successful! so I think we have to rule out auth problems. But now we're at a loss as to why the option is greyed out. I'm starting to think it's related to the workflow but unfortunately I'm not a developer so wouldn't know where to start looking!
    Can anyone help? Thanks in advance!
    Jen

    Thanks Hari / chaituvaleti
    Have since worked out it is definitely workflow related. I think the fact that the document has been either released or rejected via workflow means that it can't be deleted (whereas while it's parked and out for approval, it can still be deleted).
    Ideally what we want is to be able to delete the document straight from the workflow the user gets after it is released or rejected, rather than having to go into another transaction code or sending it to a WF consultant.
    Have asked our workflow developer to investigate the possibility of this - watch this space!

  • Printout for Parked Invoice Document

    Hi Gurus!
        One of my client's requirement is to create a customize sapscript printout of a Parked Invoice. The report will also include figures such as the following:
    1. Amount Net of VAT
    2. Total Input VAT
    3. Net Payable to Vendor
    4. Witholding Tax
    Like what we normally see upon posting of the parked document.
    Need your professional help on this.
    Thanks!
    Jeffrey

    Hi Anil,
    When a parked document is created, SAP uses BO FIPP. So to attach any file to a parked document you need to use object services of FIPP. When we post document to G/L we create a document of type BKFP. So you need to pass attachment from FIPP to BKPF.

Maybe you are looking for

  • Can't Find Null Pointer Exception

    Hey, guys! I've spent a couple of hours trying to figure this out, and I've been unable. When I run my program, I get a long list of errors that basically says I have a NullPointerException at Line 160 in LevelRenderer. I can't figure out what is nul

  • Organizing Videos in iPhoto

    Is there anyway to organize my video files in iPhoto? I hate that when I am looking through an album one picture at a time it just skips over the video files when I arrow over. I would love to just have a single album with all my videos, does anyone

  • Using third party Rich Text Editors with Portal Release 2 (9.0.2)

    Hi Everyone, We would like to use some third party Rich Text editor with portal as the Oracle Rich Text editor is fairly basic and it does not fulfill our business requirements. Some of the things we are hoping to accomplish by through this text edit

  • Very delayed mail delivery

    I have been eperiencing delays of up to 8 hours for delivery of email seommy verizon.net account for the past week. Is something being done to correct the issue?

  • Image comparison to extract odd pixels from one image

    Hello, I am just trying to make one screen capture application which will send captured image to a remote system. I have succeeded in making the basic screen capture application using robot class. The image has to be refreshed at a rate of 1 or 2 fra