<?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: Converting Currency Amounts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106225#M104840</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;Perhaps I've not understood your problem, but if you wanto the amount in cent why do multiple the amount for 100?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AMOUNT = 100,12 USD =&amp;gt; AMOUNT = 10012 CENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call fm SPELL_AMOUNT for 10012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Nov 2005 12:07:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-06T12:07:17Z</dc:date>
    <item>
      <title>Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106221#M104836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all!!&lt;/P&gt;&lt;P&gt;I have to convert decimals currency from given amount.&lt;/P&gt;&lt;P&gt;I mean if I get USD the result is cents.&lt;/P&gt;&lt;P&gt;EUR the result is cents etc...&lt;/P&gt;&lt;P&gt;Thanks!!!!!&lt;/P&gt;&lt;P&gt;DIANA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 09:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106221#M104836</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T09:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106222#M104837</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;Not quite sure if I got what you need but here's an example how to convert given amount to another currency:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY' EXPORTING 
date = sy-datum 
foreign_currency = 'USD' 
foreign_amount = '2000.00' 
local_currency = 'EUR' 
IMPORTING 
local_amount = amount.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Also take a look in these Function Modules:&lt;/P&gt;&lt;P&gt;CURRENCY_CONVERT,&lt;/P&gt;&lt;P&gt;CURRENCY_CONVERT_TO_EURO,&lt;/P&gt;&lt;P&gt;CURRENCY_CONVERTING_FACTOR ,&lt;/P&gt;&lt;P&gt;CONVERT_CURRENCY_BY_RATE,&lt;/P&gt;&lt;P&gt;CONVERT_FOREIGN_TO_FOREIGN_CUR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Ville&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 10:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106222#M104837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T10:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106223#M104838</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;If I understood your requirement correctly you want to convert the decimal part of the amount. If the amount is 123.45, you want to convert 45 as well. For this pls use the function module SPELL_AMOUNT. The import parameter IN_WORDS-DECWORD will give this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 10:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106223#M104838</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-11-06T10:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106224#M104839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No&lt;/P&gt;&lt;P&gt;You didn't get what I need...I'll try to explain more clear..&lt;/P&gt;&lt;P&gt;I have to convert currency in decimal places but not the amount  itself  (for getting the amount I'm using FM SPELL_AMOUNT ) For example I have to get THE WORD "cents"  in case of input USD...&lt;/P&gt;&lt;P&gt;INPUT: USD&lt;/P&gt;&lt;P&gt;OUTPUT: CENTS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 11:29:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106224#M104839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T11:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106225#M104840</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;Perhaps I've not understood your problem, but if you wanto the amount in cent why do multiple the amount for 100?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AMOUNT = 100,12 USD =&amp;gt; AMOUNT = 10012 CENT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call fm SPELL_AMOUNT for 10012&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 12:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106225#M104840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T12:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106226#M104841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NO NO NO &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I don't need the amount at all!&lt;/P&gt;&lt;P&gt;I need THE WORD "CENTS" when I got currency EQ USD(for example).&lt;/P&gt;&lt;P&gt;I mean giving the currency(USD/EUR/RUBL(RUS)/LIRA/SHEKEL) I need to get the "cents" of it.(NOT THE AMOUNT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 12:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106226#M104841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T12:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106227#M104842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the word 'CENTS' there isn't in SAP, but you can check if your currency can have two decimals (so it manages the cents) in the table TCURX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there isn't in TCURX, it means the currency supports two decimal, if there is you have to see the field CURRDEC to know how many decimals the currency can have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After you can use FM SPELL_AMOUNT to obtein the decimal part in words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES SPELL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: CURRENCY LIKE SY-WAERS VALUE 'USD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: AMOUNT TYPE WRBTR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE '1234.14' TO AMOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE CURRKEY FROM TCURX INTO CURRENCY&lt;/P&gt;&lt;P&gt;  WHERE CURRKEY EQ CURRENCY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHECK SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;          AMOUNT    = AMOUNT&lt;/P&gt;&lt;P&gt;          CURRENCY  = CURRENCY&lt;/P&gt;&lt;P&gt;          FILLER    = ' '&lt;/P&gt;&lt;P&gt;          LANGUAGE  = SY-LANGU&lt;/P&gt;&lt;P&gt;     IMPORTING&lt;/P&gt;&lt;P&gt;          IN_WORDS  = SPELL&lt;/P&gt;&lt;P&gt;     EXCEPTIONS&lt;/P&gt;&lt;P&gt;          NOT_FOUND = 1&lt;/P&gt;&lt;P&gt;          TOO_LARGE = 2&lt;/P&gt;&lt;P&gt;          OTHERS    = 3.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;          WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: SPELL-WORD, CURRENCY, 'and', SPELL-DECWORD, 'CENTS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 12:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106227#M104842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T12:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106228#M104843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, But I need not only "cents"&lt;/P&gt;&lt;P&gt;I need FOR ANY CURRENCY!&lt;/P&gt;&lt;P&gt;FOR EXAMPLE: If I have LIRA as INPUT the OUTPUT is "centesimo" (in ITALY)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 12:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106228#M104843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T12:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106229#M104844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you shoud create a custom table with translate of word CENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think this table should have the client and language as key fields, perhaps currency too:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Euro is currency used by many European Country, so you can need several translates of word CENT for the same currency.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 13:07:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106229#M104844</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T13:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106230#M104845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is a SAP standard table and a FM for this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 13:17:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106230#M104845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T13:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106231#M104846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If there is it, it could be in T015Z or TCURT, otherwise...good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: max bianchi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 13:31:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106231#M104846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-06T13:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106232#M104847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I am aware of SAP is not storing the currency denomination text. You can do two things, either keep this information in a table or hardcode if it never changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Nov 2005 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106232#M104847</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-11-06T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Converting Currency Amounts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106233#M104848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diana,&lt;/P&gt;&lt;P&gt;I have a similar problem in my development. Can you please tell me if you found any solution within SAP or did u have to create a custom table??&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bindu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 May 2006 12:00:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/converting-currency-amounts/m-p/1106233#M104848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-09T12:00:56Z</dc:date>
    </item>
  </channel>
</rss>

