AR Duplicate invoice number
Hi
From past many years we have been getting duplicate transaction numbers in Oracle AR. Because of this the new invoices get stuck in the interface table(ra_interface_lines_all) with the error Duplicate Invoice Number.
To address this we are changing the old invoice numbers present in the base tables(ar_payment_schedules_all,ra_customer_trx_all and ra_customer_trx_lines_all) with -1 as suffix ,so that the newer transactions will flow into oracle.But we need to find a permanent solution to this problem.
Any suggestions will be welcomed.
Hi,
in receivables module the transaction number sequence is controlled by the configuration "Transaction Source" .... typically any organization would have two sources one for manual transaction entered in the receivables module directly ... another for transactions imported from Order management or any third party systems ...
When there are two different sources, it is often said to have two different sequence numbers (which cannot overlay each other) ... probably a larger sequence ...say For Manual Invoices 10000001 and for Imported Invoices 5000001 .. in which case chances of duplication would be NIL ....
Also check the Transaction source configuration, since there is an option available to accept Duplicate Invoice numbers .. make sure that checkbox is unchecked as well .....
Also it is recommended by oracle not to make updates to base table / transaction data .. it is a much simpler approach to assign unique transactions numbers for new ones getting imported ...
The key areas to check is the Transaction source configuration ... navigation in receivables module is Setup > Transactions > Sources
Regards,
Ivruksha
Similar Messages
-
A invoice has already posted with the No.ABC1234 (Ref Field in Header Text) through Vendor Invoice (Doc Type KR) in the last year to a Vendor.
As we have developed new xxxxInvoice Interface.
New Document Type "XX" has been created and configured to identify the xxxInvoice.
As per this process Vendor Invoices has uploaded online and the receiving server is receiving
the data everyday. The uploaded Invoices will be parked and the concerned xxxxxxxstaff has
to check and clear the Parked invoices.
The System is allowing the same Invoice No.ABC1234 with the same Vendor during these transactions.
As per our observation the system is allowing due to different document type KR & XX is used.
Is it correct? Can any one give some guidelines on this!
SAP SUCCESSChecking for duplicate invoice, the system compares the following characeteristics by default
Vendor
Currency
Company Code
Gross Amount of the Invoice
Reference Document number
Invoice document date
Due to two different dates are used with same Invoice Number and system allows posting.
Tried with same Invoice Date and system shows warning message.
SAP -
Duplicate Invoice Reference Number
Dear All
I have a requirement that while Parking an Invoice system should tell me for Duplicate Invoice Number exists, when I am enetring it in Reference filed MIR7.
Regards
ManojHi,
TRy activating SPROMM-lnvoice verificationIncoming Invoice--Set Check for Duplicate Invoices
system can check duplicate for a combination of
Reference document number, Invoice date, Company code
Hope this helps
Rgds
Dheeraj -
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.
-
FV60 - validate duplicate invoices by reference and vendor number
Hi,
How to configure the system to validate duplicated invoice by REFERENCE AND VENDOR NUMBER irrespective of dates? This validation need in FV60.Hi Paul,
if you want a duplicate invoice check from the FI side, then you may have to activate BTE 1110 by creating your own Z function module (by copying FM SAMPLE_PROCESS_00001110).
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.
Also refer to SAP Note 305201. It clarifies this in more details.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.
In OB41, also check whether the Posting Key is defined as Sales-related. You have to flag this field if the duplicate invoice check is to work.
Regards,
SAPFICO -
Duplicate invoice. Query help needed
Hi All,
We need to build a query which addresses the following condition
Some of the invoices were created against the wrong vendors and that money needs to be recovered. Some of them are already recovered while some are not
* list out all the duplicate invoices between a particular date range(invoice date) with same invoice num ,same invoice amount and same invoice date.
* If there are any debit invoice created(invoice number postfixed with CR or ADJ),those particualr invoices should not be included.
The table below shows two type of invoice, the one with bold(invoice num=193666) has debit invoice created and all the three records related to it should not be a part of output data
while the record(invoice num=00017321) should be a part of output data.
INVOICE_NUM INVOICE_AMOUNT VENDOR_NUMBER INVOICE_DATE ORG_ID
00017321 233.35 A321 1-Dec-11 95
00017321 233.35 K452 1-Dec-11 95
*193666 101.67 EM9B 18-May-12 91*
*193666 101.67 1B02 18-May-12 91*
*193666CR -101.67 1B02 18-May-12 91*
Below is the query which i wrote to identify the duplicate invoice
select distinct
a1.invoice_amount,
a1.invoice_num,
(select segment1 from apps.po_vendors where vendor_id=a1.vendor_id) vendor_name,
a1.invoice_date,
A1.ORG_ID
from apps.ap_invoices_all a1,
apps.ap_invoices_all a2
where 1=1
and a1.org_id in (91,95)
and a1.org_id in (91,95)
and a1.invoice_date between (to_DATE('01-SEP-2011','DD-MON-YYYY')) AND (to_DATE('01-JUN-2012','DD-MON-YYYY'))
and a2.invoice_date between (to_DATE('01-SEP-2011','DD-MON-YYYY')) AND (to_DATE('01-JUN-2012','DD-MON-YYYY'))
and a2.invoice_num=a1.invoice_num
and a1.invoice_amount=a2.invoice_amount
and a1.invoice_id<>a2.invoice_id
and a1.invoice_amount<>0
order by a1.invoice_amount,a1.invoice_num
Can anybody share their thoughts on how to modify the query above which checks if there are any debit invoice created and not include in the final output.
Thanks in advanceHow do I ask a question on the forums?
SQL and PL/SQL FAQ -
Hard error for non PO duplicate invoice
Hi,
In FB60 for a non PO invoice, how can we restrict the duplicate invoice through reference number for different date and amounts. How can I create a hard error when the user posts a duplicate invoice for different amount and date. Right now the hard error is appearing for the reference num, same date and same amount.
I wanted to create a z function module and tag it to 1110 fucntion module in FIBF Tcode. But can anybody advice if any standard SAP process is available.
Thanks,
Vardhan.No standard feature.
You can use the mentioned BTE in FIBF or a validation in GGB0/ OB28
Regards,
Gaurav -
Hi ,
i have an issue where an invoice is getting posted to times
first invoice was in 2005 for say $100, ref 1234, vendor xyz, PO 123456
second invoice was in 2007 same $100, ref 1234, vendor xyz, PO 123456
I have a check the vendor master for the duplicate invoice and also in the MM side.
Only thing i feel this is happening is b'cos the first invoice is archived. Please share your thoughts
Thanksin FI following fields must be identical for error duplicate invoice msg to occur:
Company code (BUKRS)
Vendor number (LIFNR)
Currency (WAERS)
Reference number (XBLNR)
Amount in document currency (WRBTR)
Document date (BLDAT)
Where as Transaction OMRDC, is an MM customsing transaction this will not apply to FI
Regards
Siva -
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 -
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 -
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,
vikasHi 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
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 -
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
UmaHi 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 -
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 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
Maybe you are looking for
-
when i download a attachment from AOL mail I get a message "Adobe Reader could not open (name of file) it is not a supported etc
-
Can we use concatenate in where clause of a select query
I have a select query as follows.... SELECT ebeln ebelp belnr vgabe bwart DMBTR FROM ekbe INTO TABLE i_ekbe FOR ALL ENTRIES IN i_blck
-
Diff between Component controller,Custome controller and View controller
hi, Can any body tell me the following details, 1.difference between the Component controller,Custome controller and View controller in WD-ABAP.? 2.what is Lead Selection? Regards, Ravi
-
Safari 2.0.1 vs Safari 1.3.2
Hi! I'm a Portuguese web designer who strives to build pages as universally accessible and compatible with the greatest number of platforms and browsers (including Safari) as possible. I bought a Mac Mini where I maintain 15 different browsers and ve
-
NEW to J2EE----Class(within WEB-INF) can't access applet
I admit I'm a newbie. Situation: an applet can import packages or individual classes that are located in WEB-INF dir. Is the reverse true, that the same classes can touch the applet? If so, how do you implement this, tried to import applet class, no