Problem: Exchange rate in Update rules with DELTA mode

Hi experts,
During the loading since the ODS13BIL towards the CUBE, I use in the update rule the function
"CONVERT_TO_LOCAL_CURRENCY" to convert a currency. 
The loading mode is DELTA.
If I modify an invoice in the system source (R/3) for example:  "change on" (0CH_ON), during the loading delta since the ODS towards the cube, the exchange rate is reversed (sign), which implies that the values of the ratios during the conversion with the function module " CONVERT_TO_LOCAL_CURRENCY" are false. 
How could I resolve this problem?
Example:
1-First load:
R/3:    
Key figure 1       :100
Exchange Rate      :-1,2
Document currency  :USD
Local currency        :EUR
Change on          :00.00.0000
ODS13BIL:
Key figure 1       :100
Exchange Rate      :-1,2
Document currency  :USD
Local currency        :EUR
Change on          :#
CUBE:
Key figure 1  :100/1,2
Currency      :EUR     
2-Seconde load:
R/3:    
Key figure 1       :100
Exchange Rate      :-1,2
Document currency  :USD
Local currency        :EUR
Change on          :06/01/2006
ODS13BIL:
Key figure 1       :100
Exchange Rate      :-1,2
Document currency  :USD
Local currency        :EUR
Change on          :06/01/2006
CUBE:
Key figure 1   :100/1,2
Currency       :EUR
and
Key figure 1   :-100*1,2      <-- False
Currency       :EUR
Thank you for your precious help.

Hello,
Thank you for your answer but that still not works: Give erroneous data is corrected but the data which are not erroneous become erroneous.
I think that if I manage to return the field "Exchange misses" (0EXCHG_RATE) nonmodifiable by the DELTA mode, I cross that will resolve the problem. 
With what is used following fields in the definition of the ODS, and it is what impacts it on the existing data:  "Non cumulative value" et "Cumulative value"
thanks a lot.

