<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Getting currency conversion rate in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699994#M1104499</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use function module 'CONVERT_TO_LOCAL_CURRENCY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Nov 2008 22:10:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-10T22:10:41Z</dc:date>
    <item>
      <title>Getting currency conversion rate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699993#M1104498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prasy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 22:07:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699993#M1104498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T22:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting currency conversion rate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699994#M1104499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use function module 'CONVERT_TO_LOCAL_CURRENCY'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2008 22:10:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699994#M1104499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-10T22:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Getting currency conversion rate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699995#M1104500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For table TCURR, you can change the currency for the nearest date compared to current day.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;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 &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chris Gu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 02:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-currency-conversion-rate/m-p/4699995#M1104500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T02:17:59Z</dc:date>
    </item>
  </channel>
</rss>

