<?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: currency conversions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045696#M421230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good, Check the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currency Convertion (i.e. from EUR to GBP):&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/country/country_curr.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/country/country_curr.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Convert currency value from internal(SAP) to external(display)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/country/country_inttoext.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/country/country_inttoext.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just you can check it out in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY_N &lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY_O.&lt;/P&gt;&lt;P&gt;CONVERT_TO_FOREIGN_CURRENCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk this Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="324748"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck and Thanks&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 06:39:15 GMT</pubDate>
    <dc:creator>ashok_kumar24116</dc:creator>
    <dc:date>2007-03-15T06:39:15Z</dc:date>
    <item>
      <title>currency conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045694#M421228</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 have to convert the amount from currency x to y. If no conversion rates are defined for this then i have to choose some reference currency (TCURV-BWAER) ex USD so that i can convert from X -&amp;gt; USD -&amp;gt; Y.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will give my target amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But in order to calculate the rate ( X - &amp;gt; USD  -&amp;gt; Y) what is procedure since i want&lt;/P&gt;&lt;P&gt;__________________________{ X   rate USD  rate Y}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; to use the rate in other function module for the currencies which donot have rates defined in TCURR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:27:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045694#M421228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: currency conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045695#M421229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Below is the code for converting currency values from one currency to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: gd_fcurr TYPE tcurr-fcurr,
      gd_tcurr TYPE tcurr-tcurr,
      gd_date  TYPE sy-datum,
      gd_value TYPE i.

gd_fcurr = 'EUR'.
gd_tcurr = 'GBP'.
gd_date  = sy-datum.
gd_value = 10.

PERFORM currency_conversion USING gd_fcurr
                                  gd_tcurr
                                  gd_date
                         CHANGING gd_value.



* Convert value to Currency value 
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  currency_conversion
*&amp;amp;---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      --&amp;gt;P_GD_FCURR  text
*      --&amp;gt;P_GD_TCURR  text
*      --&amp;gt;P_GD_DATE   text
*      &amp;lt;--P_GD_VALUE  text
*----------------------------------------------------------------------*
FORM currency_conversion  USING    p_fcurr
                                   p_tcurr
                                   p_date
                          CHANGING p_value.

  DATA: t_er        TYPE tcurr-ukurs,
        t_ff        TYPE tcurr-ffact,
        t_lf        TYPE tcurr-tfact,
        t_vfd       TYPE datum,
        ld_erate(12)   TYPE c.

  CALL FUNCTION 'READ_EXCHANGE_RATE'
    EXPORTING
*       CLIENT                  = SY-MANDT
      date                    = p_date
      foreign_currency        = p_fcurr
      local_currency          = p_tcurr
      TYPE_OF_RATE            = 'M'
*       EXACT_DATE              = ' '
   IMPORTING
      exchange_rate           = t_er
      foreign_factor          = t_ff
      local_factor            = t_lf
      valid_from_date         = t_vfd
*       DERIVED_RATE_TYPE       =
*       FIXED_RATE              =
*       OLDEST_RATE_FROM        =
   EXCEPTIONS
     no_rate_found           = 1
     no_factors_found        = 2
     no_spread_found         = 3
     derived_2_times         = 4
     overflow                = 5
     zero_rate               = 6
     OTHERS                  = 7
            .
  IF sy-subrc EQ 0.
    ld_erate = t_er / ( t_ff / t_lf ).
    p_value = p_value * ld_erate.
  ENDIF.
ENDFORM.                    " currency_conversion&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the below link for explanation and a Program&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/fm" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/fm&lt;/A&gt;&lt;EM&gt;Currency&lt;/EM&gt;Conversion&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:33:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045695#M421229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: currency conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045696#M421230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good, Check the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currency Convertion (i.e. from EUR to GBP):&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/country/country_curr.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/country/country_curr.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Convert currency value from internal(SAP) to external(display)&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/country/country_inttoext.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/country/country_inttoext.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just you can check it out in SE37.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY_N &lt;/P&gt;&lt;P&gt;CONVERT_TO_LOCAL_CURRENCY_O.&lt;/P&gt;&lt;P&gt;CONVERT_TO_FOREIGN_CURRENCY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk this Link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="324748"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good Luck and Thanks&lt;/P&gt;&lt;P&gt;AK&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045696#M421230</guid>
      <dc:creator>ashok_kumar24116</dc:creator>
      <dc:date>2007-03-15T06:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: currency conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045697#M421231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sudheer &amp;amp; AK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you check the function module 'READ_EXCHANGE_RATE'  (SE37 - it will be easy)  for fcurr is MYR and Lcurr is ZAR. then u will get exception.&lt;/P&gt;&lt;P&gt;I want to eliminate this exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Means  calculate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!) rate for MYR to Intermediate currency(ex USD).&lt;/P&gt;&lt;P&gt;2) rate for intermediate currency(USD) to ZAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then using this 2 rates&amp;lt;u&amp;gt; how to decide the final rate for MYR -&amp;gt; ZAR conversion.&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please check this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:05:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045697#M421231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: currency conversions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045698#M421232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one help me in finding this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 10:50:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversions/m-p/2045698#M421232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T10:50:49Z</dc:date>
    </item>
  </channel>
</rss>

