<?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: Conversion of amount useing spell_amount function in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946886#M64384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinayak!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in table TCURX, how many decimals for the currencies are customized. Internally always two decimals are displayed (based on data element), but real value depends on TCURX (is converted by WRITE correctly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Yen is maintained with 0 decimals, then output is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Aug 2005 10:09:37 GMT</pubDate>
    <dc:creator>christian_wohlfahrt</dc:creator>
    <dc:date>2005-08-10T10:09:37Z</dc:date>
    <item>
      <title>Conversion of amount useing spell_amount function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946885#M64383</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 facing a peculiar problem while printing purchase invoice my invoice currency is Japanese Yen suppose in want to convert 670000.00 with spell_amount function it is converting 67 millions while for Indian rupees &amp;amp; USD it is printing correct. please  help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinayak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2005 10:01:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946885#M64383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-10T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of amount useing spell_amount function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946886#M64384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinayak!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in table TCURX, how many decimals for the currencies are customized. Internally always two decimals are displayed (based on data element), but real value depends on TCURX (is converted by WRITE correctly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If Yen is maintained with 0 decimals, then output is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2005 10:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946886#M64384</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2005-08-10T10:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Conversion of amount useing spell_amount function</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946887#M64385</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;so you've to move amount to a help-field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: amount TYPE bseg-wrbtr DEFAULT '67000.00',
waers TYPE bkpf-waers DEFAULT 'JPY'.


DATA hfield TYPE p DECIMALS 0.
TABLES spell.

MOVE amount TO hfield.

CALL FUNCTION 'SPELL_AMOUNT'
     EXPORTING
          amount   = hfield
          currency = waers
*         language = 'EN'
     IMPORTING
          in_words = spell.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2005 11:47:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion-of-amount-useing-spell-amount-function/m-p/946887#M64385</guid>
      <dc:creator>andreas_mann3</dc:creator>
      <dc:date>2005-08-10T11:47:49Z</dc:date>
    </item>
  </channel>
</rss>

