Duplication of invoice- please help
frnds
i posted one invoice with invoice date 04/18/2007, reference 2900 and cocode xx80
vendor 123909
i tried to post another inovoice with the same informaiton except invoice date which is 04/18/2007, it allowed me to post, shouldnt it stop me to post the inovice as reference and co code and vedor was the same?
i had following settings at OMRDC 1. co code was checked 2. reference doc no was checked 3. invoice date was not checked.
how can i stop the above entry?
please let me know
thanks
Source: https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/sap+solutions&
<b>Duplicate Invoice Check</b>
In which cases a check for double invoices is run through (prerequisites)? Which function module is relevant? Which fields are relevant?
Solution/Answer:
Prerequisite:
If the field 'Chk double inv.' is marked in the vendor account.
The Function Module name is FI_DUPLICATE_INVOICE_CHECK
It will check
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.
http://help.sap.com/saphelp_47x200/helpdata/en/ce/4f3e39ea3aee02e10000000a114084/frameset.htm
Similar Messages
-
Accounting document not generating for excise invoice-please help
Dear all ,
my issue is
accounting document not generating for excise invoice
we are creating accounting document in J1iin
with refferance to billing document but the accounting docuemnt is not generating
the accounting document for billing document is generated
so why the accounting document for excise invoice is not genrating its showing the correct amount in BED ,cee and HE Secc.
please helpDear G. Lakshmipathi,
As uknow i am getting problem when i am creating the debit memo
so is there any specific ETT for debit memo is there .because we are not maintaining delivery type to billing type here in CIN setting
so its not goods removal through sales . so what will be transaction type for this.
how to check the error that why the accounting document is not generated as no error log is also comming.
so please help me in this regards.
Thanks with Regards
Subrat -
Problem with printing invoice. please help
Hi,
I am trying to print an invoice from transaction VF02 for a custom sapscript assigned. I went to:
Goto >> header >> output and gave all the printing settings there. But when I save (even though I checkmarked both 'print immediately' and 'send immediately upon saving'), it's not getting printed in the printer I assigned. It gives some status message as 'Document XXXXXX saved (pricing error)'. I also went to SP01 also to see if there are any spool requests but could not find any. Can you please help with this so that I able to print it?
Thanks in advance.Hi,
If the "Release after output" is checked then once printed it will get deleted from the Spool.
Also go to VF03 and in the outputs check the processing log if there is any error..
Thanks,
Naren -
Error adding invoice - please help
Hi Guys,
I'm getting a weird error while trying to insert an invoice using DI API - the error is -5002,Invalid total [OINV.Address]
Any ideas how I can solve this?
Thanksit has got something to do withe the Invoice Total, I suggest do, some tests to see if the object needs the Total set manually or not.
for a breif experience service type invoices needed the total set.
Indika. -
Customer invoice please help me
Hi,
in which table customer invoices are stored.
how should i proceed to find over due invoices of customer.
thanks.Hi
Customer open items are stored in table BSID. Cleared items are stored in table BSAD. Table BSEG can be used for further details on the line items.
You can probably use report S_ALR_87012168 - Due Date Analysis for Open Items for the due date analysis.
Regards
Poornima -
Hi When i create the downpayment process in the invoice i get amount as value but my requirement is in percentage even after i select the percentage basis milestone billing please help what can be done
downpayment percentage , so if i want 50 percent of order value to be paid and when i go to faz type the invoice is created for 0 value that 50 percent of the amount is not getting calculated , where as when i enter in order same as 50 percent in amount it gets calculated in invoice, any help ?
-
Procedure to generate invoice in xml---please help
Hi all,
I have to write code review of a pakage which contain procedure to generate invoice in XML.The procedure contain two
files .pkb and .pks.All i know is that it will deliver elemt of the post script layout.?But i dont understand what it mean nor i am able to understand the code.I dont have any prior knowledge about this.Please help me and tell me any tutorial to understand and know how this is done.
Also i have pasted some part of code here .please help me in understanding what is going on.
help help help
* GET_INVOICE_XML
FUNCTION GET_INVOICE_XML(inInvId NUMBER) RETURN CLOB IS
BEGIN
IF NOT isClobReady THEN
dbms_lob.createtemporary(invClob, TRUE);
isClobReady := TRUE;
ELSE
dbms_lob.trim(invClob, 0);
END IF;
vInvoice :=
XML_VER_STR || NL ||
' <!DOCTYPE INVOICE_FILE SYSTEM "invoicfile.dtd">' || NL ||
'<INVOICE_FILE VERSION="1.1">' || NL;
GEN_PROLOG(InvId);
GEN_INVOICE(InvId, 1);
vInvoice := vInvoice ||
'</INVOICE_FILE>' || NL || NL;
APPEND_INVOICE(0);
RETURN invClob;
END GET_INVOICE_XML;
PROCEDURE GEN_INVOICE(InvId NUMBER, inITBMode NUMBER) IS
vP1 PLS_INTEGER;
vP2 PLS_INTEGER;
vAtt BOOLEAN;
inv ABCINVOICE%ROWTYPE;
cdr_no NUMBER;
t0 TIMESTAMP;
t1 TIMESTAMP;
execTime NUMBER(12,6);
BEGIN
t0 := LOCALTIMESTAMP;
SELECT * INTO inv FROM ABCINVOICE WHERE OACT = InvId;
dti := inv.DTI;
SELECT NVL(SUM(cdrNO),0) INTO cdr_no FROM ABCCONTRACTS WHERE OACT = InvId AND ITB IN ('Y', 'F');
vInvoice := vInvoice ||
' <INVOICE>' || NL ||
' <HEADER>' || NL ||
' <SEQ>' || inv.SEQ || '/' || inv.PROC_ID || '</SEQ>' || NL ||
' <LEN ';
vPos1 := INSTR(inv.LEN, '|', 1, 1);
vInvoice := vInvoice || 'INV="' || SUBSTR(inv.LEN, 1, vPos1-1) || '" ';
vPos2 := INSTR(inv.LEN, '|', vPos1+1, 1);
vInvoice := vInvoice || 'BAL="' || SUBSTR(inv.LEN, vPos1+1, vPos2-vPos1-1) || '" ';
vPos1 := INSTR(inv.LEN, '|', vPos2+1, 1);
vInvoice := vInvoice || 'DET="' || SUBSTR(inv.LEN, vPos2+1, vPos1-vPos2-1) || '" ';
vPos2 := INSTR(inv.LEN, '|', vPos1+1, 1);
vInvoice := vInvoice || 'PDET="' || SUBSTR(inv.LEN, vPos1+1, vPos2-vPos1-1) || '" ';
vPos1 := INSTR(inv.LEN, '|', vPos2+1, 1);
vInvoice := vInvoice || 'ITM="' || SUBSTR(inv.LEN, vPos2+1, vPos1-vPos2-1) || '" ';
vPos2 := INSTR(inv.LEN, '|', vPos1+1, 1);
vInvoice := vInvoice || 'PITM="' || SUBSTR(inv.LEN, vPos1+1, vPos2-vPos1-1) || '" NTF="' ||
SUBSTR(inv.LEN, vPos2+1) || '"/>' || NL;
vInvoice := vInvoice ||
' <BAR>' || inv.BAR || '</BAR>' || NL ||
' <BCD>' || inv.BCD || '</BCD>' || NL ||
CASE WHEN inv.BIC IS NULL THEN '' ELSE ' <BIC>' || inv.BIC || '</BIC>' || NL END ||
' <REF>' || inv.REF || '</REF>' || NL ||
' <OHX>' || inv.OHXACT || '</OHX>' || NL ||
' <CID>' || inv.CID || '</CID>' || NL ||
' <CCO>' || inv.CCO || '</CCO>' || NL ||
' <CND>' || inv.CND || '</CND>' || NL ||
' <PBF>' || inv.PBF || '</PBF>' || NL ||
' <DTI>' || inv.DTI || '</DTI>' || NL ||
' <DTD>' || inv.DTD || '</DTD>' || NL ||
' <DPS>' || inv.DPS || '</DPS>' || NL ||
' <DPE>' || inv.DPE || '</DPE>' || NL ||
' <DAS>' || inv.DAS || '</DAS>' || NL ||
' <DAE>' || inv.DAE || '</DAE>' || NL ||
' <PAY>' || inv.PAY || '</PAY>' || NL ||
' <NAM>' || ABCUTIL.CONVERT_POL_CHAR(inv.NAM) || '</NAM>' || NL ||
CASE WHEN inv.ADS1 IS NULL THEN '' ELSE ' <ADS>' || ABCUTIL.CONVERT_POL_CHAR(inv.ADS1) || '</ADS>' || NL END ||
CASE WHEN inv.ADS2 IS NULL THEN '' ELSE ' <ADS>' || ABCUTIL.CONVERT_POL_CHAR(inv.ADS2) || '</ADS>' || NL END ||
' <ADZ>' || ABCUTIL.CONVERT_POL_CHAR(inv.ADZ) || '</ADZ>' || NL ||
' <NIP>' || inv.NIP || '</NIP>' || NL ||
' <REG>' || inv.REG || '</REG>' || NL ||
' <PES>' || inv.PES || '</PES>' || NL ||
' <BCY>' || inv.BCY || '</BCY>' || NL ||
' <TXT>' || ABCUTIL.CONVERT_POL_CHAR(inv.TXT) || '</TXT>' || NL ||
' <GRO>' || TO_CHAR(inv.GRO, 'FM999990.90') || '</GRO>' || NL ||
' <FBL>' || inv.FBL || '</FBL>' || NL;
IF inv.STP > 0 THEN
GEN_TEXT(inInvId, 1);
END IF;
vInvoice := vInvoice ||
' </HEADER>' || NL ||
' <ADDRESS>' || NL ||
' <ENV>' || inv.ENV || '</ENV>' || NL ||
' <TNA>' || ABCUTIL.CONVERT_POL_CHAR(inv.TNA) || '</TNA>' || NL ||
CASE WHEN inv.TAS1 IS NULL THEN '' ELSE ' <TAS>' || ABCUTIL.CONVERT_POL_CHAR(inv.TAS1) || '</TAS>' || NL END ||
CASE WHEN inv.TAS2 IS NULL THEN '' ELSE ' <TAS>' || ABCUTIL.CONVERT_POL_CHAR(inv.TAS2) || '</TAS>' || NL END ||
' <TAZ>' ||ABCUTIL.CONVERT_POL_CHAR(inv.TAZ) || '</TAZ>' || NL;
GEN_TEXT(inInvId, 2);
vInvoice := vInvoice ||
CASE WHEN inv.MTX IS NULL THEN '' ELSE ' <MTX>' || inv.MTX || '</MTX>' || NL END ||
' </ADDRESS>' || NL;
APPEND_INVOICE(0);
IF inv.BCY <> '99' THEN
GEN_INVOICE_BILLING(inInvId);
GEN_BALANCE(inInvId);
vPos1 := INSTR(inv.LEN, '|', 1, 2) + 1;
vPos2 := INSTR(inv.LEN, '|', vPos1, 1);
vPos1 := SUBSTR(inv.LEN, vPos1, vPos2 - vPos1);
IF vPos1 > 1 THEN
GEN_SUMMARY(inInvId);
END IF;
END IF;
vInvoice := vInvoice || ' </INVOICE>' || NL;
APPEND_INVOICE(0);
END GEN_INVOICE;Edited by: BluShadow on 28-Aug-2012 09:46
added {noformat}{noformat} tags for readability. Please read: {message:id=9360002}Not quite sure what you want to know about it.
If you want a code review of it, I can tell you it's very poor code, because that's not how to generate XML data in Oracle. Oracle has built in XML functionality for generating such data, and doesn't require hard-coding XML tags.
Here's the Oracle documentation...
http://tahiti.oracle.com/
pick your database version and search for things like XDB, SQLX or more specifically XMLELEMENT, XMLAGG, XMLATTRIBUTES etc. -
Invoices posted without good receipt initial posting - please help
Hi Gurus,
I would like to ask you if you have and answer / solution for this situation.
I have a release order with 6 invoices + goods receipt. The problem here is that all the invoices were posted, but not the initial goods receipt. a Financial account had already been posted as well, so i dont know how i will solve this situation !!
Can u please help me ?
If u need more information please ask me.
Thanks in advance,
Mário.Hi
If you see these invoices in the vendor line items, all would have got payment block in it. Unless GR is done for these PO's, it will not get released automatically. If GR is not required for these invoices, then you will be able to make payment. But if GR based IV is ticked in PO, unless you do GR, you will not be able to make payment to the vendor.
You can still post GR through MIGO for the same PO. System will allow you to post GR for these invoices.
Award points if found useful.
Regards,
K Lakshmanan -
Please help! apple Russia fails in warranty repairs due to the lack of IMEI numbers IPAD in the invoice. Where to go?
Call Apple and they will send you a box to ship it in for service. Should take less than a week to get it back. Mine was picked up on a monday, and I got ti back on a thursday.
-Bmer
Mac Owners Support Group
Join Us @ MacOSG.com
iTunes: MacOSG Podcast
An Apple User Group -
Hello - does anyone now how to place a complain for an over charged invoice over a in-purchase game? Apple is charging 10 times more the purchase we made and I cannot find anyplace in the App store to complain online or via email? Please help if you know
Use the Report a Problem link in the iTunes email receipt you received. Also in-app purchases can be made without the password if you bought the app within the last 15min. You should enable the in-app restriction in Settings.
-
I can't cancel my creative cloud membership.Links and phone number don't work. PLEASE HELP, I WILL NOT PAY THE NEXT INVOICE!!!
This is an open forum, not Adobe support... You need Adobe support to cancel a subscription
-start here https://forums.adobe.com/thread/1703848
-or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
--and two links which may provide more details, if the above links don't help you
-http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
-http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html -
MIR7...a problem with an invoice..PLEASE HELP!!!
Hi all,
i just want to create a preliminary invoice in the Tx. MIR7, but something happen with the item i want to add to the invoice and, doesnt let me create the preliminary invoice a throw the follow "error": Error in routing MRM_DRSEG_FILL(SAPLMRMH). Why the Tx. shows me that "error"?. Please help, i'm debugging the standard and i cant figure out what is the problem with the item.
Thanx in advanceHi Mariana ,
I am facing exactly the same error.
Can you please guide as to how you solved the problem.
Regards
Suman Chakraborty -
Please help me add items to the Pages invoice doc keeping the formulas
Please help me add items to the Pages invoice doc keeping the formulas ie that they will add together and give me a total
this is the template I am Referring to...
-
PLEASE HELP. The connection between invoices and notifications
Hi
I have to develope a search page for invoice notifications. The trouble is that I can't find the connection between an invoice and the notifications sent on this invoice. Have no connection between the WF_NOTIFICATIONS table and the AP_INVOICES_ALL and AP_INVOICE_DISTRIBUTIONS_ALL tables. Is there anyone that can please help me ?In the Report Builder, try
File --> Generate to File --> HTML
for an approximation of "what you see is what you get". There may be differences from what the end user sees based on different browsers (IE vs Netscape), different browser margin and font settings and different printers for printed reports. It is truly annoying. We have found that PDF is more predictable when it can be used instead of HTML. -
Regarding Duplication of Invoice
Hi All,
Got struck with a issue. please hepl me out in this. I need to check the duplication of invoice when i post a document in F-42. It also a country specific as well. so can anyone pls suggest me which method i can use and how to use it. I appericiate if u can guide me with some sample codes.
Thanks
SathishHi,
There is simple way of solving this issue,
Go to the transaction OBA5,
Give Application Area F5,
Select New Entries
Set Message 117 to Error status in online and batch input.
So when ever you post an document which has the same document date, posting date, reference number, vendor number and infact same amount it shows an error message this this
"Check whether document has already been entered with number 1900145058 2006
Message no. F5117"
I think this will solve your problem.
Assign points if this answer is helpful.
Thanks,
Srini
Maybe you are looking for
-
Preparing to send iMac back for replacement.
I am planning on sending my iMac back for my replacement tomorrow and I have everything I need backed up safely. I want to erase the hard drive before I send it back and have read the instructions on how to do so. I have the OS X install cd's and I p
-
Generics bug in Sun compiler?
The code show compiles using the oracle compiler, but when executed generate a NoSuchMethodError. Apparently, this doesn't occur when run under Eclipse, presumably compiled byJikes. Is this a known bug? (Compiled using 1.6.0_21) public class Bug {
-
Firefox 4 won't start on Mac OS X 10.4.11.
I get an error message from Firefox 4, saying it won't run on this level of operating system. CPU 2 GHz Intel Core 2 Duo. I had to go back to 3.16
-
I'm trying to add "masking actions" to Illustrator but it won't copy. I'm using the 30-day trial version of illustrator. Could that me why I'm not able to add actions?
-
Application Module Data Source problem
I have a project which has multiple App Modules (AM). I have deplyed the application on Tomcat 5.5. The database connection is configured as DataSource. When I start the application the first app module connects to the database and works properly but