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

Similar Messages

  • Validation for duplicate AP invoice

    We would like to prevent duplicate AP invoices from being posted through FB60.   We created an FI validation in OB28 in which the prerequisite = Tcode FB60, and the check is a user exit to check the values in vendor / company code / reference fields and if those 3 fields have the same values as in an existing document, to generate an error message preventing the duplicate document from being posted.
    The above works well for creating new invoices.   However, when we have to make changes to an existing invoice (created through FB60), the system also calls on that validation and generates the error message, even though the only fields we can change on the invoice is payment terms, payment method, payment method supplement and text. 
    Other than modifying the user exit, does anybody know of a better way to do this validation or to prevent duplicate manual invoice from being created?  
    thank you.

    This has already been answered before so extracted part of the reply
    there are two duplicate checks in SAP:
    1. the one for FI documents, this is relevant for all F... postings (but nor for MIRO!)
    this can be turned off or on (in vendor master record) and 6 fields are checked:
    Check Flag for Double Invoices or Credit Memos
    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
    2. the one for LIV.
    this can be customized (as stated above) and is relevant for MIRO (and not for F... postings!).
    Company, Reference and Invoice date
    Set Check for Duplicate Invoices
    In this step, you can configure for each company code if the system is to check for duplicate invoices when you enter invoices.
    This check should 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 Accounting documents are checked first, followed by documents from Logistics Invoice Verification (only incorrect invoices or those entered for verification in the background).
    When checking duplicate invoices, the system compares the following
    attributes in the standard system:
    Vendor
    Currency Company code
    Gross invoice amount Reference document number
    1. Invoice date If the system finds an invoice that matches all attributes, the system
    displays a customizable message.
    If you are entering credit memos, subsequent debits, or subsequent
    credits, the system does not check for duplicate invoices.
    The exception is the Argentina country version, where the system checks
    for duplicate invoices and credit memos.
    If a previously processed document is later cancelled and then entered
    again, no message is displayed.
    Requirements
    The system only checks for duplicate invoices in Materials Management
    if you specify a reference document number when entering the invoice.
    In Customizing (IMG) for Invoice Verification, you can specify that the
    system check the following attributes

  • 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

  • Urgent !!!! Duplicate invoice entry

    Hello Experts,
    I have a meeting tomorrow with business people to discuss the problems of "Double Entry Invoice" and how to control that.
    Here is what I was told by Business Unit head:
    I have observed that we sometimes make duplicate payments, usually through the AP check payments then again via wire transfer, but also could be duplicate invoice entry.  I need to understand how this could happen and what we can be done to prevent (or minimize) the possibility of this occurring.  Are there any SAP configuration settings we can use that we are not currently using?
    I joined very recently in this project and didnt know much about the configuration settings of the System.
    How should I deal this situation? Please advise me on what points should I prepare.
    Any help in this regard is highly appreciated and duly rewarded.
    Regards,
    Sriram

    HI Sriram,
    In vendor master data you need to check " check double invoice"
    In the vendor master, set whether the system should check for duplicate invoices.
    The check for duplication of invoice entry aims to avoid invoices being accidentally created and paid twice.
    When you enter invoices, the system first checks whether the accounting documents in Financial Accounting and then documents in Logistics Invoice Verification – only those that contain errors or that were entered for verification in the background – match up according to the following criteria.
    Vendor
    Currency
    Company code
    Gross invoice amount
    Reference document number
    Invoice doc. date
    The system only checks invoices. It does not check credit memos or subsequent credits/debits. When you create a duplicate invoice, the system displays a warning or error message, depending on your settings in Customizing.
    Exception
    For the Argentina country version and for documents in Financial Accounting, both invoices and credit memos are checked for duplicate entries.
    If a previously created document is canceled and then created again, the system does not display a message.
    Integration with Financial Accounting
    One of the following checks is performed in Financial Accounting, depending on the entry in the Reference field:
    If you enter a reference document number in the current invoice or credit memo, then the system checks for previously posted invoices or credit memos in Financial Accounting that match the following attributes:
    Company code
    Vendor
    Currency
    Document date
    Reference document number
    If you do not enter a reference document number in the current invoice or credit memo, then the system checks for previously posted invoices or credit memos in Financial Accounting that match the following attributes:
    Company code
    Vendor
    Currency
    Document date
    Amount in document currency
    Your system settings determine whether the system sends a warning or error message when it finds an invoice or a credit memo that matches all the relevant attributes.
    Prerequisites
    In the vendor master record, select the Chk double inv. (check for duplicate invoice) on the Payments in Accounting screen.
    The system only checks for duplicate invoices in Logistics Invoice Verification if you enter the reference document number when entering the invoice.
    In the Implementation Guide (IMG) for Logistics Invoice Verification, you can define that the following characteristics are not checked:
    (Logistics Invoice Verification ® Incoming Invoice ® Set Check for Duplicate Invoices)
    Reference document number
    Invoice date
    Company code
    The result of this is that the system is more likely to find a duplicate invoice, as it checks fewer characteristics.
    Note, that if you deselect the Company Code field this can have a negative effect on system performance. This is because the system then checks numerous documents from existing company codes.
    Features
    During the check for duplicate invoices, the system compares the following entered attributes in the standard system in Logistics Invoice Verification:
    Reference document number
    Invoice date
    Gross invoice amount
    Currency
    Vendor
    Company code
    Best Regards
    Ashish Jain

  • 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

  • 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

  • Validation for Expense Accounting Entry

    I need an up-front validation to allow only certain internal orders to be valid for the expense entries.
    However I do not see anyplace in the configuration for defining such a validation.
    Any direction regarding this is greatly appreciated

    Hi
    use transaction GBB0
    and
    select the Financial Accounting tab
    select the line item
    click on the Create Validation button
    then create the steps
    in the prerequisite enter the required fi transactions
    check for that internal order field value
    create  a set with the allowed internal orders
    through error message if the value is not matching with the internal order in the set.

  • 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

  • Invoice block for duplicate invoice

    Hi Sappers
    I have an issue with customer trade billing.
    We have a scenario where in all the Third party items, once invoice is received, billed to the trade customer automatically. In one scenario we received a duplicate bill from the vendor, which further resulted in two bills to customer. Definately the A/P blocked the bill for payemnts as delivery quantity had exceded, however the customer invoice couldn't be stoped.
    Can any think of an solution to this...
    Regards
    Ranjeet

    Ranjeet Rajendra Jain wrote:>
    > Hi Sappers
    >
    >
    > I have an issue with customer trade billing.
    >
    > We have a scenario where in all the Third party items, once invoice is received, billed to the trade customer automatically. In one scenario we received a duplicate bill from the vendor, which further resulted in two bills to customer. Definately the A/P blocked the bill for payemnts as delivery quantity had exceded, however the customer invoice couldn't be stoped.
    >
    > Can any think of an solution to this...
    >
    > Regards
    >
    > Ranjeet
    Hi
    Check your item category configuration , if you have set Relevance for Billing to *F* , then this problem can be solved.
    Regards
    Krishnakumar Surpur

  • Urgent: Validation For Duplicate Record

    Hi,
    I Have a Simple Tabular Form for Emp,
    (Number Of Records Display = 10)
    I'm Inserting rows like
    Empno Ename Sal Deptno
    1 ABC 10000 10
    2 XYZ 20000 10
    3 XXX 25000 10
    4 YYY 30000 10
    1--- Err
    If I again try to insert 1 then the system should give message 1 is already exist
    before I save the Transaction.
    Note: This validation should be when the item validate.
    Thanks In Advance
    Ahmed.

    Hi ,
    This topic is discussed and code is available somewhere in this forum , but if you cant spend time take this this will be handy, u have to call this procedure and make slight change in the procedure where it will give a error at the time of compilation , the output coloum called out will return values based on that u can know whether its a duplicate coloum, if any more doubts reply to [email protected]
    PROCEDURE check_dupitem (item VARCHAR2, prod VARCHAR2, dup OUT VARCHAR2)
    IS
    drno NUMBER;
    BEGIN
    :GLOBAL.itr := 'Y';
    IF :SYSTEM.cursor_record = '1' AND :SYSTEM.last_record = 'TRUE'
    THEN
    :GLOBAL.itr := 'N';
    ELSE
    drno := :SYSTEM.cursor_record;
    dup := 'N';
    first_record;
    LOOP
    IF TO_CHAR (drno) != :SYSTEM.cursor_record
    THEN
    /* the next line you have to change to your item */
    IF item = :tixd_itemcode AND prod = NVL (:tixd_prodcode, '0')
    THEN
    message ('Duplicate Item! Enter a Valid Item!');
    dup := 'Y';
    EXIT;
    END IF;
    IF :SYSTEM.last_record = 'TRUE'
    THEN
    EXIT;
    END IF;
    END IF;
    down;
    END LOOP;
    go_record (TO_CHAR (drno));
    :GLOBAL.itr := 'N';
    END IF;
    END;
    regards
    Rajesh
    Hi,
    I Have a Simple Tabular Form for Emp,
    (Number Of Records Display = 10)
    I'm Inserting rows like
    Empno Ename Sal Deptno
    1 ABC 10000 10
    2 XYZ 20000 10
    3 XXX 25000 10
    4 YYY 30000 10
    1--- Err
    If I again try to insert 1 then the system should give message 1 is already exist
    before I save the Transaction.
    Note: This validation should be when the item validate.
    Thanks In Advance
    Ahmed.

  • 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

  • Validation Check - Duplicate vendor Invoices

    Hi,
    We have a situation where the Duplicate Vendor Invoices have been entered by the users, bearing the same date and reference nos. as the original ones. When we checked we observed that, the system gives the warning message, but the same is ignored by the users. To prevent the same from happening again, we want to convert the warning message into the error message.
    Could any one guide as to how can we set up the validation checks, such that the system would throw an error message. In the vendor masters, we have set up the check for Duplicate Invoices.
    Thanks in advance.
    Best Regards,

    Hi,
    If you already know the message number, then go to T.code:OBA5 or
    T.code:SE91 (if its an custom message class) and change the message from waring to Error.
    If you are not aware of Message, and try to post a duplicate invoice & when the warning message comes, double click on the same, it will give you the message number.
    This will resolve your issue.
    Please let me know the result of the same
    Thanks
    Kalyan

  • Custom Table for Verifying Duplicate Invoice against Legacy Invoice Data

    Hi All,
    We are trying to upload legacy invoice data in a custom table. Then we want to use SAP duplicate invoice check functionality to look for the potential duplicate invoice from this custom table as well apart from the standard SAP tables.
    If you know of some user exit or any function module which I can use to link this custom table with the standard SAP duplicate invoice check functionality then it would be of great help.
    Regards,
    Sanjay

    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

  • A/P Invoice Entry - Duplicate Invoice Error vs. Warning Message Control

    In configuration, the duplicate invoice message has been defined as an error instead of a warning.  This affects all invoice entry dialog transactions.  Is there a method  or approach to change only transaction F-63 Park Document so the message is a warning intead of an error?   Thxs.

    Hi
    we have to activate certain setting in MM.
    Step - 1
    SPRO - MM - Logistic Invoice Verification - Incoming Invoice - Set Check for Duplicate Invoices - Activate Check box for reference field.
    Step - 2
    In Vendor Master XK02/FK02 goto Payment Transaction & click on check box - Check double Inv
    Step - 3
    There is also a Std Report for checking the invoices for which same reference feild was given
    S_ALR_87012340
    Hope its useful, give if found useful
    Regards,
    ram

Maybe you are looking for

  • Compile report in 6i problem

    Hi All, Encounter a weird problem, scenario as below: Programmer A: (1) OS: WinXP (2) Database A : Oracle 8i, HP-Unix machine (2) report builder 6i: Create a report and connect to database A to compile and generate the rep file. (3)Distribute the rep

  • Customer master report and printing

    hi pls advice any customer master report and how to print the record. thanks

  • What did we do to tick off Verizon? Why is Yarnell's service so poor?

    The call quality of many and sometimes most of our local calls (within Yarnell, AZ 85362) is so poor that it is impossible to hold a conversation with anyone. For instance, the person at the other end might hear us OK but we're not hearing many or mo

  • C5.00 Messege Alerts

    I am facing problem with my cell phone C5.00 which does not gives New Messege Alert even all settings are in order.  I have got new messages in my inbox but it does not give any Messege Alert Tone or popup display for having new message. Please advis

  • JMS configuration for clustring

              Hi,           I have a JMS.ear, having jms.war, jms-ejb.jar.           I need to deploy it for clustered environment.           So how to set the targets? what changes needs to be made in the config.xml to incorporate           this.