<?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: Regarding function module spell_amount in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106957#M982150</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   = val&lt;/P&gt;&lt;P&gt;      currency = 'INR'  &amp;lt;-----is this given ???&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      in_words =  var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Jul 2008 11:25:50 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2008-07-02T11:25:50Z</dc:date>
    <item>
      <title>Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106951#M982144</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 working with the function module spell_amount.&lt;/P&gt;&lt;P&gt;the outcome that i am getting is different when compared with the amount in words and figures&lt;/P&gt;&lt;P&gt;ex : amt is 1,800.00&lt;/P&gt;&lt;P&gt;in words : one hundred eighty thousand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:05:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106951#M982144</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T10:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106952#M982145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_i_amount = tmp_amt.
 
call function 'HR_IN_CHG_INR_WRDS'
  exporting
    amt_in_num               = v_i_amount
 IMPORTING
   AMT_IN_WORDS             =  amt_in_words
 EXCEPTIONS
   DATA_TYPE_MISMATCH       = 1
   OTHERS                   = 2.
 
if sy-subrc  0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif..&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ur FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
TABLES SPELL.

DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.
DATA : PAMOUNT LIKE SPELL-NUMBER VALUE '1234510'.

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&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106952#M982145</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-07-02T10:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106953#M982146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign  your amount to character variable and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : amnt(13) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amnt = amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;condense amnt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pass this to your FM spell_amount&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106953#M982146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T10:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106954#M982147</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;Additionaly just past the CURRENCY as 'INR' &amp;amp; you will get the desired result. You can test this directly from Se37 itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raju Chitale&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:21:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106954#M982147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T10:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106955#M982148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u should pass currency also along with the amount.&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  = v_waers&lt;/P&gt;&lt;P&gt;            filler    = space&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 = 01&lt;/P&gt;&lt;P&gt;            too_large = 02.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 10:31:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106955#M982148</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T10:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106956#M982149</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 getting correct result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Se37 and execute the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 11:23:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106956#M982149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-02T11:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding function module spell_amount</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106957#M982150</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   = val&lt;/P&gt;&lt;P&gt;      currency = 'INR'  &amp;lt;-----is this given ???&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      in_words =  var.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jul 2008 11:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-function-module-spell-amount/m-p/4106957#M982150</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2008-07-02T11:25:50Z</dc:date>
    </item>
  </channel>
</rss>

