Skip to Content

Duplicate invoice check in FV60/65


I am trying to set up a custom error message for duplicate invoice based on Vendor number (LIFNR) and Reference number (XBLNR) alone. The system presently considers a bigger set of fields to check for duplicate invoices which are

Company code

Vendor number


Reference number

Amount in Document currency and

Document date

I need to override this setting and have duplicate invoice check based on vendor and reference no. combination.

I have seen some threads which talk about BTEs where an FI interface - SAMPLE_PROCESS_00001110 can be customized by copying the sample function module and make customizations in the BTE.

Can somebody throw more light on how to approach this.

Any kind of approach solution would be appreciated



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 10:58 PM

    Hi Nag

    I have configured a validation step to check duplicate documents in the past. Very quick and easy to use.


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Kylie

      Thanks for the update. I have already tried using validations through GGB0 and activating the same in OB28. I need the validation to be triggered at Complete Document level in GGB0. Unfortunately the background code corresponding to FV60/65 is only hitting the header portion where the line item details (BSEG) are not populated.

      The vendor number is available at the line item level (BSEG) where as the reference number is available at the header level (BKPF). In order to access both these segements simultaneously, i need the program to trigger at the entire document level which is not happening.

      Any inputs?



  • Posted on Dec 07, 2007 at 02:34 PM

    Was able to get into FIBF and create a product and attach custom function (copy of sample function found in BERP) of the BTE against the product... Problem resolved.

    thanks for your inputs kylie...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.