Std FM for Duplicate invoice posting

Hi All
Can any one send me the standard function modules which checks whether the INVOICE is parked or posted. (combination of company code/vendor/doc date/ref).

Hi
Check whether this can help for u
FI_DUPLICATE_INVOICE_CHECK
FI_DATA_FOR_SELF_INVOICES
FI_DATA_FOR_SELF_INVOICES_CALL
Regards,
Sreeram

Similar Messages

  • Std workflow for Parked Invoices?

    hi guys
    are there any std workflows for parked invoices? Our requirement is that once the Finance clerk creates a customer or vendor invoice he should only be able to park it and not post the invoice. Once the invoice is parked then the system should trigger a workflow and a notification neeeds to be sent to the approver to approve the invoice. Once it is done the finance clerk will post the invoice.
    I switched on the event trace and did a trace on while creating a parked invoice. No event is triggered when the document is parked. If i post the document the event POSTED of object FIPP is triggerd. So since we dont have any std events raised when a document is parked is it possible to have a workflow?

    Hi,
    The event FIPP.CREATED is raise via the customizing (SPRO)
    Financial Accounting -> Financial Accounting global setting -> document -> document parking -> create workflow variant for parking documents.
                                      Assign co.code to a workflow variant for parking documents.
    Have a look at ws10000051.
    Regards,
    Ronit.

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • Check for duplicate invoices and trigger a workflow

    Hello All,
        I have a requirement to check for duplicate invoices in AP(Accounts payable) and trigger a workflow when duplicate invoices are found. I a not sure how to do any of the above. Please  let me know if you have any information on:
    1) Checking for duplicate invoices in AP
    2) Trigger a workflow
    Are there any standard workflows that checks duplicate invoices?
    Thanks.
    --Mithun

    Hi MD,
    I doubt if system gives an error on FI side when a duplicate invoice is posted.
    I feel you would require a BAdi for it, where you can call your WF using FM SAP_WAPI_START_WORKFLOW.
    Hope it helps.
    Aditya
    P.S also ask your Func Consultants, if there are any settings in the Customization, where you could capture Inv Dt, Inv Amt, Vendor, Company code.
    Edited by: Aditya Varrier on Oct 15, 2008 9:38 AM

  • Duplicate invoice posting due to archived accounting documents

    Hi,
    Duplicate invoice posting is allowing against the below two Invoice reference nou2019s
    In transaction MIRO.
    00082 and 00072.
    After investigation I have found that these invoice reference nou2019s are used in 2002 for accounting documents 3300130419 and 3300135574 and these two documents are archived, and found that these accounting entries are missing in the table BKPF and existing in the table BSIP.
    We donu2019t want to allow the system to post duplicate invoices (For Example: against 00082 and 00072 Invoice reference Nos.)
    Could you please look into this

    Hi Jurgan!
    Thanks for the reply,
    We are using ECC6,
    Support pack : SAPKH60013
    Settings for Duplicate Invoice Check In Vendor Master is correct
    Customization setting OMRDC transaction, tick mark for invoice reference no. only
    If all the cited characteristics match, the system displays a
    customizable message. M8462 (if logistics invoice documents are found) or M8108 (if accounting documents are found).
    I have ensured that message M8108 (if accounting documents are found) is maintained as an error message in OMRM.
    Still system is allowing duplicate invoices for the reference nos. 00082 and 00072.
    For other reference Nos. which are previously used for other documents, system issues error message successfully.
    I dont want to delete archived accounting doc. and if I maintaind BKPF entris of this archived doc manually it will create probelm in FI.
    is this happen due to life span of secondory index of archived accounting doc. is completed ?.
    Please Help
    Many Thanks
    Vikas

  • BTE for Duplicate invoice

    Dear SAP gurus,
    We are on ECC 6.0.  We are trying to use BTE 1110 to build our logic for duplicate invoice.
    We have activated it in FIBF by copying the sample process, but it is not getting triggered while doing any vendor invoice posting.
    Please adv
    Thanks!!

    Refer the below link:-
    [http://wiki.sdn.sap.com/wiki/display/Snippets/BusinessTransactionevents(BTE)]
    Regards,
    SDNer

  • BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting

    Hi ,
    I am using  BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting, I have made the header , and account paybale table
    , can any body give link for the sample code or give me sample code.

    continue....
    FORM build_bapi_parameters2.
    *Build account GL data for BAPI
      wa_accountgl-itemno_acc   = 2.             " Line Item Number
      wa_accountgl-gl_account   = '0000720300'.  " GL Account Number
      wa_accountgl-comp_code    = '0050'.        " Company Code
      wa_accountgl-pstng_date   = '12012006'.    " Posting Date
      wa_accountgl-doc_type     = 'KQ'.          " Document Type
      wa_accountgl-fisc_year    = '2006'.        " Fiscal Year
      wa_accountgl-fis_period   = '12'.          " Fiscal Period
      wa_accountgl-item_text    = ''.            " Item Text
      APPEND wa_accountgl TO accountgl.
      CLEAR wa_accountgl.
    *Build currency data for BAPI
      wa_curramount-itemno_acc   = 2.             " Line Item Number
      wa_curramount-curr_type    = '00'.          " Currency Type
      wa_curramount-currency     = 'USD'.          " Currency Key
      wa_curramount-currency_iso = 'USD'.         " ISO Code
      wa_curramount-amt_doccur   = '5000.00'.     " Amount
      wa_curramount-amt_base     = ''.            " Base Amount
      APPEND wa_curramount TO curramount.
      CLEAR wa_curramount.
    ENDFORM.                    " build_bapi_parameters
    FORM build_bapi_parameters3.
    *Build account GL data for BAPI
      wa_accountgl-itemno_acc   = 3.             " Line Item Number
      wa_accountgl-gl_account   = '0000256166'.  " GL Account Number
      wa_accountgl-comp_code    = '0050'.        " Company Code
      wa_accountgl-pstng_date   = '12012006'.    " Posting Date
      wa_accountgl-doc_type     = 'KQ'.          " Document Type
      wa_accountgl-fisc_year    = '2006'.        " Fiscal Year
      wa_accountgl-fis_period   = '12'.          " Fiscal Period
      wa_accountgl-item_text    = ''.            " Item Text
      APPEND wa_accountgl TO accountgl.
      CLEAR wa_accountgl.
    *Build currency data for BAPI
      wa_curramount-itemno_acc   = 3.             " Line Item Number
      wa_curramount-curr_type    = '00'.          " Currency Type
      wa_curramount-currency     = 'USD'.          " Currency Key
      wa_curramount-currency_iso = 'USD'.         " ISO Code
      wa_curramount-amt_doccur   = '-1000.00'.     " Amount
      wa_curramount-amt_base     = ''.            " Base Amount
      APPEND wa_curramount TO curramount.
      CLEAR wa_curramount.
    ENDFORM.               " build_bapi_parameters
    Edited by: krupa jani on Aug 12, 2009 1:45 PM

  • Problem in Set Check for Duplicate Invoices

    Hi,
    I have did all the required setting s for check duplicate invoice , but when i do miro , its not giving any error or warning msge.. i did all the config  as per blw link..
    FYI-  in migo, i have entered the 3434 as a invoice ref # in delveriy note column and while doing miro , i have entered 3434 in ref column and give the 3434 as a dlvery note # in item tab .. but its not giving any error?
    Pls guide, where the mistake has gone wrongly??
    Problem in Set Check for Duplicate Invoices
    Edited by: UJ on May 15, 2009 1:45 PM

    Hello,
    Hope you have done all the required configurations for the checking of double invoice and ticked the vendor for the double invoice checking in vendor master record.
    You have to understand the way the system does the double invoice check.
    As per the configuration, if the system identifies an invoice for a vendor whose double invoice check is activated, at the time of MIRO, system will update a separate table.
    So system will check for the double invoice entry among the invoices entered after making the tick in the vendor master.
    i meant to say that, if you are introducing this double invoice check in between the transactions, the check will be valid only for the invoices entered after the activation of double invoice check.
    Regards

  • Set Check for Duplicate Invoices.

    Hi,
    what is the difference if is set "<b>Set Check for Duplicate Invoices</b>"
    in MIRO?
    Best regards

    HI,
    This check will prevent incoming invoices being accidentally entered and paid more than once.
    You can choose whether to activate or deactivate the check criteria of company code, reference document number and invoice date for each company code. The more criteria that you activate, the lower the probability of the system finding a duplicate invoice.
    The company code check makes sense if you work with more than one company code.
    Depending on the reference document number entry, the system checks as follows:
    1. If you have entered a reference document number, the system checks whether the invoice matches in the following attributes:
    Company code
    Vendor
    Currency
    Invoice date
    Reference document number
    2. If you have not entered a reference document number, the system
    3. checks whether the invoice matches in the following attributes:
    Company code
    Vendor
    Currency
    Invoice date
    Amount in
    document currency
    Depending on the system settings, a warning message or an error message appears if the system finds an invoice that matches all attributes.
    Requirements
    The field Chk double inv. (Check for duplicate invoice) must be flagged on the Accounting view in the vendor master record.
    Regards
    Aasif

  • Duplicate Invoices posted

    Kindly tell me how can i find the duplicate invoices posted against a single GR if any. which are the tables to be used or is there any standard transaction.

    Dear,
    As per my view two invoice is not posted against same bill number.
    If you want to search it, Please use MIR6 t-code.
    Enter MIR6 t-code.
    Enter bill number in field of reference.
    Then click on Invoice Verification online >> Posted.
    Held/Parked >> Parked as saved and parked as complete.
    Then click on execute button .
    Regards,
    Mahesh Wagh

  • How to block duplicate invoice posting in MIRO

    Hello,
    How to block duplicate invoice posting in MIRO?
    Regards,

    Hi Niteen,
    In addition to the expert's comment use the note 305201
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=305201]
    Please check and revert.
    Thanks,
    Hrishi

  • Validation for Duplicate Invoice Entry

    Hi Everyone,
    Currently, it seems that SAP reviews an incoming invoice for reference field (invoice number), invoice date, vendor and company code.  If the comibation of the criteria are met, then a warning message appears stating to review the entry due to a possible duplication.  I've since changed the warning message to an error so that users can not post the duplicate invoice. 
    Now, what is the process of stopping an invoice from being posted that meets the following criteria: (1) vendor, (2) invoice number, (3) amount.  Would this be a validation formula or some sort of user exit or is there standard SAP IMG that can be performed?
    Thanks for the assistance,
    Pete

    hi Peter,
    this should be a substitution exit, should happen in FI, on line item level (check transaction GGB1), for all vendor credit postings (posting key between 31 and 39). The substitution has to be done on field amount (WRBTR), because this is the first point where you have all information you need (I guess the vendor invoice number is saved into header). You have to write a small code in the exit to select possible vendor invoices from BSIK and BSAK. If any found you should issue an error message and block the process.
    hope this helps
    ec

  • Duplicate invoice posting

    Dear Sapgurus,
    I have done this configuration duplicate invoice check option in mm transaction code is OMRDc and in vendor master i choose this option dupliucate invoice check after i was post onevendor invoice document number year is 2009, code 2001 in miro in this one reference field 12, wheir as i am entering one more document in 2010 miro with same invoice  reference field 12, system is allowing, because of two different fiscal year, then after same fiscal year 2010 only with same vendor if i will give same invoice reference field 12 system is allowing but i dont want this transaction allow to post  please tell me.
    Regards 
    SAP

    Hi,
    Go to customizing transaction OBA5 and give the Application Area as F5.
    In the next screen Give message number as 117 and make it E for "Online" and "Batch" processing.
    Regards,
    Gaurav

  • Control of duplicate invoice posting at T.Code FB70

    Dear Experts
    As per clients need to we need to control with error message when user trying post duplicate customer invoice at T.Code FB70.
    we request your help on how do we can meet this requirement.
    if any body know the relevant application areas for message control, pleas let me know. 
    I tried with application area F5, but it is not working for customer postings.
    Thanks in advance.
    Best regards,
    S. Habib Pasha.

    Hi,
    I used this validation for vendor invoice.
    $$1 is the document number, which is about to be generated after passing through this validation.
    So far as the check part is concerned, I used user exit form and coding in program ZRGGBR000, which is a copy of standard program RGGBR000. The coding is as follows-
    exits-name  = 'U300'.
      exits-param = c_exit_param_none.        "AP Duplicate Invoice Check.
      exits-title = text-104.                 "Posting check
      APPEND exits.
    FORM u300 USING b_result.
    *****Local Variables
      DATA:    l_bukrs   LIKE   bkpf-bukrs,  "Company Code
               l_belnr   LIKE   bkpf-belnr,  "Doucment Number
               l_gjahr   LIKE   bkpf-gjahr,  "Fiscal Year
               l_buzei   LIKE   bseg-buzei.  "Number of Line Item
      b_result  =   b_true.
      SELECT  bukrs
              belnr
              gjahr
         FROM bkpf
         INTO (l_bukrs, l_belnr, l_gjahr)
         WHERE bstat = bkpf-bstat
           AND xblnr = bkpf-xblnr
           AND stblg = ' '.
        IF sy-subrc = 0 .
          SELECT  buzei
             FROM bseg
             INTO l_buzei
             UP TO 1 ROWS
             WHERE belnr = l_belnr
               AND gjahr = l_gjahr
               AND bschl = '31'
               AND lifnr = bseg-lifnr.
            IF sy-subrc = 0.
              b_result =  b_false.
              bkpf-belnr = l_belnr.
            ENDIF.
          ENDSELECT.
        ENDIF.                            "closed for SY-SUBRC
      ENDSELECT.
    ENDFORM.                                                    " U300
    Regards
    K Khatri

  • User exit for duplicate invoice in MIRO and FV60

    HI
    i want to find a user exit to findout the duplicate invoice from MIRO, F-47, FV60 (Parked Invoice), MR8M (Credit Memo).
    please let me know if you know any user exit for this.
    Thanks & regards
    Naresh

    Hi,
    for each transaction code so many user exits are there it is diffecult to pase all the user exits here
    check below link  and run the program in se38 and give the transaction code you get the user exits for each transaction code.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

Maybe you are looking for

  • SSO to database

    We have Business Objects 3.1 SP2 FP2.3 running on Windows 2003 R2 SP2 64bits. CMS database on SQL 2005 x64 Environment runs on Apache Tomcat Single Sign-On with kerberos on Active Directory is working fine. We have developers who want to use their Cr

  • How do I put this output into a table ?

    I query a table and output using the following : <cfoutput query="qryAreas" group="state">#state#<br> <cfoutput group="city"> #site#<br><cfoutput>  #zipcode#<br></cfoutput><p> </cfoutput> </cfoutput> Since this is dynamic, the output gives me one col

  • Pavilion p6285l - how to start Safe Mode (F8) ?

    Pavilion p6285l desktop - how to boot in "safe mode" (F8 on most pc's) ? Pushing F8 on startup many times, but no response. No "manual" in the box either. F1 to F12 -- what they do on a HP desktop??? Want to run some virus tests in safe mode, since t

  • Size to be reduced

    hi all, how can i reduce my classfile/program/jar size from command line?

  • Inputs required

    In our project we have two application, application A and application B. Application B is in a location which is behind a firewall. We also have Adobe server at this location which is behind the firewall. Application A has user interface through whic