Getting currency conversion rate

Hi,
I need to convert any non-USD currency amount to USD. I know that the rates are stored in the table TCURR. I want to know how do i get the today's currency rate from this table. Exchange rate  type I'll be using is M.
Thanks,
Prasy

Hi,
For table TCURR, you can change the currency for the nearest date compared to current day.
But for using the FM: CONVERT_TO_LOCAL_CURRENCY,you can change the currency for the current day if you filled in the date below. You can have a try.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
  EXPORTING
*   CLIENT                  = SY-MANDT
    *date                    = sy_datum*   
    foreign_amount          =  '1000'
    foreign_currency        = 'USD'
    local_currency          = 'EUR'
*   RATE                    = 0
*   TYPE_OF_RATE            = 'M'
*   READ_TCURR              = 'X'
* IMPORTING
*   EXCHANGE_RATE           =
*   FOREIGN_FACTOR          =
*   LOCAL_AMOUNT            =
*   LOCAL_FACTOR            =
*   EXCHANGE_RATEX          =
*   FIXED_RATE              =
*   DERIVED_RATE_TYPE       =
* EXCEPTIONS
*   NO_RATE_FOUND           = 1
*   OVERFLOW                = 2
*   NO_FACTORS_FOUND        = 3
*   NO_SPREAD_FOUND         = 4
*   DERIVED_2_TIMES         = 5
*   OTHERS                  = 6
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope it is useful.
Regards,
Chris Gu

