FB60 Including or excluding a characteristic in duplicate invoice check

When entering vendor invoice in FB60, system checks entry of company code, vendor, document date and reference number for duplicate invoice. If duplicate invoice is detected, message F5117 will be issued.
We would like to change the duplicate invoice check by excluding document date for vendor invoice entered in FB60. Such change does not affect customer invoice entered in FB70. That is, document date will continue to be part of duplication check for customer invoice FB70.
I understand such change (of adding or deleting characteristic in the message parameters) requires ABAP expertise.  I could not find message F5 117 in the source code of program SAPMF05A (FB60).  Would appreciate any help as to where the change be made.
Regards,

Hi,
I has written in the program  SAPFF001
it is used in the program 2 times in sub routines
FORM doppelte_belege_pruefen_s
FORM doppelte_belege_pruefen.
Regards
Krishna

Similar Messages

  • Including or excluding a characteristic in duplicate invoice check

    When entering vendor invoice in FB60, system checks entry of company code, vendor, document date and reference number for duplicate invoice.  If duplicate invoice is detected, message F5117 will be issued.
    We would like to change the duplicate invoice check by excluding document date for vendor invoice entered in FB60.  Such change does not affect customer invoice entered in FB70.  That is, document date will continue to be part of duplication check for customer invoice. 
    OBA5 and OBMSG allow change of message status for W, E, etc.  We can create customized message (e.g. Z117) in SE91 and assign it to application area.  But what about changing the message parameters to include or exclude certain characteristic?  Does such change have to be done in program SAPMF05A (FB60) and that requires ABAP expertise?  If we change the message parameters directly in the program, then we can assign separate messages for vendor and customer documents? 
    We set u201Cduplicate invoiceu201D indicator in vendor master.  I have reviewed Note 305201.
    Appreciate any insight or feedback. Thanks in advance.

    Problem solved.
    Use Business Transaction Event 1110
    Activate SAMPLE_PROCESS-_00001110

  • In FB60, duplicate invoice check does not work if invoice date is different

    In FB60, duplicate invoice check does not work if invoice date is different
    This issue is in FB60 and not MIRO.
    Duplicate invoice check is activated in vendor master.
    I posted an invoice for a vendor with amount $ 100, Reference 1234 Invoice date Nov 01, 2011
    I tried posting for same vendor (and also Co Code) with amount $ 100, Reference 1234 Invoice date Nov 01, 2011. System does not allow. This is fine.
    Now I change only date, from Nov 01 to Nov 02, and system allow posting.
    Why I don't get the error message when date is different ? It should not be treated as a different invoice since invoice reference, amount, Vendor and Co Codes are same.
    SAP documentation says that it checks document date during duplicate invoice check even for FI invoices, then why does it allows in this case.
    Is this a bug ?
    I already tried changing settings in SPRO under LIV, this does not impact FB60 invoice booking.
    Thanks
    Sandeep

    Hi,
    Use BTE - 1110 - (Check on Invoice Duplication) for FB60. Take the help of your ABAPer to make a coding in Function module mentioned in BTE.
    Need to make a copy of the FM and then you can do relevant coding.
    refer the link.
    [http://www.thesapconsultant.com/2006/10/sap-business-transaction-events.html]
    Regards,
    Shridhar

  • Duplicate invoice check on MIRO/Logistics invoice verification.

    Hi SAP Gurus,
       I am stuck with a small issue here. I am trying to post an invoice through FB60 with same vendor, same comp code, same GL and same reference and I am aware there are two settings to do the duplicate invoice check one is through vendor master (payment transaction screen) and the other is OMRDC transaction where we check certain fields to validate invoices based upon same values. now when I take a vendor without that vendor master config for duplicate invoice check and checking all the fields in OMRDC transaction the system doesn't validate or throw any error while posting FB60 with all the same values. so is there any other configuration available apart from these two configuration settings?
      My requirement is the configuration already exists which checks duplicate invoice based upon same invoice date  for all the vendors of a company code and I need to change the configuration setting back where it ignores checking invoice date. it doesn't show any kind of error in my test whether I make change in OMRDC transaction or not.
    Regards,
    Bob

    Hi,
    Try check link below:-
    http://help.sap.com/saphelp_afs30b/helpdata/en/ce/4f3e39ea3aee02e10000000a114084/content.htm
    Regards,
    Fauzi

  • Duplicate invoices check criteria

    Hello Gurus,
    I have a quick question,
    We have set the duplicate invoice checkbox in Vendor master records to check for duplicate invoices and the reference field in FB60 is a mandatory field, now as per the documentations, 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
    How can I add Amount as a criterion to check for Duplicate invoice check??

    In case of FI document , duplicate vendor invoice check is available for :-
    Company code
    Vendor
    Currency
    Document date
    Reference number
    You need not to restrict to amount for example
    a vendor gives you duplicate invoice with different amount. system will block the entry or give warning message depending upon message control maintained.
    in case you have scenario for restriction you have to maintain user-exit. check user-exit for fb60.
    thanks
    S AP
    Edited by: S AP on Aug 11, 2008 3:34 PM

  • Duplicate Invoice Check -Vendor

    Hi everyone,
    I found  out that I posted an invoice(FB60) for the same vendor with same, amount, reference,invoice date,same company code.one invoice was posted on 3rd march and  other was posted on 25th march,I checked in the vendor master record indicator" chk double inv" is checked.Why system didn't give any error or warning message.Please guide.
    Regards
    Shaun

    Hi,
    Good Day,
    Please follow the below steps ( taken from another post and its working fine for me)
    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.
    and 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.
    Best Regards,
    KSK

  • Vendor duplicate invoice check ???

    Dear Expert.
    Since in for FI documents will check double invoice when we post invoice with the same
    - Company code
    - Vendor
    - Currency
    - Document date
    - Reference number
    But our client would like to see or check double invoice if it is raised by different
    VENDOR
    For example, if we post invoice in FI with
    - company code: 1000, vendor code: A, Currency USD, Document date: 01.04.2009 and invoice no. 1234
    and we also post invoice in FI with
    - company code: 1000, vendor code: B, Currency USD, Document date: 02.04.2009 and invoice no. 1234
    So is there any Standard report or standard Configuration check available ??  Or How I can achive this ?

    Hi Uday,
    Please check the steps again:
    SPRO --> Materials Mangemnt ...> Purchasing ...> Partner Determination
    A. Define Partner role
    B.Define Permissible Partner Roles per Account Group( In this step, you can specify for each account group of the vendor         which roles the vendor may assume.)
    C.Partner Settings in Vendor Master Record
    In this section, you define partner determination schemas and assign them to account groups.
    D.Define Partner Schemas
    In this step, you define partner determination schemas.
    E. Assign Partner Schemas to Account Groups
    F. You need to include the Partner Function PI in the Partner Schema assigned to your PO document type. 
       MM-Purchasing -partner Determination - partner settings in purchasing documents
    Apart from the above setting if you have set duplicate invoice check in a particular Vendor Master record and there is an entry in the Reference field when you enter an invoice for this vendor, the system always checks if there is an invoice containing same data as which just entered.
    The following check criteria can be used
    - Co, Code.
    - Vendor
    - Currency
    - Reference
    - Invoice Date
    - Amount
    You must specify in customizing whether the Co. Code, reference and Invoice date are included in the check.
    If it finds an invoice that matches all these attributes (Message # M8 108) is issued as error or information.
    All these are SAP standard settings; and they should work. You can always look to enhance the check logic with the help of a BADI or FM Exit.
    Hope this is useful.
    Thanks,
    Reetesh

  • Duplicate Invoice check message

    Hi Experts,
    Our client wants the duplicate invoice warning message in FB60 to appear as a pop-up box, instead of the usual yellow warning message. Is there any way that this warning message could appear in a pop-up instead of just a message?
    Thanks,
    Anju

    Hi,
    Issue resolved.
      Create a Function module by copying SAMPLE_PROCESS_00001110 and adding your own Abap code for duplicate invoice checking message as pop up.
      Go to T.code FIBF and in the menu go to Settings->Products -> Of a customer. Create a new product and save
            Again go to T.code FIBF and in the menu go to Settings->Process modules-> of a Customer
      Create new entry as follows and save.
               Event: 00001110   Function Module : (Name of the FM you have created)  Product : (The one which you have created)    

  • Duplicate invoice check in park invoice

    hello gurus
    what are the settings for duplicate invoice check at the time of invoice parking.
    Thanks
    Venkat

    HI Venkat,
    Let me  explain how the check for duplicate invoices work in FI:
    In FI,when checking for duplicated invoices,the system compares the following
    Note 305201 clarifies this in a more detail.
    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.
    and 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.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Duplicate Invoice Check for Transaction MIR7

    Hi Experts,
    My client requirment is .
    Currenty system checks the BUKRS,LIFNR,WAERS,XBLNR,WRBTR,BLDAT for duplicate invoice this is a standard SAP functionality for T.code MIR7.
    Logic needs to be changed
    Duplicate Check in SAP for Vendor invoices to only check Vendor number (LIFNR) and Reference number (XBLNR).
    I have found a function module which is used to through the error message CUSTOM_MESSAGE is the FM under  MRM_FI_DOCUMENT_CHECK. advise what can be done for this.
    Thanks,
    vikas

    Hi Nabheet,
    BSIP is the table which is used for the Vendor Duplicate invoice check.I can do the validation based on xblnr and lifnr for my requirement but i am not sure where i have to do the validations. Please suggest.
    Thanks,
    Vikas

  • Duplicate invoice check in FV60/65

    Hi
    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
    Currency
    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
    Thanks
    Nag

    There are two steps to be followed for the duplicate invoice check in FV60/65:
    Step 1:
    I guess you know how to access the sample function module. Go to tcode BERP and select the business process 01110.
    Click on the button ‘Sample function module’ and you would be taken to SE37 and the sample function SAMPLE_PROCESS_00001110 would be displayed. Make a copy of this function module in to ZSAMPLE_PROCESS_00001110 or something like that.
    Write your custom code required for the duplicate invoice check as per your requirements.
    Step 2:
    This involves configuration where the custom function module created in the earlier step should be made active in the BTE process.
    Go to tcode FIBF and create a product through the menu path: SETTINGS -> PRODUCTS -> ….of a customer
    First create a product by clicking on ‘NEW ENTRIES’ button and save the product.
    Next, you have to attach the Z function created in the first step to this product. For this, follow the menu path SETTINGS -> PROCESS MODULES -> ….of a customer.
    Attach your z function to the product as shown in the first line and you are all set.
    Test the tcodes FV60/65 and see if they hit your custom code in the z function to verify the results.
    Hope this helps.
    Note: Here is the custom code that I have written in the function module for my purpose.
      SELECT COUNT(*) FROM bkpf
                      JOIN vbsegk
                      ON    bkpfbelnr = vbsegkbelnr
                      WHERE bkpf~xblnr   = i_xblnr
                        AND bkpf~blart   = i_blart
                        AND vbsegk~lifnr = i_lifnr.
      IF sy-subrc = 0.
        MESSAGE e000(za) WITH 'Document already exists for given Vendor:' i_lifnr '& invoice ref:' i_xblnr.
      ENDIF.
    Thanks
    Nag
    P.S: Please reward points if solution is useful...thanks

  • Duplicate Invoice check

    Hi,
    We have made the settings for duplicate Invoice check. In one scenario, when we use same reference number for different vendor also, system is throwing duplicate invoice check. Could anyone of you clarify why system is throwing error for same reference even  it is a different vendor also.
    Regards
    Uma

    Hi Kumar,
    Standard SAP always checks duplicate invoice check at FI document level BSEG-XBLNR, not at Vendor level. If this situation occurs we always input XXXXa inorder to avoid this type of situation. Hope this helps.
    Thanks
    Raghuram

  • Duplicate invoices check

    hi all
    i have set up the necessary checks to catch duplicate invoices under path MM-LIV- incoming invoice-set check for duplicate invoices. and in vendor master i flagged the "chk double inv" and in PO ticked "GR-Bsd IV". but the duplicate check doesn't seem to work, i can still enter an invoice which already been booked previously. i couldn't figure it out! anyone can help me on this issue? thanks.

    hi,
    i've done these settings, not working either! do i need to config Error or warning msg?  i 've tested the IDES, i found company code 7500 is set up with duplicate invoice check. and when i tried to enter invoice 2nd time in MIRO, system generated error msg: Another relevant document exists with the same official document number
    Message no. 8A332
    The official document number that was entered in the reference document field was checked against other documents that have the same business partner and are assigned to the same document class.
    The result of the check was that another document with the same official document number already exists in the system.
    Please check your entry of the official document number.
    If the you are not able to change the entry in the reference document number on the current screen,  please choose 'Document overview' and change your entry on the following screen.
    where to config this msg?

  • Duplicate invoice check in LIV

    Hi,
    How system check the duplicate invoice check in LIV.
    We have activated Duplicate invoice check in vendor master and activated this in IMG via "SPRO-LIV-Incoming Invoice-Set check for Duplicate invoice" in the combination of Company code, reference number & Invoice date.
    Message number M8 462 as Error message only
    In our case, we have used the same reference number, Invoice date, amount, currency, vendor code, company code in MIR7 at header level. But we have posted to the different GL number and this is not reference to PO/SES number.
    Could any one help on this scenario and whether duplicate invoice check is available in G/L account tab also.
    Thanks & Regards
    R>Saravanan
    Edited by: saravanan_rsa on Nov 30, 2009 2:35 PM

    Hi,
    Refer below link
    [http://www.erptips.com/Snippet1/rbjyatmlgc.pdf]
    [http://help.sap.com/erp2005_ehp_04/helpdata/EN/ce/4f3e39ea3aee02e10000000a114084/frameset.htm]
    Regards,
    Vikas

  • ERS does not check duplicate invoice check

    Hi there,
    We have all the vendors in the vendor master set up with duplicate invoice check on. However this does not work during MRRL process.
    Any sugegstions, information is greatly appreciated.
    Thanks,
    Gajanan

    Hello Gajanan,
    If you create an invoice with transaction MRRL (ERS) then this invoice
    will be created automatically in the background (not online).
    Unfortunately I have to inform you that the function 'Duplicate
    invoice check' is not implemented for ERS. This check was primarily
    written for the online transactions, like MIRO.
    A possible solution to this issue is contained in  note
    48121 which describes how you can create your own validation user exits
    in the FI interface (function module ckmv_ac_document_create). In such
    an user exit you can implement your own coding, for example the double
    check for the invoices:
    the following
      CALL FUNCTION 'MRM_FI_DOCUMENT_CHECK'
        EXPORTING
          i_bukrs                = i_bukrs
          i_lifnr                = i_lifnr
          i_waers                = i_waers
          i_xblnr                = i_xblnr
          i_bldat                = i_bldat
          i_wrbtr                = i_rmwwr
          i_blart                = i_blart
        EXCEPTIONS
          invoice_already_exists = 1
          OTHERS                 = 2.
    will be called in the validation user exit and if the sy-subrc = 1
    (invoice already exists) then your own error message will be proceeded
    and the invoice won't be posted.
    Hope this helps
    Ray

Maybe you are looking for

  • How do I create multi colored boxes using CSS3

    OS - Windows 7 using DW Cs5.5 I need to create a screen with lots of equally sized colored boxes with text colours that will be visible easily within them. I have a class set up as follows: .yellowbox {     font-family: "Lucida Sans Unicode", "Lucida

  • BW hierarchy dummy leaf node in BPS layout

    BW hierarchy with postable nodes. I am using a cost center Hierarchy in a layout. I get the following nodes: 4711 (inner node) --4711 (dummy leaf, system generated, not assigned budget) --4712 (leaf) How can avoid displaying in the layout the dummy l

  • My MacBook Pro is SO slow after downloading Yosemite....

    Help! I can't get the internet to load and every this is so slow after I downloaded Yosemite. Not a technical person so not even sure what to do!

  • Migrate to a new disk

    I have a PowerMac G4-450 AGP which still meets most of my needs, except disk space. the original 27 Gb drive is constantly maxed out, so I got a new 120 Gb drive and installed it as a slave drive. I moved most of my user files and a lot of apps to th

  • Expresscard 7-in-1 reader not being recognized

    Hi guys! I just bought a Kensington 7-in-one expresscard reader for my new MacBook Pro, but it is not recognised when it is inserted, with or without an xd card in it. I have tried rebooting, restarting, booting with the card inserted, resetting the