Similar Messages

  • Error: Can't Add a New Sales Order: -10  Exchange rate not updated,

    Hi,
    I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated  [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
    For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
                    oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    With xndSalesOrder.Item("HEADER")
                        oSalesOrder.CardCode = .Item("Deudor").InnerText
                        oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
                        oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
                        oSalesOrder.Comments = .Item("Observaciones").InnerText
                        oSalesOrder.DocRate = 11
                        oSalesOrder.DocCurrency = "MXP"
                        'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
                        'User Fields
                        oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
                            xndSalesOrder.Attributes.Item(0).InnerText
                        oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
                        oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
                            DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
                    End With
                    With xndSalesOrder.Item("LINEAS")
                        For Each xndLinea In .ChildNodes
                            If intContLineas >= 1 Then                             oSalesOrder.Lines.Add()
                            End If
                            oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
                            oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
                            oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
                            oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
                            oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
                            oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
                            oSalesOrder.Lines.Currency = "MXP"
                            'User Fields
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
                                xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
                                CInt(xndLinea.Item("Descuento1").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
                                CInt(xndLinea.Item("Descuento2").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
                                CInt(xndLinea.Item("Descuento3").InnerText)
                            'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
                                CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
                            'End If
                            intContLineas += 1
                        Next
                       If oSalesOrder.Add() <> 0 Then
                            Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
                            If (0 <> intErrorAdd) Then
                                FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
                            End If
                            xmlLogSalesOrder.Item
                        End If
                    End With
                Next
    If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
    Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
    Other useful data: SAP BO 2005 Patch 4.
    Thanks in advance...
    Alfredo Gargari

    Hi Alfredo,
    Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
    I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
    GetCurrencyRate MethodDescription
    Returns a Recordset object that contains the currency rate for a specified date and currency code.
    See Currency Bobs sample.
    Syntax
    Public Function GetCurrencyRate( _
       ByVal Currency As String, _
       ByVal Date As Date _
    ) As Recordset
    Parameters
    Currency
    Specifies the currency code.
    Date
    Specifies the date for the currency exchange rate.
    Return Type
    A Recordset object that contains one field named CurrencyRate that holds the rate value.
    SAP Business One returns 0 if the system cannot find the exchange rate.
    Regards,
    Ad

  • -10 Exchange rate not updated  , 'USD'

    Hi Experts,
    Am with a problem in Sdk Code(A\R Sales Invoice object)..My problem defines  as follows:
    I am having a table with 10 records in UDT..While Adding the UDT Records to Sap Sales Invoice(A\R)..by Getting the A\R invoice Object(13) ..Adding the 10 fields of UDT Table to OINV and INV1..it's throwing an error -10 Exchange rate not updated  , 'USD'..How to handle this in Code..Help would  be appreciated.
    Thanks in advance.

    Hello,
    This means, that the exhange rate is missing your local currency vs USD in the system. Your Business Partner or any of items you are adding to the invoice is using USD (price list or customer is in USD).
    My tip is some of the items has USD price set or USD Purchase price used.
    DO the following:
    Check the POsting date of your invoice
    Go to Administration -> Exhnage rate, and locate the posting date and USD from the matrix, and enter the rate.
    Post your invoice.
    it will work
    Regards
    János.

  • DTW Error -- "Exchange Rate Not Updated"

    After resolving my other document loading errors identified by the DTW, I now receive the same error for every record that I try to load for Purchase Invoices, Sales Orders and Sales Invoices.  It is…
    <b>Exchange rate not updated, ‘USD’  Notice: all records are rollbacked.</b>
    Any idea how to fix this?  I'm confused since I built the company with both Local and System Currencies as “US Dollar”, the Default Account Currency is the “Local Currency”, and the document load includes the DocCurrency field (set to "USD").
    I need to get this data loaded soon.  Any help would be greatly appreciated!
    Kind Regards,
    Scott

    My issues have been resolved...
    (1) The GL account must be an "expense" account.  The data migration that I am performing is pulling from another system that stores these transaction in a different way.  Therefore, even though the accounts from the source ERP system to B1 have been mapped correctly, I had to use a different "expense" account as the GL account associated with transactions in B1.
    (2) The DocType was, indeed, necessary to handle Service-type Purchase Invoices.  However, the DTW requires that the DocType value be set to '0' (for Items) or '1' (for Services).  This differs from the 1-character designation stored in the database table OPCH, a 'I' (for Items) and 'S' (for Services).  I would make a humble suggestion to SAP to setup the DTW accepted field values the same as are found in the database (or, at least, have a single and comprehensive resource for knowing what these accepted values should be).
    and, as noted above...
    (3) The DocCurrency and DocRate fields were required to load my data.  I suspicion that DocCurrency is required for all loads.  However, DocRate may not be since it could be set in the Exchange Rate form within B1.  Since my setup used the LC as the default currency AND I am using USD for both LC and SC, I believe it was necessary for me to use the DocRate field for this load.  This is another eccentricity that I would suggest SAP enclose within some sort of documentation about the DTW tool.
    The use of the DTW can be significantly simplified for customers with documentation and examples on its use.  The existing documentation is deficient.  Otherwise, I find it a nice tool to ease the data migration process for setting up Companies.
    Should anyone have further questions on my experience with this issue or other DTW-related topics, I would be pleased to reply with my experiences.  My contact information is available through my profile on this site.
    Kind Regards,
    Scott

  • Exchange rate automatic update in Sale Order

    Dear All,
    This is regarding Exchange rate automatic update in Sale Order and requirement said below.
    Process:
    User will created a Export Sale order in the month of November , that time Exchange rate is 50.00, this  will
    get updated in Sale order Header and Item level.
    But user will create billing in the month of December , at that time Exchange rate is 40.00. So in Billing
    document Header level exchange rate will be 40.00 (Current rate) and Item level exchange rate will be
    50.00.
    Requirement:
    User requirement is like this the current exchange rate 40.00 to be updated in Sale Order Header and Item
    level automatically, because user using  Sale order Exchange rate  for Z-Report.
    As of now user manually updating Exchange rate in Sale Order.
    Let me know if there is any solution.
    Regards
    S Kumar

    I dont think this is possible.  You should be aware any change in subsequent document would not have any impact in the preceding document which means, whatever exchange rate flowing in billing cannot be updated in sale order.  May you can update your zee table by considering the billing document exchange rate by way of exit.
    thanks
    G. Lakshmipathi

  • Copy Update rules with routines

    Hi,
    How can i copy the update rules (with routine) for a cube from the  predefined update rules of some cube.
    Like its giving error when i am creating update rule, with using the Template functionality in that.
    Please give step by step explanantions....

    Hi,
    Try this.
    Copying/Transferring Update Rules from a Template
    http://help.sap.com/saphelp_nw04/helpdata/en/02/70f837329cb402e10000009b38f889/frameset.htm
    Hope this helps.
    Thanks,
    JituK

  • Custom Extractor FM with Delta mode

    I have looked a few blogs that dont seem to address the whole picture.
    the online help looks to be wrong?
    http://help.sap.com/saphelp_nw70/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/frameset.htm
    Im trying to set up an FM to do generic extraction.
    Declare Datasource in RSo2.  With Generic delta... all looks BUT
    RSa3 can call th FM.
    Seems the ROOSOURCE entry was with type F2.
    If I copied a "proper" generic delta with complex interface and not the simple interface,
    the entry in roosurce looks wrong to me.
    What is the normal way to maintain the data source so that generic extraction works and can be tested in RSa3.
    I also found this blog:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    again the issue of deltas is over looked.
    The demo function is RSA3_GEN_GET_DATA
    BUT when create a dat source with rso2, the function interface used to call teh function
    matches function RSAX_BIW_GET_DATA_SIMPLE
    and not RSA3_GEN_GET_DATA.
    The helpd refers to delta mode, but the interfae does NOT have the upmode flag.
    Am i missing something or is this a whole in the RSo2 process.
    Custom FM based extractors CAN NOT be called  with delta mode.
    surely someone knows what the trick is here ?
    Cheers
    Phil.
    Edited by: Phil Soady on Aug 25, 2009 7:00 AM

    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/67efb9bb-0601-0010-f7a2-b582e94bcf8a
    No reference here either.
    my conclusion that without using pseudo deltas,   ie adding a field called delta mode, to the structure
    and programming over the simple interface with a extra field
    or
    build a full F1 complex datasource definition tool,
    there is no good standard solution.
    Im still interested if anyone has a good approach to this.
    regards
    phil

  • Exchange rate not updated with posting date, translation date updated

    Hi,
    I have the follwoing problem in F110. Currency documents are posted with exchange date of the docuemnt entry date. Translation date is updated with Posting date, just exchange rate is not updated. the systems calculates according entry date. Why entry date is one day before the date of posting, I cannot understand. The system takes the exchage date from entry date, which is one day before (docuemnt, posting and translation date)
    Thank you,
    Desimira

    Hello,
    This means, that the exhange rate is missing your local currency vs USD in the system. Your Business Partner or any of items you are adding to the invoice is using USD (price list or customer is in USD).
    My tip is some of the items has USD price set or USD Purchase price used.
    DO the following:
    Check the POsting date of your invoice
    Go to Administration -> Exhnage rate, and locate the posting date and USD from the matrix, and enter the rate.
    Post your invoice.
    it will work
    Regards
    János.

  • MIR7 exchange rate is not modefied with respect to posting date

    Hi Experts,
    In our SAP system , we use MIR7 to create park invoice at first ,and then use MIR4 to change the parked invoice and post it.
    but when creating parked invoice, it's in say June and the exchange rate is 100, and when we create real invoice from parked invoice, it's October and exchange rate turns to 115.
    Then I change the posting date in the invoice from June to Ocetober, but the exchange rate is still 100 it is not changing according to the new posting date. How can I solve this problem, please give me a solution a.s.a.p.
    Thanks in advance for your help.
    Regards
    Sunil

    Hi Pankaj,
    There are so many options e.g you can check in oinm select that particular item sort on docdate and check inqty and compare with your goods issue date if it is same then send same transaction to approval if you want.
    Thanks
    Sachin

  • Wrong Exchange rate for Import PO with past Condition Price date

    Hi
    We do update Exchange rate type "M" on daily basis, but exchange rate in Import PO is wrong. While creating import PO, the PBXX condition automatically obtain the "exchange rate" with Old "condition price date" despite the Table "TCURR" has maintained updated data. Why system behavior is like this?
    As per our requirement, system should obtain the data based on PO date. Kindly help with your experiences.
    Prashant

    Hi Biswajit,
    Use the user parameter EVO to indicate that no price adoption from last Purchase Order must take place:
    IMG: MM -> Purchasing -> Environment data -> Default values for Buyers -> Setting for Default values.
    Select or setup a default value and on the "price adoption" tab you may choose how copying of conditions from last purchase order must behave. Select "Do not copy". Then assign this default value to the user, using the EVO parameter.
    Prashant

  • Unable to map Update Rule with u201CMaster data attribu201D option

    Hi,
    Does anybody know the reason why sometimes, in update rules to an ODS, I cannot map an InfoObject with the option u201CMaster data attribu201D?
    I have the characteristic in the ODS, and for another update rule, to the same ODS, I am able to map this field correctly, but for a specific rule, the u201CMaster data attribu201D field appears in blank when I press F4.
    Strange this behaviouru2026
    Can anybody help me with this issue?
    Thanks,
    Best Regards,
    Joana

    Hi  Shanthi,
    I didn't insert the InfoObject as an InfoProvider.
    The problem is that I have two update rules for the same ODS object. For one I can map the characteristic correctly, and for the other, when I press F4 in the "Master Data Attrib", no characteristics appear.
    Thanks,
    Joana

  • Exchange Rate Difference in PO with cost center assignment

    Hi All,
    In case of exchange rate difference in a PO with a cost center assignment the system Do not post the difference in the exchange rate difference account (maintained under transaction type - KDM - in T-code OBYC). However if the PO is a normal material PO it posts the exchange rate difference to the exchange rate difference account.
    I want the exchange rate difference to be posted to the exchange rate difference accout for PO's with cost center assigned as well.
    I have searched for SAP notes and found that note # 980402 & 1102481 provides a solution for this issue - but it seems both the notes are valid for 4.6 and 6 release only. We are on ECC 5.0
    I have also checked note # 1136145 for this and implemented in the system successfully without any luck.
    Can some one please help me with a solution for this issue.
    Thanks and regards,
    Ankur

    Even I have implemented this note in our 4.6C system for account assigned POs, but no luck. Please let me know if are successful.
    Thanks
    Neel

  • Problem when I active update rule

    Hi experts,
    I have the following problem;
    I have created updtes rules, but when I try active, change, display or delete the system tell me :
    Infobject is not contained in the infocube.
    Could you help me, please?
    Thank you.

    Hi,
    The objects you are mapping in the update rule is deleted by you or someone else while you were creating update rule.
    Start RSA1 again so that data targets will be refreshed, check the mapping and try to activate again.
    Kams

  • How to distribute exchange rate difference to material with moving average price?

    Hi community,
    Exchange rate differences are not distributed into the items based on the shipment (per article/material). Is there a workaround available based on the GR/IR exchange rate difference and the material that was purchased?
    Thank you and best regards,
    Barbara Dörr

    Hi Lokesh,
    thanks a lot for the quick answer, but I
    had read this documentation and only found this documentation of exchange rate
    difference posting:
    GR/IR clearing uses the exchange rate of
    the goods receipt. The GR/IR clearing run completely clears Unbilled Payables
    and Purchases in Transit. The run calculates price differences of EUR 155 and exchange rate differences of EUR
    135. The price differences are posted to the price difference account and the
    exchange rate differences to the exchange rate difference account.
    Therefore I guessed that the exchange
    rate differences are NOT distributed to the material with moving average price.
    Best Regards,
    Barbara

  • Mistake in update rules with 0FISCPER

    Hi:
    I'm having a mistake during de loading of an Infocube. The monitor ends in red cause a message of the update rules (Invalid value '0400401'). This cube is updated by an ODS and the characteristic 0CALDAY. I've checked the dates in the ODS but they're normal.
    Any clue where is the mistake.
    Points for helpfull answer

    Hi Herr,
    If you are updating FISCPER from CALDAY, you can use the Time distribution in the update rule itself.
    Correct it and it should work.
    Regards.

Maybe you are looking for