Currently system checks below fields in order to give the duplicate invoice check . This is an standard functionality by SAP.
We want system to behave as below
Currently for below examples system does not give any error as only currency has been changed but we want system to give error.
Company code (BUKRS) 1365 1365
Vendor number (LIFNR) 300000 300000
Currency (WAERS) USD EUR
Reference number (XBLNR) 334 334
Amount in document currency (WRBTR) 1000 1000
Document date (BLDAT) 15.11.2011 15.11.2011
As mentioned above if the currency is same then system throughs a error message for duplicacy. But if currency is different the system creates an duplicate invoice through MIR7.
Any suggestions how to achieve this.