DTW Purchase Invoice error

I am trying to import purchasing invoices using DTW, but keep getting the error "Invalid Total [OPCH.DocTotal]".  I have looked at the DTW oPurchaseInvoice templates, but they are for item invoices and I am trying to import service invoices.  Can somebody point me to some documentation regarding proper doc templates?

I tried following this instructions from this case
Importing Service invoice through DTW, but have no luck.  I get Internal ERror 5002 results for all rows.
hi,
In document template.enter record key,docdate,cardcode,and in DocType of header template give it as
dDocument_Service
In document_lines enter record key,LineNum,Account Code,Item/service Description,Line Total
Simulate a test run.
Then Upload datas.
Jeyakanthan

Similar Messages

  • DTW Purchase Invoice upload-Currency Exchange error

    Hi everyone
    I've been trying to upload some Purchase Invoices for some time now but it keeps giving me back this error on every single one:
    "Exchange rate not updated ,'USD'Application-defined or object-defined error65171"
    I've changed all the dates in the excel file to the current date and have established exchange rates on SAP for that date but still it won't work...
    Please help me, I've run out of thing to try here
    Thanks

    I had a similar problem: importing down payment requests with DTW working, then some days later giving the Currency Exchange error.
    I found the reason which was having changed the business partner's currency. As soon as it was different than the default, DTW stopped to work as expected.
    Even better, I did found a solution. Set the currency and the rate also at the document level not only in the lines. It will make the import to work without the Currency Exchange error.
    Edited by: Péter Forró on Oct 9, 2008 2:56 AM

  • DTW AR Invoices Error

    Hello experts,
    Im getting this error when I tried to import my AR invoices " Property DocNum of DocumentLine is invalid".
    I have make sure starting lne is 0, doc num of lines matches parent docnum but it doesn't seem to work.
    Any suggestions??
    Please advise

    Hi,
    I don't think you need doc num in line template. Take it out to try.
    Thanks,
    Gordon

  • Error in importing purchase invoice.

    I am using sap business one 2005.I have imported items,bom and business partners.When I import purchase invoice it gave me following error-
    Exchange rate not updated [PCH1.RG23Part2][line:1],'USD' Application-defined or object defined error 65171.
    The table pch1 is empty.Which part of business part is neglected or not imported ?
                                                                                    Regards,
                                                                                    Dilip Kumbhar

    Hi Dilip,
    The Exchange rates (for USD) are not imported or not set. Import/Set the exchange rate for the PO dates
    Regards
    Ad

  • Create a Credit Memo from purchase invoice

    Hi everyone,
    I am trying to create a credit memo from a purchase invoice, but it retuns the following error:
    "RFC is missing"
    I am using the JCO classes to develop this application. this is a sample of my code:
    IDocuments document = SBOCOMUtil.newDocuments(company,new Integer(19));
    document.setCardCode("P00055");
    document.setDocDate(new java.util.Date());
    document.getLines().setBaseEntry(new Integer(2852));
    document.getLines().setBaseLine(new Integer(0));
    document.getLines().setBaseType(new Integer(18));
    int lRetCode = document.add();
    if(lRetCode != 0){
        System.out.println(company.getLastError().getErrorMessage() );
    Do you have any idea about what is the problem?
    Many Thanks.

    Hi everyone,
    the problem was solve. I had to specified the FederalTaxID field on the document.
    just added the following field:
    document.setFederalTaxID("000000000000");
    Thanks.

  • Purchase invoice posting(F-43)

    Dear Friends Goodmorning,
    While posting Purchase Invoice posting(F-43) error as shown Balance field segment in the line Item 001 not filled.
    So what is the Problem and solution, plese as early as possible anybody know the solutions please give me the solution
    Thanks in advance
           Babu.

    Hi
    Document Splitting is Active for your Company Code.
    Img -->Financial Accounting(new) -->General Ledger Accounting(new) -->Business Transactions -->Document Splitting -->Define Document Splitting Characteristics for General Ledger Accounting
    Here Profit Center and Segment fields are given Mandatory.Hence you must enter those fields while document entry.
    this resolves your problem
    Regards
    Venkat

  • Erro when creation Purchase Invoice

    Hi ,
    when creating a new Purchase Invoice , we have a message :
    Incorrect Syntax near '000000' ( OIVL )
    we do not have queries , nor add on . and it's the first time we got this message
    if someone can help me , thanks
    regards
    laurent

    Hi Laurent VIALARET,
    Genarlly this type of error occured due to G/L Account Mapping. Check the G/L Account Determination in Administrator Module
    Check the Warehouse Account Mapping.
    Thanks,
    Srujal Patel

  • Adding Purchase Invoice

    Hi All,
    I've picked up another developers code to do some bug fixing and one of the bugs is that on creation of a Purchase Invoice SAP is throwing error "-2010 Internal error".  I cannot find any reference to this error code.
    Does anybody know what the error is referring to?
    Many thanks,
    David

    Hi David,
    All Internal Errors are actually certain External Resource not available. To troubleshoot, run a part of the code one by one to narrow down the cause.
    Thanks,
    Gordon

  • We are Not able to Add, approved A/P invoice - Error - Tax code Missing

    Dear Experts,
    In A/P -> A/P service Invoice
    When We are going to Add Approved Invoice ,system can not allow . This
    invoice is go through a approval process ,system can not allow to change any
    of document row during approval process or after approval process.
    we are unable to add tax or remove line item after approval.
    We are Not able to Add, approved A/P invoice - Error - Tax code Missing
    [A/p Invoice Row -Tax code] Line 3 [Message 3513-14]
    I think ,It should allow the system to edit the row tax or amount after or during
    approval process

    Don't worry,AP invoice is not get posted,it will be saved as draft only,
    Default tax code for purchase documents using tax code determination.
    Create new ap invoice with tax code and send it for approval.
    Orginator should ensure all mandatory fields in document are entered correctly before
    sending it for approval.

  • Uploading Open Purchase Invoices

    Hi all,
    If I upload the open purchase invoice, I'm getting an error called 'No matching records found (ODBC-2028) Application-defined or object-defined error65171.  I gone through the error file and there is no hope on capturing the mistake I have done while preparing the template.  Please advise, the possible errors that will happen and it would be more helpful if anyone can advise the mandatory fields on the template to upload the open purchase invoices.
    Regards,
    Silpa

    hi silpa,
    Mandatory fields in Document header template
    RecordKey,CardCode,DocDate,DocType(service -dDocument_Service)
    Mandatory fields in Document_Lines template
    RecordKey,LineNum,ItemCode,Quantity,Price/PriceAfterVAT,taxcode,warehouse Code
    Hope it will solve problem.
    Jeyakanthan

  • Report to show all purchase invoices in B1

    Is it possible via a standard report in B1 to pull a list of all purchase invoices in the system (open and closed)??
    Purchase analysis will only show open invoices as far as i know.

    Hello Casserly David ,
    Please try the following query:
    SELECT SUM(T0.DocTotal), T0.DocDate, T0.DocNum,
    T0.DocStatus FROM OPCH T0 GROUP BY T0.DocDate,
    T0.DocNum, T0.DocStatus
    If you want to generate total value of all purchase
    invoices automatically, please hold Ctrl button
    on keyboard and Click on the header of Document total
    column. The total value will appear on the
    bottom of report.
    Regards,
    Wilma Wang
    SAP Business One Forums Team

  • Sales Invoice, Purchase Invoice Merge

    Hi Guys
    I am creating a report that will give me the total # of Sales and Purchase Invoice, purpose of report is to merge the sales and purchase analysis.
    i have added all the fields on the main report from the OINV table, i then created a sub report that has the same fields, only difference is its from OPCH table, i need to have a parameter "Date", that i have created, but doesnt seem to filter the values as to my selection. What could be the problem.
    What i am trying to do is merge the Sales Analysis in SAP and the Purchase Analysis in SAP on one report.

    Euston,
    I am doing something similar to yours, I am merging total of (each credit job) with total (each free of charge job) to show in the single report.
    here what I am doing right now,
    1: Imported both tables into one new report
    2: Created a Running total field for FOC (free of charge job)
    3: Created a Running total field for CR (credit job)
    both of these running totals have formulas under "Evaluate each record"
    Formula is like this
    line_type="F"
    line_type="C"
    Both of them are grouped by two different groups however are of the same Reason ID.
    I then created formula like this
    Whileprintingrecords;
    Numbervar x:=0;
    Numbervar y:=0;
    Numbervar z:=0;
    x:=Runningtotal field for FOC
    y:=Runnitngtotalfield for CR
    z:=x+y
    z;
    This gives me combined result of two different jobs.
    Is that something what you are trying to do?
    Regards
    Jehanzeb

  • Goods receipt number and purchase invoice nubember info objects

    hi experts
    i have the requirement to build the report with the  info objects of goods receipt number(document) , purchase invoice numbers and purchase document numbers from standard cubes or ods.i have checked in inventory management and purchasing cubes&ods i am not success got the purchase document number it is from ods   (0PUR_O02)  the InfoObject  is 0OI_EBELN(purchasing document number),like this i want InfoObject  for Goods receipt number and purchase invoices from where can i get these fields.
    if u need any more information i will provide.
    thanks and regards
    Sreenivas.

    Hi Ahamed,
    thanks for your reply,do u have any information about purchase invoice number.
    i need one more help from you, how to find out Debtors turnover ratio from Acceount Receivables(AR) (or)G/L (General ledger account).is there any standard queries from Business content,i was checked and i was failed,if you have any solution for this please let me know.
    thanks and regards
    Sreenivas.

  • Selecting alternative Bank account in Purchase invoice is not working

    Hello experts
    When adding a particular purchase invoice, I select an alternative bank account for this vendor on Logistics tab. But when generating payment file for this invoice through Payment Engine, the bank account that can be seen on the file is the standard one for this vendor, so selecting an alternative Bank account in the invoice doesn't seem to have any effect on payment file. Do I have to consider something else?
    Regards

    Hello Nagarajan
    Thanks for the update. But by checking it, I haven't been able to find anything regarding vendor bank account selection on invoice, or about paying an invoice to vendor secondary bank account.
    Also I have done some testing, and the only way I have found so far to get a vendor invoice paid in the secondary bank account is to set this secondary bank account as the default bank account just before use Payment Wizard and Payment Engine. But this is a poor workaround and I guess there should be a way to make work properly the "Pay to Bank" functionality in invoice.
    Thanks and regards

  • No update of Sales Orderfrom purchase order (Error M2 815)

    Hi,
    Any inputs.
    SO-- PR -- PO.WHILE CREATING PO, USER GOT ERROR MESSAGE.
    Error Message: No update of Sales Orderfrom purchase order (Error M2 815).
    Materia & vendor has AUTO PO flagged.
    Rgrds....

    Dear
    Please check the below link will help you
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/error-message-no-update-of-sales-order-xxxxxx-from-purchase-order-error-v1-045-2992973
    Regards

Maybe you are looking for