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

Similar Messages

  • Currency Exchange error

    Hi All,
    While running FI-SL Currency Translation in t-code gwul, I am getting the error message u201C No values entered, difference in local currencyu201D
    Is there any problem with the master data or config, as it is working fine for other company codes?
    Please Assist.
    Thanks in advance
    Edited by: Reema Sen on May 28, 2008 6:20 PM

    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 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

  • 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

  • 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

  • Hoe can u get purchasing invoiced amounts in the invoiced currency...

    which SAP report I can use to get the purchasing invoiced amounts in the invoiced currency...

    Hi,
    Go to the standard transaction of the vendor line item display FBL1N and change the layout.Bring the fields of document currency amount and the document currency.System gives the report both in the local currency as defined in the company code settings and the document currency along with the exchange rate at which it is valuated.
    Hope this helps.
    Regards
    Bhanu

  • 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

  • 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

  • Different currency exchange rate at time of sales order and invoicing

    Hi Friends,
    Actually,we are facing a crucial problem in Export where we would like to have the current currency exchange rate to be applicable both at excise and commercial invoice.
    Regards,
    Praveen

    Hi Ankur,
    Thanks for your reply.But our problem is sales order,exchange rates are defined with M type in OB08 as u have said.However when the periods are different for order entry and invoice generation we are facing the following problem.Orders are at old exchange rates and excise invoice is getting generated at current exchange rate.This is resulting in value difference between commercial invoice and excise invoice.
    Please help.
    Regards,
    Praveen

  • Currency exchange rate differences in rebate agreement settlements

    Hi Experts,
    My customer has issue in Rebate agreements and final settlements.
    ISSUE:
    Rebate agreement currency is EUR
    Billing document currency is EUR
    Company code currency is SEK
    Initially ( Before final settlement)
    The accrual amount in sales volumen 3151.05 EUR
    the accrual amount in drill down 3152.05 EUR
    After Final settlement
    The accrual amount in sales volumen 2.62 EUR
    the accrual amount in drill down 3152.05 EUR
    The accounting documents shows after final settlement
    customer A/c 3151.98 EUR credit
    Expenses A/C 3151.98 EUR debit
    Accrual A/c 3149.43 EUR debit
    Expenses A/C 3149.43 EUR credit
    The difference of 2.55 EUR is due to currency differences.
    there is no retrospective rabte processing .
    Kindly give your expertise resolve the issue of currency exchange rate difference in customer currency.
    Immediate response is highly appriciated
    Thanking you
    With regards
    Murali
    Message was edited by:
            Murali Krishna Lanka
    Message was edited by:
            Murali Krishna Lanka

    HiI
    f you set this selection field then the settings in the ERD Setting column for this currency type are no longer relevant. The system calculates and posts exchange rate differences between order-related goods receipts and invoices not just for materials with standard price, but also for:
    Materials with moving average price
    Account-assigned transactions
    Planned delivery costs
    The valuation of the inventories or consumption is effectively done at the exchange rate for the goods receipt, and not at the exchange rate of the invoice. When you post the good receipts, the fixed exchange rate from the purchase order is not used, but the translation of the purchase order values to local currency is always done at the posting date of the goods receipt.
    If you are using the material ledger with actual costing, the system does not include the posted exchange rate differences at period-end closing in the actual prices of the materials.
    Regards
    Antony

  • Invoice Upload Program in FB50

    Hi Experts,
       I need to develop an invoice upload program for transaction code FB50. The data will be from an Excel file.
       As I'm new to program in accounting, is there anyone has sample code?
       I'm not sure what function module to use to save the invoice.
       Hope someone can help me. Many thanks in advance.

    Hi Sam,
         It generally depends on what sort of postings you are doing.
    You can refer to following code, it is for the posting of invoices.
        Document Header
               wa_document_header-comp_code  = c_company_2001.
        One time vendor
         Concatenate the text and account number and pass it as a line item text
         Check for the Payee name and use vendor number accordingly
         Check if amount value is more than '0'
         Vendor line item
         GL Account line item
         Get currency details for vendor line item
         Get currency details for GL Account line item
         Pass suitable posting key
         Pass suitable posting key
                 When posting amount is less than zero
         Vendor line item
         Get currency details for vendor line item
         Get currency details for GL Account line item
         GL Account line item
         Pass suitable posting key
         Pass suitable posting key
         Check if one time vendor data is available
         Call the BAPI 'BAPI_ACC_DOCUMENT_POST' to create the invoices
          Check if bapi return table is intial
         Maintain a error log with all BAPI returned messages
         Get only error\abort messages into error table
         check if flag has been enabled
         Check for the message type in the return table and
         if it is success then commit the transaction.
         Concatenate the message text and refund id into a variable
         append success messge to the error table
         Refresh the internal tables
         Clear the work areas and variables
             LOOP AT it_record INTO wa_record.
                  wa_document_header-username   = sy-uname.
                  wa_document_header-comp_code  = v_compcode.
                  wa_document_header-doc_date   = wa_record-bkpf_bldat.
                  wa_document_header-pstng_date = sy-datum.
                  wa_document_header-doc_type   = v_doctype.
                  wa_document_header-ref_doc_no = wa_record-bkpf_xblnr.
                  wa_customercpd-name       = wa_record-bsec_name1.
                  wa_customercpd-name_2     = wa_record-bsec_name2.
                  wa_customercpd-postl_code = wa_record-bsec_pstlz.
                  wa_customercpd-city       = wa_record-bsec_ort01.
                  wa_customercpd-country    = v_country.
                  wa_customercpd-street     = wa_record-bsec_stras.
                  wa_customercpd-tax_no_1   = wa_record-bsec_stcd1.
                  wa_customercpd-tax_no_2   = wa_record-bsec_stcd2.
                  wa_customercpd-region     = wa_record-bsec_regio.
                  CONCATENATE text-008 wa_record-bseg_sgtxt INTO v_item_text              " Refund for Acc no
                                                            SEPARATED BY space.
                  IF wa_record-bsec_name1 = c_name_heap.
                    v_vendor_no = v_vendor_heap.
                  ELSE.
                    v_vendor_no = v_vendor_onetime.
                  ENDIF.
                  IF wa_record-bseg_wrbtr GT 0.
                    wa_acc_payable-itemno_acc = c_itemno_1.
                    wa_acc_payable-vendor_no  = v_vendor_no.
                    wa_acc_payable-item_text  = v_item_text.
                    APPEND wa_acc_payable TO it_acc_payable.
                    CLEAR: wa_acc_payable.
                    wa_accountgl-itemno_acc = c_itemno_2.
                    wa_accountgl-gl_account = v_glaccount.
                    wa_accountgl-item_text  = v_item_text.
                    APPEND wa_accountgl TO it_accountgl.
                    CLEAR: wa_accountgl.
                    wa_currency_amount-itemno_acc  = c_itemno_1.
                    wa_currency_amount-currency    = c_currency_usd .
                    wa_currency_amount-amt_doccur  = - ( wa_record-bseg_wrbtr ).
                    APPEND wa_currency_amount TO it_currency_amount.
                    CLEAR: wa_currency_amount.
                    wa_currency_amount-itemno_acc  = c_itemno_2.
                    wa_currency_amount-currency    = c_currency_usd .
                    wa_currency_amount-amt_doccur  = wa_record-bseg_wrbtr.
                    APPEND wa_currency_amount TO it_currency_amount.
                    CLEAR: wa_currency_amount.
                    wa_extension2-structure   = c_structure.
                    wa_extension2-valuepart1  = c_itemno_1.
                    wa_extension2-valuepart2  = c_newbs_31.          " Credit indicator( Vendor side )
                    APPEND wa_extension2 TO it_extension2.
                    CLEAR: wa_extension2.
                    wa_extension2-structure   = c_structure.
                    wa_extension2-valuepart1  = c_itemno_2.
                    wa_extension2-valuepart2  = c_newbs_40.          " Debit indicator( GL Account side )
                    APPEND wa_extension2 TO it_extension2.
                    CLEAR: wa_extension2.
                  ELSE.
                    wa_acc_payable-itemno_acc = c_itemno_1.
                    wa_acc_payable-vendor_no  = v_vendor_no.
                    wa_acc_payable-item_text  = v_item_text.
                    APPEND wa_acc_payable TO it_acc_payable.
                    CLEAR: wa_acc_payable.
                    wa_currency_amount-itemno_acc  = c_itemno_1.
                    wa_currency_amount-currency    = c_currency_usd .
                    wa_currency_amount-amt_doccur  = wa_record-bseg_wrbtr.
                    APPEND wa_currency_amount TO it_currency_amount.
                    CLEAR: wa_currency_amount.
                    wa_currency_amount-itemno_acc  = c_itemno_2.
                    wa_currency_amount-currency    = c_currency_usd .
                    wa_currency_amount-amt_doccur  = - ( wa_record-bseg_wrbtr ).
                    APPEND wa_currency_amount TO it_currency_amount.
                    CLEAR: wa_currency_amount.
                    wa_accountgl-itemno_acc = c_itemno_2.
                    wa_accountgl-gl_account = v_glaccount.
                    wa_accountgl-item_text  = v_item_text.
                    APPEND wa_accountgl TO it_accountgl.
                    CLEAR: wa_accountgl.
                    wa_extension2-structure   = c_structure.
                    wa_extension2-valuepart1  = c_itemno_1.
                    wa_extension2-valuepart2  = c_newbs_21.          " Debit indicator( Vendor side )
                    APPEND wa_extension2 TO it_extension2.
                    CLEAR: wa_extension2.
                    wa_extension2-structure   = c_structure.
                    wa_extension2-valuepart1  = c_itemno_2.
                    wa_extension2-valuepart2  = c_newbs_50.          " Credit indicator( GL Account side )
                    APPEND wa_extension2 TO it_extension2.
                    CLEAR: wa_extension2.
                  ENDIF.
                  IF wa_customercpd IS NOT INITIAL.
                    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
                      EXPORTING
                        documentheader = wa_document_header
                        customercpd    = wa_customercpd
                      TABLES
                        accountgl      = it_accountgl
                        accountpayable = it_acc_payable
                        currencyamount = it_currency_amount
                        return         = it_return
                        extension2     = it_extension2.
                    IF it_return IS NOT INITIAL.
                      LOOP AT it_return INTO wa_return WHERE type = c_msgtype_e OR
                                                             type = c_msgtype_a.
                        CONCATENATE wa_return-message text-013 wa_record-bkpf_xblnr INTO v_msg_text
                                                               SEPARATED BY space.
                        MOVE v_msg_text TO wa_return-message.
                        APPEND wa_return TO it_error.
                        CLEAR: wa_return,
                               v_msg_text.
                        f_error_ind = c_true.
                      ENDLOOP.
                      IF f_error_ind EQ c_true.
                        EXIT.
                      ELSE.
                        DESCRIBE TABLE it_return LINES v_tabix.
                        READ TABLE it_return INDEX v_tabix INTO wa_return.
                        IF sy-subrc = 0.
                          v_total_amount = ABS( wa_record-bseg_wrbtr ) + v_total_amount.    " Total posting amount
                          CONCATENATE wa_return-message text-013 wa_record-bkpf_xblnr INTO v_msg_text
                                                                 SEPARATED BY space.
                          MOVE v_msg_text TO wa_return-message.
                          APPEND wa_return TO it_success.
                          CLEAR: wa_return,
                                 v_msg_text,
                                 v_tabix.
                        ENDIF.
                      ENDIF.
                    ENDIF.
                  ELSE.
                    wa_return-type     = c_msgtype_e.
                    wa_return-message  = text-009.                   " One time vendor details are not found
                    APPEND wa_return TO it_error.
                    CLEAR: wa_return.
                    EXIT.
                  ENDIF.
                  REFRESH: it_return,
                           it_acc_payable,
                           it_currency_amount,
                           it_accountgl,
                           it_extension2.
                  CLEAR: wa_document_header,
                         wa_customercpd,
                         wa_record,
                         v_vendor_no,
                         v_item_text.
                ENDLOOP.
    Sam, before making the postings directly, try using 'BAPI_ACC_DOCUMENT_CHECK' so that
    you will get to mo
    I hope, it will be helpful to you.
    If you want any more help, get back to me.
    Regards,
    Jallu

  • 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.

  • Document Split for Currency Exchange while posting Incoming payment

    Hi Experts,
    Scenario:
    > Post incoming Customer payments using F-28
    > posting entered today (14 Jan 2009), but posting date is 30 Dec 2008)
    > Tested in Clients 001 and 005 (same setup in terms of GLs, Customers, Vendors, etc)
    I was able to post the incoming payment in Client 005.  However, in Client 001, I got error message:
    *Ex.rate diff.accts are incomplete for account 0000140000 (Trade Debtors/Customers) currency SGD
    Message no. F5063
    Diagnosis
    The accounts for posting exchange rate differences could not be determined. For the specified G/L account and the specified currency key, the accounts are only specified incompletely. Either the accounts for the implemented exchange rate difference, the accounts for the valuation differences or the balance sheet adjustment account are missing.
    System Response
    The system cannot generate the exchange rate difference posting.
    Procedure
    By pressing ENTER, you achieve that the document is reset to a status without automatic posting. In another window, you can complete default settings for exchange rate differences and post the document afterwards.
    Proceed*
    When I clicked Proceed, the system took me to OBA1, with "Document Split for Currency Exchange" option highlighted in blue.
    Does this mean that I need to create a new GL account to post Document Split for Currency Exchange?
    Note: Setup for OBA1 both 001 and 005 are the same. But I only encountered the error in 001.
    Hope someone can help me.
    Thanks...

    problem solved: add relevant Open Item GLs in OBA1 (Account Determination for OI Exchange Rate Differences)

  • Message no. 06211 Currency translation error in net price calculation

    Hi,
       When i am creating purchase order i am changing currency from INR to JPY for FOB condition type only, And system issuing error message Currency translation error in net price calculation. Document currency is INR.
    When i am using USD i am not getting this error.
    I have checked table OB08 and both conversion maintained INR to JPY AND JPY to INR valid from 01.01.2012
    Any solution for this please.
    Thanks in advance.

    Hi, Check in T-code M/08 for your import prizing procedure,what have you maintained for subtotal for gross price condition (PBXX,PB00), Maintain over there as '9', also for JPY currency there is issue with decimal also, ratio maintained in 100:1 ratio.
    Edited by: tej yadav on Jan 6, 2012 1:29 PM

  • Purchase Price Variance Foreign Exchange difference

    How Purchase Price Variance Foreign Exchange difference is calculated for material consumed in product costing / material ledger

    You need to go to net price at purchase order in local currency. With quantity you'll get the purchase order total price in local currency.
    Get the standard price of material master record (which is in purchase order) on MM03 transaction on costing 2 view.
    Purchase price variance is the difference between purchase price order and material standard price.
    To get this difference in foreing currency, you´ll need to get document date of purchase order, get exchange rate at OB08 and find both prices in foreign currency; after that get same way the variance.
    Hope that helps,

