<?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 how to use spell_amount funcation modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789916#M339883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ABAP gurus,&lt;/P&gt;&lt;P&gt;I want to know how to use spell_amount function modules?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Dec 2006 15:32:00 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-22T15:32:00Z</dc:date>
    <item>
      <title>how to use spell_amount funcation modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789916#M339883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ABAP gurus,&lt;/P&gt;&lt;P&gt;I want to know how to use spell_amount function modules?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Maruthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 15:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789916#M339883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T15:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to use spell_amount funcation modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789917#M339884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = amouno
CURRENCY = 'USD'
* FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = SPELL
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/fu001.htm" target="test_blank"&gt;http://www.sap-img.com/fu001.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if it helps&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 15:34:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789917#M339884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T15:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to use spell_amount funcation modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789918#M339885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maruthi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest01.
 
data: words type spell.
 
call function 'SPELL_AMOUNT'
 exporting
    amount          = '100000'
*   CURRENCY        = ' '
*   FILLER          = ' '
*   LANGUAGE        = SY-LANGU
  importing
    in_words        = words.
 
if words-word = 'ONE HUNDRED THOUSAND'.
  words-word = '1 LAKH'.
endif.
  
write:/ words-word.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can use FM HR_IN_CHG_INR_WRDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest02.
 
data: words(50) type c.
 
call function 'HR_IN_CHG_INR_WRDS'
     exporting
          amt_in_num   = '100000'
     importing
          amt_in_words = words.
  
write:/ words.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 15:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789918#M339885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T15:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to use spell_amount funcation modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789919#M339886</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;pls find this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: amount TYPE i,
      language TYPE sy-langu,
      in_words TYPE spell.

amount = '100'.
language = sy-langu.

CALL FUNCTION 'SPELL_AMOUNT'
  EXPORTING
    amount    = amount
    language  = language
  IMPORTING
    in_words  = in_words
  EXCEPTIONS
    not_found = 1
    too_large = 2
    OTHERS    = 3.
    
WRITE in_words-word.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2006 15:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-spell-amount-funcation-modules/m-p/1789919#M339886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-22T15:43:59Z</dc:date>
    </item>
  </channel>
</rss>

