Park Invoice - with simulate action

Hi All,
         I am developing an interface to post/park invoices in my ECC systems. The Electronic invoices comes from PI so I have the options of using both IDOCs and BAPIs....
The requirement I have is something like this -
The incoming invoice have to be "simulated", the error messages from the simulation have to be collected and then INVOICE has to be put in parked status.
          The "simulate" actions referes to the stimulate button in the standard fb60 transaction. Can that action be performed programatically? I found BAPIs to post/park idocs...
I  am looking for either BAPIs, IDOCs process codes/ std programs to can achieve the "simulate funtion ".
Thank You.
Arvind R

try FM AC_DOCUMENT_DIRECT_INPUT
check its documentation.
regards
prabhu

Similar Messages

  • Park Invoice with delivery note

    Hello,
    How to park invoice with delivery note. i am using bapi  BAPI_INCOMINGINVOICE_PARK.
    Please help.

    try FM AC_DOCUMENT_DIRECT_INPUT
    check its documentation.
    regards
    prabhu

  • 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

  • Parked invoices

    Please let me know the query/transaction/report for parked invoices with input as vendor and plant combination.
    Thanks.

    MIR5/MIR6, Tick Parked or Held in respective section of the transaction.
    Hope, helped.
    Reetesh

  • Parked invoice deletion

    Hi ,
    we  had parked invoice with posting date in december 2008 .
    Now we note that we had chosed a wrong PO in invoice (belonging to other company code and for which we do not have authorisation )
    We need to delete this invoice .
    Our FI periods for Dec2008 are closed
    What is the correct way to delete this invoice ?
    thanks
    Akkshaya

    Hi ,
    I can delete purchase order But my query is posting date in invoice is december 12 and FI periods are not open for this period now. so i have to change the posting period to 01 2009 for deleting PO. this may induce wrong accounting entires?
    is there any way that i can delete this invoce keeping posting date 12 Dec.
    Thanks
    Edited by: akkshaya on Jan 13, 2009 6:34 AM

  • Park Invoice Configuration

    Hi experts,
    I had posted twice for Park Invoice with same Invoice No, Invoice Amt, Currency, Posting Key but in diffrent date.
    But there is no error prompt up to block this document.
    For your information, one Parked Invoice will post to one document only.
    I had tested few cases if post in same date and same Invoice No, it will prompt up error message to block me continue. But i post in different date with same Invoice No, nothing error will shown and the document will be save.
    What i require here is to block continue entry if the Parked Invoice had been posted.
    I think that i should change in configuration part, but i not clear where to change it.
    Can you guide me where to change the configuration??
    Thanks in advance.

    Definition
    Indicator which means that incoming invoices and credit memos are checked for double entries at the time of entry.
    Use
    Checking Logistics documents
    Firstly, the system checks whether the invoice documents have already been entered in the Logistics invoice verification; the system checks invoices that are incorrect, or invoices that were entered for invoice verification in the background.
    Checking FI documents
    The system then checks whether there are FI or Accounting documents that were created with the original invoice verification or the Logistics verification, and where the relevant criteria are the same.
    Checking Logistics documents
    In checking for duplicate invoices, the system compares the following characteristics by default:
    Vendor
    Currency
    Company code
    Gross amount of the invoice
    Reference document number
    Invoice document date
    If all of these characteristics are the same, the system issues a message that you can customize.
    When you enter credit memos or subsequent adjustments, the system does not check for duplicate invoices.
    Exception: Country-specific solution for Argentina, where invoices and credit memos are checked for duplicate documents.
    No message is issued if you enter a document that has previously been reversed.
    Dependencies
    The system only checks for duplicate invoices in Materials Management if you enter the reference document number upon entering the invoice.
    In Customizing for the Logistics invoice verification, you can specify that the following characteristics should not be checked:
    Reference document number
    Invoice document date
    Company code
    This means that you can increase the likelihood that the system will find a duplicate invoice, because you can reduce the number of characteristics checked.
    Example
    The following document has already been entered and posted:
    Reference document number: 333
    Invoice date: 04/28/00
    Gross invoice amount: 100.00
    Currency: EUR
    Vendor: Spencer
    Company code: Munich
    You have made the following settings in Customizing:
    The field "Reference document number" and "Company code" are deselected, which means that these characteristics will not be checked.
    Now you enter the following document:
    Reference document number: 334
    Invoice date: 04/28/00
    Gross invoice amount: 100.00
    Currency: EUR
    Vendor: Spencer
    Company code: Berlin
    Result
    Because you entered a reference document when you entered the invoice, the system checks for duplicate invoices.
    The reference document number and the company code are different from the invoice entered earlier, but these characteristics are not checked due to the settings you have made in Customizing.
    All other characteristics are the same. As a result, the system issues a message that a duplicate entry has been made.
    If the "Reference document number" had been selected in Customizing, the system would have checked the document and discovered that it was different from the invoice entered earlier, so it would not have issued a message.
    Checking FI documents
    Depending on the entry in the field "Reference", one of the following checks is carried out:
    1. If a reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
    Company code
    Vendor
    Currency
    Document date
    Reference number
    2. If no reference number was specified in the sequential invoice/credit memo, the system checks whether an invoice/credit memo has been posted where all the following attributes agree:
    Company code
    Vendor
    Currency
    Document date
    Amount in document currency
    Edited by: Hansoo Bae on Sep 10, 2009 4:53 PM

  • Post   Parked Invoice, if GR canceled and ReGR

    -We process, MIGO > Park invoice >Cancel GR> Again GR, now trying to post
    same parked invoice but getting error 'inoive quantity > GR Quantity'
    -Is there any way we can change parked invoice with new GR(material number)?
    -If we do MIRO again for new GR it allows to post it but Park invoice doesnt get disappared. we like, not to display parked invoice ir we do new MIRO for it. or
    If we can post same parked document its better
    Any suggestions!!!
    thanks
    -Sam

    Hi,
      u can't do it.
    If it is GR based IV, go for subsequent delivery.
    otherwise post the IV and cancel it.and prepare new IV
    Rgds
    raja

  • Services of object attachment didnt display when parked invoice mir7 delete

    Hi experts,
    i have problem with attachments (PC Attachments, Notes, personal notes etc.) in Services of object in tcode mir7.
    User started workflow with parked incoming invoice mir7 and each users has to workitems for approve or fill notes. This attachments save in GOS in mir7. When invoice rejected wf inciator user delete parked invoice with standard function in tcode mir7. Qustion is - where user can view or display attachments connected during workflow when it is in services of object tying to mir7 and deleted invoice didnt view beacouse msg - Document <number> deleted Message no. M8417.
    May be solution fill this attachments during workflow in wf container object? Wich parameters have to this container objects?
    thnx very much foe answer.
    Laco

    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

  • Error in workflow while linking goods receipt document with parked invoice

    Hi All,
    I parked document using Tcode MIRO, when WF has been executed and goods receipt document has been created.At the time that we tried to link this goods receipt to parked invoice document in the workflow,The problem happens with work item saying the status as Error. See the below error.
    MIRO Invoice: 801061193 2010 Item: 000001     13.09.2010     09:24:58     Error     AP Workflow for MIRO/MIRA Parked Invoice
    Can anyone advice why it is coming so?
    Thanks in advance.

    Hi
    In SWEL go to workflow trace and see what exactly is the error. This error description is too generic to arrive at soln.

  • Parking the vendor invoice with T Code MIR7

    Dear all
    I wanted to park the vendor invoice with T code MIR7(New Version) similar to MR41(Old Version).
    But the constrain is that I want to have two line items for one GR\IR clearing.
    Suppose my GR/IR is 100 then I want to the vendor credit one with 75 and another with 25 for the same line item of the PO.
    Please do the needful.
    Thank you in advance.
    Regards,
    Madhulatha

    Hi Adam
    Many thans for reply.
    i wolud like to simplify the requirement.
    one vendor have 2 accounts say HDFC and ICICI,the payment amount say 1000Rs, he wanted to deposite Rs700 in HDFC and Rs300 in ICICI.
    Through MIR7 (Parking Invioce) i am not able to splithe invoice into 2. but in the old system 4.6 it is working fine not in ECC.
    please help me to fix this issue.
    with Regards
    Madhu latha

  • Posting a Parked Invoice

    Hi All,
    I am developing a report to post the parked invoices.
    For this i have used the function module 'MRM_INVOICE_READ' and the function module 'MRM_PARKED_INVOICE_POST'.
    But when i select a parked invoice from the ALV Grid display and click on the post button i get a warning message like 'Invoice quantity greater than PO Quantity(NO GR)'.
    Can anyone suggest how to overcome this or is there any other function module to POST the parked invoice.
    In this case there is no GR done for the Purchase order.

    Hi,
    this is how i see it:
    parked invoices can only be posted when they have no errors.
    With the simulation button you can display all errors available.
    In your case you receive the message: Invoice quantity greater than PO Quantity
    go to the invoice in question via MIR4 + F7 and correct the error.
    You have two options:
    1.- decrease the amount to be invoiced.
    2.- increase the amount of the po.
    Check as well how tolerances are set in your system.
    Best regards.

  • ERP invoice with reference to SRM Basic Contract?

    Hi
    In SAP SRM you can create a shopping cart or a PO with reference to a SRM Basic Contract by setting the item number to 0 like: 4700000107/0
    But with the new Ehp1 SAP states that ERP invoices can be created with reference to a SRM central contract (via SRM_SERVICE_PROC_1). But can you create the invoice with reference to contract item 0?
    The idea is to have the non PO related invoices registrered on the basic contract in SRM along with the PO's. A basic contract can't be copied to ERP, as there is no lines on it, but is the ERP contract copy needed for this scenario?
    So two questions:
    - is the ERP contract copy from SRM needed to use the Ehp1 functionality of creating invoices with reference to a SRM contract?
    - can the ERP invoice be created with reference to a basic SRM contract by giving the contract item as 0 or in another way?
    BR
    Jacob

    Hello,
    With SRM 70 EHP1 you can create ERP invoice against your SRM Central Contract distributed to ERP.
    To enable this you need to do few settings in ERP, for the same you can refer to the config guides available at Service market place for SRM701 releases.
    Configuring Contract Handling for Invoices : You use this procedure to configure contract handling for invoices in the SAP ERP system. You have activated the Procurement - SRM Integration 2 (LOG_MM_P2PSE_2) business function in the SAP ERP system.
    Steps :
    1. In Customizing for SAP ERP, perform the activity under :  Materials Management -- Logistics Invoice Verification -- Incoming Invoice -- Activate Direct Posting to Contracts , to allow direct references to contracts when creating invoices and parking documents.
    2. In Customizing for SAP ERP, perform the activity under : Materials Management -- Logistics Invoice Verification -- Invoice Block -- Set Tolerance Limits , to set the tolerance key for contracts (PC: Price variance for contract).
    The feature is termed as Invoice Reconciliation here.
    Best Regards,
    Rahul

  • Single Invoice with reference to 2 Sales Order

    Hi,
    How can i make a single  billing invoice no (vf01) with reference to 2 sales order?
    billing plan has been maintained from each sales order,we dont have any pgi process.
    so process is sales order->billing plan-> invoice
    my user want to generate single invoice with reference to 2 sales order - same customer no.

    For processing  billing due list (VF04) - The system combines documents with the same customer number, proposal billing type and sales organization, and attempts to include them all in the same billing document. If the preconditions are met, then a single invoice is created for the deliveries and/or orders.
    To do a collective billing. Collective Billing Documents
    The selected documents in the billing due list are billed. The system tries to combine them as much as possible. Processing of the selected documents is carried out in the background. After processing of the documents, you return to the billing due list. The sysytem will indicate whether or not a document has been billed successfully.
    If successful, then Save
    You can also carry out a simulation of billing. In this case, select Simulate. The system simulates the collective billing / online function described above.
    -After the collective run you can display a log for the collective run. This displays possible errors during billing.
    -You can also branch to the resulting billing documents, in order to carry out a split analysis.
    -The billing documents of a collective run can also be canceled.
    Re: VF04
    Hope it assist you.
    Thanks & Regards
    JP

  • Difference between Parked invoice and posted park invoice.

    Dear All,
    I am trying to create a new program to extract the invoices posted by MIRO and MIR7.  I have no problem to find invoices posted by MIRO in RBKP and RSEG.
    However, as currenty one user will use MIR7 to park invoices and another user will use MIRO to post the invoices, I don't know how to sparate the parked invoice and posted park invoice. C's I have found that the parked not posted invoice and posted park invoice were all displayed in RBKP with transaction code MIR7.
    Thank you very much
    Emma

    Hi,
    *Park*
    If the Invoice document is missing some information that is required for posting. In this case we will park the document. Here some preliminary checks will be performed.  Balance might not be zero.But in this case updates were performed.
    *Post*
    The invoice was posted online and verified as being correct(Balance must be Zero). Updates were made.
    Please use RBKP-RBSTAT field to find out the different type os status.
    I hope this helps.
    Regards
    Ravinagh Boni

  • Not able to post a parked invoice

    Dear Experts ,
    I have a parked invoice in which the posting date is in the closed MM period .
      Now i want to post the invoice , where in i m changig the posting date to the current date & trying to post , but , the system gives the following errror.
    "Save the document & then post it "
    Pls tell me what is going wrong .
    Reagrds
    Anis

    Hello Priyanka ,
    The after changing the posting date ( from a past date to the current date ) the save as complete button is press & the system acknowledges the saving with the message . After this wen we try to post it , the system again prompts to save the document .
    Pls tell us what cud possibly be wrong ?
    Regards
    Anis

Maybe you are looking for