Similar Messages

  • Fetch dollar to euro currency conversion rate from the interwebs ...

    Hey guys,
    this might sound like a dumb question to you, but is there a way
    to fetch the dollar to euro currency conversion rate from let's say
    yahoo finance into a single cell inside numbers 09?
    Basically what want is, just a plain output in a number like:
    0,7421 so that I can use it to convert various values.
    I'm just sick of going to the website every day and copy paste the
    value into my numbers file.
    I'd really really appreciate it, if someone could help me.
    I don't know anything about apple scripting, but I think this might
    be the way to go?
    Best, JK

    Go to my idisk :
    <http://public.me.com/koenigyvan>
    download :
    For_iWork:iWork '09:forNumbers09:insertquotes.zip
    You will get several scripts more or less complex.
    Yvan KOENIG (VALLAURIS, France) lundi 14 février 2011 21:48:54

  • Problem in currency conversion rate

    Dear Experts,
                             I'm facing a problem in client place , here when the Sales invoice is posted it shows wrong currency conversion rate, whearas In excise invoice its showing correct conversion rate which I maintained at OB08. In customer master also exchange rate given correct one.
    Plz guide me a solution.

    Can you give us more details?

  • Reg:Currency Conversion Rates

    Hi All,
    How can I get the history rate and Conversion rate for a particular currency for a particular date.
    For example I have given INR as currency in my screen on a particular date(Hist Date). Then the rate of INR against USD will be the HISTORY RATE.
    And if I change the currency to some other currency on some other date (CONV Date) then the rate of that currency against USD  on that date will be the CONVERSION RATE.
    So how can I calculate these.Do we have any function modules or any tables in which I can get the SAP Exchange rates, so that my issue gets resolved.
    Please help me in resolving this issue.
    Thanks,
    Khan.

    hi see this thread
    Re: Finding currency date
    table ortt will help u.

  • Currency Conversion - Rate Type Selection

    I have a BEx query that displays key figure in 3 columns inside a structure, using variable rate types (one rate type per column).  We have rate types P, P1, and P2 loaded into currency tables. 
    I run this query with the following selection criteria:
    Column 1 -- Key Figure in Local Currency (BRL)
    Column 2 -- Key Figure converted from BRL to EUR using rate type P
    Column 3 -- Key Figure converted from BRL to EUR using rate type P2
    For some reason column 2 is converted using rate type P1, instead of rate type P, even though rate type P1 is not even part of the selection screen.  Column 3 is converted correctly, using rate type P2.  I enter the same time period for all 3 columns, and rate types P and P2 both exist for this time period.
    Do you know what's going on here?
    Thank you.
    Nadia

    Hi,
    see if there is any currency conversuion type used in you report.
    It can be checked in the properties of the key figures.
    you can go to RRC3 to check which echange arte is used by this currency conversion.
    Or if currency conversion is happening at the update rule then check if which is the exchange rate used there.
    Once you have seen the exchange rate...go to t-code SPRO
    SAP Netweavet->General Settings->Currencies->Enter Exchange rate .
    here you cah check the latest exchange rate ...from currency to currency...and the values...based on settings of you currency conversion type it will chose the factor.
    Thanks

  • Why conversion Rate gets changed for a reversal journal?

    Hello,
    After the Reversal Program run, the reversal journals has created with wrong Currency Conversion Rates instead of same conversion rate as that of Entered journal.
    We have around 4 JVs each in Dec-11/Jan-12.
    Eg:
    In Dec-2011 4 JVs were created and the conversion rate was .99345 (USD-AUD)
    and in Jan-2012 4 reversal JVs were created and the conversion rate was 1.01565
    The set up for the Reversal Journals for Category "Accruals" is set as "No Default"
    The reversal journals are suppose to be get created with the same conversion rate as that of original JV but it has picked up the conversion rate of the period when we did the reverse i.e of Jan-12.
    let me know what else could be the issues and any resolutions for this?
    Regards,

    sorry,
    some info: as per the real example:
    for Reversal JV:Conversion Rate Jan:1.01565
    CURR     REV_PERIOD     REV_JV_CRE_DATE     REV_JV_POST_DATE     ENT_DR (Reversed)      ENT_CR (Reversed)      ACC_DR(Reversed)      ACC_CR(Reversed)
    CAD     12-Jan     5-Jan-12     7-Jan-12     1,497.25      1,497.25      1,465.95      1,465.95
    AUD     12-Jan     5-Jan-12     7-Jan-12     1,998,015.59      1,998,015.59      2,029,284.53      2,029,284.53
    GBP     12-Jan     5-Jan-12     7-Jan-12     5,046,433.23      5,046,433.23      7,907,003.90      7,907,003.90
    EUR     12-Jan     5-Jan-12     7-Jan-12     10,294,230.25      10,294,230.25      13,450,441.25      13,450,441.25
    For Original JV:ConversionRate Dec: 0.99345
    CURR     JV_PERIOD     JV_CRE_DATE     JV_POST_DATE     ENT_DR(Original)      ENT_CR(Original)      ACC_DR(Original)      ACC_CR(Original)
    CAD     11-Dec     3-Jan-12     3-Jan-12     1,497.25      1,497.25      1,451.88      1,451.88
    AUD     11-Dec     3-Jan-12     3-Jan-12     1,998,015.59      1,998,015.59      1,984,928.59      1,984,928.59
    GBP     11-Dec     3-Jan-12     3-Jan-12     5,046,433.23      5,046,433.23      7,844,932.77      7,844,932.77
    EUR     11-Dec     3-Jan-12     3-Jan-12     10,294,230.25      10,294,230.25      13,744,341.52      13,744,341.52
    so the variance is:
    VARIANCE_DR      VARIANCE_CR
    14.07      14.07
    44,355.94      44,355.94
    62,071.13      62,071.13
    (293,900.27)     (293,900.27)
    Edited by: 912037 on Feb 3, 2012 1:10 AM

  • Third currency/exchange rate in purchasing document

    Lets say the internal currency is GBR, the document currency is EUR and one of the condition currencies is USD.
    How can I control the exchange rate between USD and EUR? It's getting the EURX rate, but I want to set a particular rate for a PO.
    Is this possible? I seems we can't do that.
    PS: As a context this happens in countries where some prices (liked freight costs) are set in USD, although it isn't the country's currency. Here the vendor document is in EUR, and the freight costs in USD.

    It is not possible to have more than one currency conversion rate maintained in a PO. My solution to your requirement is to put the freight costs separately in different PO and that way you can maintain the exact exchange rate as needed. Also this separate handling is the case normally would be the case as the frieght charges are many times are based on weight and not based on the PO quantity.

  • Courrency Conversion rates changes everyday for soem Accounts

    Hi All,
    I am working on Hyperion Essabe 9.0.1.
    I have scenario where, for some accounts currency conversion rate will be fixed and for some accounts, currency conversion rate will change everyday(For balance sheet). Is there any option to deal this situation. If anyone of you have implemented this feature please share with me.
    Any help will be greatly appreciated.
    Thanks
    KGP

    This sounds like a balance sheet based on the temporal method of accounting for FX, and would require non-monetary assets (like Capital assets, land etc) to be valued at the historical rate, and monetary assets like cash, AR, AP to be valued at the current rate.
    I would expect one method would include flagging the accounts with a UDA to designate them as either Monetary or Non-Monetary so that it is easy to manage without explicitly referencing accounts.
    One concern I would have is how you will know the historical rates in effect for capital assets over time. For example, the first factory you buy may be at a 1.2 FX rate, and the second at a 1.6 FX rate. Are you tracking each transaction, or do you get the information in some other way?
    I would expect in your currency dimension, you would convert the domestic curency into the reporting currency by building a formula similar to:
    IF (@UDA("Accounts","Monetary"))
    "Reporting Currency" = "Domestic Currency" * "Today's FX Rate";
    ELSEIF (@UDA("Accounts","Non-Monetary"))
    "Reporting Currency" = "Domestic Currency" * "Historical Rate";
    ENDIF

  • Indirect M currency conversion data

    Dear Friends
    I am facing a problem when recieving the goods (MIGO). the system asks for entering the data for indirect M currency conversion rate.  Actually, I have copied my compnay from a standard company whose currecy is EUR. 
    I have changed my compnay currecy to INR at the time of copying only. The PO etc was generated in INR. I have not given any transanction in EUR nor my vendors are having this currency. I want to know
    1  how to solve this problem.
    2   do i need to make some more changes in my compnay currency.
    3 if so in which fileds i should do so.
    4  any study material on this topic
    Thanks in advance for the help.

    Hi, you have to check the setup in the IMG (e.g. go through the IMG point @ SAP NetWeaver-General Settings-Currencies)
    Have in mind that Exchange rate type M is hardcoded as "THE EXHANGERATE TYPE" in the logistic area. If you need to adjust something in the exchange rate type - adjust the customizing of M - despite it might be overwritten during an upgrade!
    It’s possible to assign other exchange rate type than M in the customizing of FI & CO but do not try to make and assign an exchange rate type of your own  (to be used in the logistic flows like sales order processing or purchasing) - you will never get it to work during month-end!
    To my knowledge is this little trick not documented - it's passed on from consultant to consultant!
    Rgs
    René

  • Currency Conversion---- Based on Posting period

    Hi All,
    I am creating a report based on FIAA .
    Query selection screen will contain COMPANY CODE , and the POSTING PERIOD
    suppose  we enter company code as 2100 and posting period from 001.2007 to 012.2007.
    I need to translate all the balance sheet items are translate with the closing rate (M) for the current period , i.e. the "to period in the report " here 012.2007.
    The To period is dynamic and i need to select the currency conversion rate dynamically based on the To period entered in the selection screen of query.so, Can any one give the clues to achieve this. Your help is appriciated.
    Thanks & Regards
    Syam.
    Edited by: syam reddy on Nov 24, 2008 10:09 PM
    Edited by: syam reddy on Nov 24, 2008 10:19 PM

    Use RSCUR transaction to create currency translation type.
    Here under "Time Ref" tab use "Variable Time Ref" and special infoobject.
    You should be able to choose Posting period or posting date here.
    Now in query designer maintain the currency conversion based on this currency translation type.
    Hope this helps.

  • Portion to enter currency conversion manually in FB60

    Dear Guru's,
    Can you help me on this.
    a. First I am not able to see the option to enter the currency conversion rate manually when I use FB 60
    Eg:- When I want to book an invoice in USD 150 it takes the rate automatically  from the currency table. But I would like to give the rate manually.
    Please help
    Thanks
    Deepak

    Dear Deepak,
    In fb60 you can go to Local currency tab(which is last one in the same level of basic tab) and change manually the exchange rate.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Concept of currency conversion.

    In a report user is getting currency conversion issue. In report  all currency which is in Pound is not converting into EUROS. 
    So can any one tell me  concept of currency conversion.
    I am not able to understand where currency conversion is happing in PN2 or  directly  in reporting. How i will know this?
    Thnaks
    Abha.

    Hi Abha,
      Currency translation is used to translate the key figures with currency fields that exist in the source system in different currencies into a standard currency in the BI system. Currency translation can be done at different levels depending on requirements and based on translation type.
    Currency conversion can be carried out in,
    i. Transformation using Function module
    ii. In Bex using conversion type created in RSCUR.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?quicklink=index&overridelayout=true

  • Currency conversion Info provider.

    Could anyone let me now the Infoprovider where the currency conversion rate is stored ??

    This will be maintained, usually in R/3 and extracted to BW.
    This is not a transaction data and wont be stored ina cube.
    But you can acess the rates while loading or while reporting.
    Ravi Thothadri

  • Stale currency conversions (Stocks application)

    Using the Stocks application (which is Yahoo! Finance), it's possible to view currency conversion rates. For example, entering "USDAUD=X" as a ticker symbol will convert US dollars to Australian dollars. (Find other symbols at finance.yahoo.com.)
    However, the conversion charts are only valid for the 1-week view. If I select, say, the 3-month or 2-year view, the values are stale (the most recent few weeks or months are not shown). If you test this, be sure to select various time scales and then go back to each.
    I do not have this issue when viewing stocks, e.g., AAPL.
    Am I the only person having this trouble, or is there a way to correct?

    I don't think you are using a feature that is supposed to be there.
    It is a stocks viewer not a currency viewer.
    If it happens to show the currencies then that is good luck rather than planning.

  • Currency conversion JPY to USD issue

    Hi Friends ,
    I am facing an issue while currency conversion from JPY to USD . I have defined currency conversion type in RSCUR , it is working fine for all other currencies except JPY . I have the exchange rate maintained in TCURR but still it shows exchange rate not maintained while running the query  . Could  you please tell what can be possible reasons for it .
    Thanks in Advance .

    Hi,
    Check the time reference based on which the currency conversion rate is maintained. Run function module READ_EXCHANGE_RATE by giving the date, JPY to USD and check if returns values.

Maybe you are looking for

  • HT201386 Why can't I add a title to a photo anymore?

    Why can't I add a title to a photo anymore in Iphoto editing? Thanks, Lpkaufman

  • BO training with SAP Development background(ABAP)

    HI guys. I just wanted to see what everyone's option is regarding Business objects development. I have about 8 years of SAP development experience. Mostly with ABAP and web dynpro. I have given the opportunity to take BO training for our future imple

  • Email via Wifi is forbidden

    Hi All, I'm a new C3-00 owner and wanted to warn you about Orange France. You can't use the wifi connection to download your emails, this functionnality is disabled by Orange. I've struggled three days long with various commercial/technical hotlines,

  • Editing in Frequency Spectrum View

    I'm working on editing a song that has a male narrative voice that needs to be removed. This is new for me. I've been reading the Editing in Frequency Spectrum View section and plan to give this a try to remove this voice. I would welcome some helpfu

  • Help with music loading on to I-tunes

    Have had to remove all my music from one computer (upgrades at work) and reinstall i-tunes and music to new computer BUT... my music is not working.... Sugababes - Taller in More Ways is showing as "Album" with no track names also compliation albums