<?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: Error Using -  CONVERT_TO_LOCAL_CURRENCY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438398#M1247406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
               DATE              = SY-DATUM
               FOREIGN_AMOUNT    = XNETWR
               FOREIGN_CURRENCY  = XVBAP-WAERK
               LOCAL_CURRENCY    = 'USD'
               RATE              = 0
               TYPE_OF_RATE      = 'M'
        IMPORTING
               EXCHANGE_RATE     =
               FOREIGN_FACTOR    =
               LOCAL_AMOUNT      = XVBAP-XNETWR
               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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Mar 2009 17:09:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-25T17:09:57Z</dc:date>
    <item>
      <title>Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438394#M1247402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using this function module to convert a currency (AUD) to another (CHF) as maintained in TCURR but getting nothing as import_amount. If anybody has used this FM , please suggest possible reason?&lt;/P&gt;&lt;P&gt;The conversion ration and rate is maintained in both TCURF and TCURR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 16:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438394#M1247402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T16:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438395#M1247403</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;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        client           = sy-mandt&lt;/P&gt;&lt;P&gt;        date             = sy-datum&lt;/P&gt;&lt;P&gt;        foreign_currency = 'SGD'&lt;/P&gt;&lt;P&gt;        local_amount     = tax_amt&lt;/P&gt;&lt;P&gt;        local_currency   = 'USD'&lt;/P&gt;&lt;P&gt;        rate             = w_ukurs&lt;/P&gt;&lt;P&gt;        type_of_rate     = 'M'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        exchange_rate    = w_exg&lt;/P&gt;&lt;P&gt;        foreign_amount   = w_tax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{code]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438395#M1247403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T17:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438396#M1247404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you using the correct TYPE_OF_RATE(TCURR-KURST) param. as maintained in TCURR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you executing the FM directly? Then may be you can scroll to the extreme right to see the results &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have faced this problem when directly executing the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438396#M1247404</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-03-25T17:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438397#M1247405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi try this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
     EXPORTING
          DATE              = SY-DATUM
          FOREIGN_AMOUNT    = AMOUNT
          FOREIGN_CURRENCY  = CURRENCY
          LOCAL_CURRENCY    = DISPLAY_CURRENCY
     IMPORTING
          LOCAL_AMOUNT      = AMOUNT
     EXCEPTIONS
          NO_RATE_FOUND     = 1
          OVERFLOW          = 2
          NO_FACTORS_FOUND  = 3
          NO_SPREAD_FOUND   = 4
          DERIVED_2_TIMES   = 5
          OTHERS            = 6.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:05:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438397#M1247405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T17:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438398#M1247406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
     CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
               DATE              = SY-DATUM
               FOREIGN_AMOUNT    = XNETWR
               FOREIGN_CURRENCY  = XVBAP-WAERK
               LOCAL_CURRENCY    = 'USD'
               RATE              = 0
               TYPE_OF_RATE      = 'M'
        IMPORTING
               EXCHANGE_RATE     =
               FOREIGN_FACTOR    =
               LOCAL_AMOUNT      = XVBAP-XNETWR
               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.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:09:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438398#M1247406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T17:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error Using -  CONVERT_TO_LOCAL_CURRENCY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438399#M1247407</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;Check this FM..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA amount type P DECIMALS 2.
CALL FUNCTION 'CONVERT_FOREIGN_TO_FOREIGN_CUR'
  EXPORTING
    date                   = sy-datum
    from_amount            = '1000'
    from_currency          = 'USD'
    to_currency            = 'EUR'
    local_currency         = 'INR'
 IMPORTING
   TO_AMOUNT              = amount
 EXCEPTIONS
   NO_RATE_FOUND          = 1
   OVERFLOW               = 2
   NO_FACTORS_FOUND       = 3
   NO_SPREAD_FOUND        = 4
   DERIVED_2_TIMES        = 5
   OTHERS                 = 6 .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-using-convert-to-local-currency/m-p/5438399#M1247407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T17:13:49Z</dc:date>
    </item>
  </channel>
</rss>

