<?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 SPELL_AMOUNT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203367#M471018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use this function module to display subtotals of orders in my report....But I am not able to pass the parameters correctly.....Can I have a sample code of working with this function module.Thank  you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 10:41:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-27T10:41:44Z</dc:date>
    <item>
      <title>SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203367#M471018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to use this function module to display subtotals of orders in my report....But I am not able to pass the parameters correctly.....Can I have a sample code of working with this function module.Thank  you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203367#M471018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203368#M471019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT ZSPELL.
 
TABLES SPELL.
 
DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '123451022343333235'.
 
SY-TITLE = 'SPELLING NUMBER'.
 
PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.
 
WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.
 
FORM SPELL_AMOUNT USING PWRBTR PWAERS.
 
  CALL FUNCTION 'SPELL_AMOUNT'
       EXPORTING
            AMOUNT    = PAMOUNT
            CURRENCY  = PWAERS
            FILLER    = SPACE
            LANGUAGE  = 'E'
       IMPORTING
            IN_WORDS  = T_SPELL
       EXCEPTIONS
            NOT_FOUND = 1
            TOO_LARGE = 2
            OTHERS    = 3.
ENDFORM.                               " SPELL_AMOUNT



or

Use FM HR_IN_CHG_INR_WRDS

DATA cur LIKE pc207-betrg VALUE '100000.00'.
DATA words(100) TYPE c.
 
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = cur
IMPORTING
amt_in_words = words.
WRITE words.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards Rk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:43:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203368#M471019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203369#M471020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;chk the program &amp;lt;b&amp;gt;RF_SPELL&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;but this FM is used to give the amount in words&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203369#M471020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203370#M471021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;spell_amount function module is used to write the given number in words&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203370#M471021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203371#M471022</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;This is the code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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.&lt;/P&gt;&lt;P&gt;DATA: PWAERS LIKE SY-WAERS.&lt;/P&gt;&lt;P&gt;PARAMETERS : AMOUNT LIKE SPELL-NUMBER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*PARAMETERS: AMOUNT LIKE PAMOUNT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TITLE = 'AMOUNT TO WORDS'.&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;&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    = AMOUNT&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;WRITE:1 'RS.',5 T_SPELL-WORD, 'POINT', T_SPELL-DECWORD, 'ONLY'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203371#M471022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203372#M471023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;call function 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt; exporting&lt;/P&gt;&lt;P&gt;   amount          = w_amount&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    CURRENCY        = 'USD'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    language        = sy-langu&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; importing&lt;/P&gt;&lt;P&gt;   in_words        = w_text&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 10:52:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount/m-p/2203372#M471023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T10:52:36Z</dc:date>
    </item>
  </channel>
</rss>

