<?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 conversion in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924016#M59500</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 see that there are lots of FM that converts a currency from one to another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a Method inside a abap class that do the same!&lt;/P&gt;&lt;P&gt;Any clue where to search for this (i don't what to use FM.)?&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 May 2005 18:21:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-05-02T18:21:04Z</dc:date>
    <item>
      <title>Currency conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924012#M59496</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 have to convert currency from for Example CAD to USD&lt;/P&gt;&lt;P&gt;I used &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'CONVERT_AMOUNT_TO_CURRENCY'&lt;/P&gt;&lt;P&gt;           exporting&lt;/P&gt;&lt;P&gt;            DATE                   = sy-datum&lt;/P&gt;&lt;P&gt;             foreign_currency       = 'CAD'&lt;/P&gt;&lt;P&gt;             foreign_amount         = 2000&lt;/P&gt;&lt;P&gt;             local_currency         = 'USD'&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            LOCAL_AMOUNT            = amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did not got the expected output. The outputr which i got is&lt;/P&gt;&lt;P&gt;                                                                                Import parameters               Value             &lt;/P&gt;&lt;P&gt;                                                    &lt;/P&gt;&lt;P&gt;  DATE                            2005/05/02        &lt;/P&gt;&lt;P&gt;  FOREIGN_CURRENCY                CAD               &lt;/P&gt;&lt;P&gt;  FOREIGN_AMOUNT                  2000              &lt;/P&gt;&lt;P&gt;  LOCAL_CURRENCY                  USD                                                                                &lt;/P&gt;&lt;P&gt;Export parameters               Value             &lt;/P&gt;&lt;P&gt;                                                    &lt;/P&gt;&lt;P&gt;  LOCAL_AMOUNT                                                                                &lt;/P&gt;&lt;P&gt;Tables                          Value             &lt;/P&gt;&lt;P&gt;                                                    &lt;/P&gt;&lt;P&gt;  T_C_ERRORS                         0 Entries      &lt;/P&gt;&lt;P&gt;                   Result:           0 Entries      &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;Please help me solve this&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;sree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2005 13:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924012#M59496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-02T13:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924013#M59497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my system, for the same values, this function is returning a error message in T_C_ERROS.&lt;/P&gt;&lt;P&gt;This function reads tables TCURV and TCURF (Factor conversion).&lt;/P&gt;&lt;P&gt;Problably the problem is that you don´t have a conversion rate in table TCURF for this parameters.&lt;/P&gt;&lt;P&gt;If you debug the function, you will find wich table is missed.&lt;/P&gt;&lt;P&gt;I don´t have knowledge on how to maintain this tables and what this maintanace could affect.&lt;/P&gt;&lt;P&gt;I think that an FI functional person could help you on how to maintain it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2005 13:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924013#M59497</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2005-05-02T13:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924014#M59498</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;&lt;/P&gt;&lt;P&gt;have a look here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="360258"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2005 13:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924014#M59498</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-05-02T13:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924015#M59499</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 the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zc1_currency_conversion .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: loc_umsa1 LIKE kna1-umsa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          foreign_currency = 'CAD'&lt;/P&gt;&lt;P&gt;          foreign_amount   = 450&lt;/P&gt;&lt;P&gt;          local_currency   = 'USD'&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          local_amount     = loc_umsa1&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          error            = 1&lt;/P&gt;&lt;P&gt;          OTHERS           = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  WRITE:/ 'Converted amount is:' , loc_umsa1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  WRITE:/ 'Error in conversion'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase the funtion module is workign properly,&lt;/P&gt;&lt;P&gt;Try these modules,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERT_TO_FOREIGN_CURRENCY or CONVERT_TO_LOCAL_CURRENCY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kathir~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2005 13:54:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924015#M59499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-02T13:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Currency conversion</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924016#M59500</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 see that there are lots of FM that converts a currency from one to another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need a Method inside a abap class that do the same!&lt;/P&gt;&lt;P&gt;Any clue where to search for this (i don't what to use FM.)?&lt;/P&gt;&lt;P&gt;//Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2005 18:21:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-conversion/m-p/924016#M59500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-05-02T18:21:04Z</dc:date>
    </item>
  </channel>
</rss>

