<?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: Amount in words in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960280#M67201</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data keepamount(1)&lt;/P&gt;&lt;P&gt;data count type I.&lt;/P&gt;&lt;P&gt;data count1 type I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Amount is the field having in words )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count1 = STRLEN(AMOUNT). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do count1 times .&lt;/P&gt;&lt;P&gt;IF KEEPAMOUNT EQ SPACE.&lt;/P&gt;&lt;P&gt; KEEPAMOUNT = AMOUNT+COUNT(1) .&lt;/P&gt;&lt;P&gt; COUNT = COUNT + 1. &lt;/P&gt;&lt;P&gt;CONTINUE .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE AMOUNT+COUNT(1) TO LOWER CASE.&lt;/P&gt;&lt;P&gt;KEEPAMOUNT = AMOUNT+COUNT(1).&lt;/P&gt;&lt;P&gt;COUNT = COUNT + 1.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move AMOUNT+COUNT(1) To KEEPAMOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2005 07:10:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-14T07:10:43Z</dc:date>
    <item>
      <title>Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960271#M67192</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 am working in  4.6c. I have to convert an amount to words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say 1450 to One thousand four hundred fifty dollars and 00 cents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it with SPELL_AMOUNT bbut its not satisfying my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function module for doing it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Bala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:17:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960271#M67192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960272#M67193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the problem with SPELL_AMOUNT ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:20:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960272#M67193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960273#M67194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of 1450 pass the amount with decimals 1450.00 along with the currency key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960273#M67194</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-09-14T06:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960274#M67195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i pass 1450 &lt;/P&gt;&lt;P&gt;i get one thousand and four hundred fifty&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i pass 1450.00&lt;/P&gt;&lt;P&gt;i get a different output which very much odd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960274#M67195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960275#M67196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will get the values in SPELL-DECWORD AND SPELL-WORD.&lt;/P&gt;&lt;P&gt;You amy ahve to write alittle bit more ABAP to achieve what you want . Cents are not known in SAP only USD with decimal places in known.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960275#M67196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960276#M67197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also check if you are passing P type variable in AMOUNT .&lt;/P&gt;&lt;P&gt;If you pass acharacter varaible with '1450.00' you will get a different result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960276#M67197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960277#M67198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SPELL_AMOUNT shd work correctly.&lt;/P&gt;&lt;P&gt;Can u plz tell us wat you are expecting &amp;amp; wat is the result from SPELL_AMOUNT. wat are the inputs given ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 06:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960277#M67198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T06:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960278#M67199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have got the output now when i tried with the currency value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i am getting the output in caps like&lt;/P&gt;&lt;P&gt;ONE THOUSAND FOUR HUNDRED FIFTY DOLLARS ZERO CENTS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wanna display as&lt;/P&gt;&lt;P&gt;One Thousand Four Hundred Fifty Dollars &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in sapscript&lt;/P&gt;&lt;P&gt;can anyone give a solutio for this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 07:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960278#M67199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T07:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960279#M67200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use translate to lower case .&lt;/P&gt;&lt;P&gt;data index like sy-index.&lt;/P&gt;&lt;P&gt;data ix like sy-index.&lt;/P&gt;&lt;P&gt;DATA letters(500) TYPE C.&lt;/P&gt;&lt;P&gt;letters = 'ONE THOUSAND FOUR HUNDRED FIFTY DOLLARS'.&lt;/P&gt;&lt;P&gt;TRANSLATE letters TO LOWER CASE.&lt;/P&gt;&lt;P&gt;TRANSLATE letters+0(1) TO UPPER CASE.&lt;/P&gt;&lt;P&gt;TRANSLATE letters using ' #'.&lt;/P&gt;&lt;P&gt;index = 1.&lt;/P&gt;&lt;P&gt;DO.&lt;/P&gt;&lt;P&gt;SEARCH letters FOR '#' STARTING AT index.&lt;/P&gt;&lt;P&gt;if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;index = SY-FDPOS + 1 + ix.&lt;/P&gt;&lt;P&gt;TRANSLATE letters+index(1) TO UPPER CASE.&lt;/P&gt;&lt;P&gt;ix = index.&lt;/P&gt;&lt;P&gt;index = index + 1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;check index  &amp;gt;= 500.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;TRANSLATE letters using '# '.&lt;/P&gt;&lt;P&gt;write letters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the output needed for u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;gv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Venkat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 07:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960279#M67200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T07:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960280#M67201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data keepamount(1)&lt;/P&gt;&lt;P&gt;data count type I.&lt;/P&gt;&lt;P&gt;data count1 type I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( Amount is the field having in words )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count1 = STRLEN(AMOUNT). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do count1 times .&lt;/P&gt;&lt;P&gt;IF KEEPAMOUNT EQ SPACE.&lt;/P&gt;&lt;P&gt; KEEPAMOUNT = AMOUNT+COUNT(1) .&lt;/P&gt;&lt;P&gt; COUNT = COUNT + 1. &lt;/P&gt;&lt;P&gt;CONTINUE .&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRANSLATE AMOUNT+COUNT(1) TO LOWER CASE.&lt;/P&gt;&lt;P&gt;KEEPAMOUNT = AMOUNT+COUNT(1).&lt;/P&gt;&lt;P&gt;COUNT = COUNT + 1.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Move AMOUNT+COUNT(1) To KEEPAMOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 07:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960280#M67201</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T07:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960281#M67202</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 am not sure when you are using spell_amount, you are passing 'CURRENCY" and "LANGUAGE" along with the "AMOUNT".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example if you pass -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  AMOUNT = '1450.55'&lt;/P&gt;&lt;P&gt;  CURRENCY = 'USD'&lt;/P&gt;&lt;P&gt;  LANGUAGE = 'EN'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to the SPELL_AMOUNT it will return you value like - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  NUMBER = 000000000001450 &amp;lt;- this is the amount without &lt;/P&gt;&lt;P&gt;                              decimals  &lt;/P&gt;&lt;P&gt;  DECIMAL = 550   &amp;lt;- this is decimal amount&lt;/P&gt;&lt;P&gt;  CURRDEC = 2      &lt;/P&gt;&lt;P&gt;  WORD = ONE THOUSAND FOUR HUNDRED FIFTY &amp;lt;- without&lt;/P&gt;&lt;P&gt;                                            decimal &lt;/P&gt;&lt;P&gt;                                            amount in &lt;/P&gt;&lt;P&gt;                                            word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  DECWORD = FIFTY-FIVE &amp;lt;- decimal amount in word&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now if you are using 'USD' as currency it means amount mentioned by WORD is in dollar and amount mentioned by DECWORD is cents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 07:34:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960281#M67202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T07:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960282#M67203</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;spell_amount is the correct function module&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          = IS_HEADER-NETWR&lt;/P&gt;&lt;P&gt;     CURRENCY        = IS_HEADER-WAERK&lt;/P&gt;&lt;P&gt;     LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     IN_WORDS        = G_AMOUNT_WORDS&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G_AMOUNT_WORDS-word contain "One thousand four hundred fifty dollars"&lt;/P&gt;&lt;P&gt;G_AMOUNT_WORDS-decword contain zero (equivalent string to the decimal )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you concatenate both like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;concatenate G_AMOUNT_WORDS-word IS_HEADER-WAERK&lt;/P&gt;&lt;P&gt;  'and' G_AMOUNT_WORDS-decword 'cents' into l_string &lt;/P&gt;&lt;P&gt;   separated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2005 09:04:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960282#M67203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-14T09:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960283#M67204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did u manage to get the display as Dollars and Cents. Can you please help with the logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 08:06:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960283#M67204</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-04T08:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Amount in words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960284#M67205</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;   can you compare you code with this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZSPELL.&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 : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '1234510'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SY-TITLE = 'SPELLING NUMBER'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;FORM SPELL_AMOUNT USING PWRBTR PWAERS.&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    = PAMOUNT&lt;/P&gt;&lt;P&gt;            CURRENCY  = PWAERS&lt;/P&gt;&lt;P&gt;            FILLER    = SPACE&lt;/P&gt;&lt;P&gt;            LANGUAGE  = 'E'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            IN_WORDS  = T_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;ENDFORM.                               " SPELL_AMOUNT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Laxmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2007 08:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/amount-in-words/m-p/960284#M67205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-04T08:21:35Z</dc:date>
    </item>
  </channel>
</rss>

