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
Similar Messages
-
Duplicate Invoice Check for Transaction FB01 or similar transactions
The standard function module FI_DUPLICATE_INVOICE_CHECK will check whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, reference number (If a reference number was entered in the current invoice/credit memo). If no reference number was entered in the current invoice/credit memo the system checks whether an invoice/credit memo has already been posted where all of the following attributes match: Company code, vendor, currency, document date, amount in document currency.
The above functionality described in the short description doesnt provide for the need within AP to check on duplicate invoices. The functionality in FI differs from the functionaltiy provided in LIV and therefor needs to be aligned. The risk of posting duplicate invoice entry is eminent since the check is dependent on all parameters. For a good duplicate invoice number check we need FI to check on Vendor and invoice reference within the same fiscal year. To modify rules, copy FI_DUPLICATE_INVOICE_CHECK, modify the checks and then call the copied function module from FB60. The remaining field check in the standard function module should be deleted.Exactly what is my requirement is standard function module checking based on some parameters. In this requirement different way to check this process.
-
Duplicate Invoice Check in SRM 4.0
My client has posted a duplicate invoice and it has been paid. The first invoice and this second invoice (the duplicate) were identical except for the created date. The first was created 04/01/2008 and the second created 01/20/2009. Why did the system allow this duplicate to post and be paid?
Where can I look to see how our system is checking for Duplicate Invoices? I assumed that it looked at Vendor, Amount, Vendor Invoice Number and Posting Date. Is this assumption incorrect?Hi
If you are posting invoices in ECC or R/3, then you can see duplicate invoice check setting under MM>Logistics invoice verifn>Incoming invoice-->Set Check for duplicate invoices. Here you can define your settings for duplicate invoice check for your company code. If you have maintained the indicators for 'Check Reference' as well as 'Check invoice date' then system would throw an error message only when the both the reference and the date are matching. If the date is different and the reference is same, then it would allow posting of invoice.
To avoid this you can set the indicator only for 'Check reference'. In this case error message would be thrown even if the dates are different but the reference is same.
Also you can make the error message as hard error instead of warning which is the standard type.
Regards,
Sanjeev -
Duplicate Invoice Check during Invoice Parking
Hi All,
We have activated duplicate invoice check for our company code. All the required pre-requisites have been activated w.r.t configuration and master records. In our case we had checked only Reference document number and company code for considering duplicate invoice check.
So during invoice parking the system is checking the gross invoice amount also for validation.
For example, we had parked an invoice document with gross invoice amount 100 USD, reference doc number 123, vendor code X, company code Y and currency USD. We are trying to create another invoice document with same parameters as created for first document except gross invoice amount (for this new document the gross invoice amount is 150 USD) In this case the system is not showing the message number M8-462 (Check if invoice already entered as logistics inv. doc. number & &). If the Gross invoice amount is same, then the system is showing the message.
But if we post the invoice and then try to create another invoice with same reference with different gross invoice amount, then system is showing message M8-108 (Check if invoice already entered under accounting doc. no. & &)
Please provide your inputs on why system is considering gross invoice amount for parked invoices.
ThanksIf it's User specific it's probably the message setting . . .
MM \ LIV \ Define Attributes of System Messages
Help text:
Define Attributes of System Messages
In this step, you can define the category of message received by individual users for certain messages in Invoice Verification. This allows you determine whether a user receives a message as an indication of:
Information
Warning
Error
Or whether no message should be issued at all
Regards,
Nick -
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,
BobHi,
Try check link below:-
http://help.sap.com/saphelp_afs30b/helpdata/en/ce/4f3e39ea3aee02e10000000a114084/content.htm
Regards,
Fauzi -
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
SandeepHi,
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 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 PMHi,
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,
GajananHello 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 -
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
ShaunHi,
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 -
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
ExpertiaDear 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 -
Duplicate invoice check in park invoice
hello gurus
what are the settings for duplicate invoice check at the time of invoice parking.
Thanks
VenkatHI 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 -
SAP Note 1413253 - Eletronic Duplicate Invoice Functionality for Argentina
Hi All
The last step of the SAP Note 1413253 - Eletronic Duplicate Invoice Functionality for Argentina is to create V_1AOUM view, using transaction SE54, but I am getting the error message: "Incorrect Entry" - the object is not accepting the access key that basis team sent to me.
I would like to know if someone is facing the same problem and how could I solve this.
Thanks in advance.
Joao GaiaHi 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 -
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 -
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
NagThere 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
Maybe you are looking for
-
How do I pair my Bluetooth Headset with ThinkPad with Windows 7
I have got a Plantronics explorer 210 bluetooth headset. I was hoping to pair it with my lenovo E431 laptop running Windows 7 . However, I do not see any application that will allow me to pair the headset. I do see an application to transfer file
-
Premier 11 adds my clips in the wrong order
I have 2155 photos I'm trying to add to Premier Elements. They are in order 1-2155 but when Premier adds them it is out of order. For example photo #32 is moved directly after photo #320. Every # with a 0 at the end causes the same # without a zer
-
Flash Player seems to have lost functionality
Suddenly the Flash 8 player has lost the ability to show filter effects [blur]. It worked fine before [I'm using Flash Professional 8 and the latest browsers, Safari, Firefox, Opera]. What happened?
-
Remote Desktop Windows XP to Imac
Hello, I just bought a imac . I have an older Windows XP pro. laptop. Can you remotely access a imac from a Windows XP laptop ? Thank you ,Brandon
-
My firefox 3.6.13 now uses 135M and takes ages to load.
My last upgrade shows a smallish firefox exe file size but Norton has reported a large space usage as reported above and load times have gone out of the window. Chrome load times are very much faster.