Maybe you are looking for

  • BW authorization issue.

    Hi Guru's, I have an issue with BW authorizations and I can't find an acceptable solution for it. Can you advise? We run BW 7.0. I have created analysis profiles with RSECADMIN and I have inderted them in object SRS_AUTH. 0CO_AREA and 0COMP_CODE are

  • Downloading photos from Phone to iPhotos by USB

    My phone is Sony Ericsson K700i, but when linked to iMac by USB, no icon shows on desktop. I thought I would just be able to click on Import in iPhoto to download photos. CDs which came with USB cable are only compatible with Windows. Do I need softw

  • Cannot start stopped servers, after restarting the SIA all stopped working

    All was working ok, but suddenly I could not run reports from Infoview nor from the Central Managment Console.  Nontheless, I was able to log in to both (just not run the reports).  From the CMC, I noticed that 5 servers had stopped running, but rema

  • DYNPRO_SEND_IN_BACKGROUND ERROR

    Hi Guru's, We are facing a problem with our system and need some expert opinion on it .The client opens a bex query in the browser and it is working fine . But when they click on save view button and try to save it it throws an HTTP 500 - internal se

  • Copying data between two tables with different structures

    I have two tables. second table has three extra fields at the end. How can I copy data from first table to the other? I tried the following but it does not seem to work: INSERT INTO second_table ((select * from first_table),'text','text',5) Please he