<?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: Problem with FM SPELL_AMOUNT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822422#M1128496</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here, importing parameter IN_WORDS is a table. Refer the field IN_WORDS-WORD, this will give the amount in words only. If the filler is filled with any symbol like * then the prefix and suffix of output(ONE HUNDRED) contains *s like &lt;STRONG&gt;ONE HUNDRED&lt;/STRONG&gt;***************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Nov 2008 13:04:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-27T13:04:03Z</dc:date>
    <item>
      <title>Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822415#M1128489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Function module SPELL_AMOUNT to convert a number to word. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:lv_no(5) TYPE i.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;lv_no = 100.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;AMOUNT = lv_no&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CURRENCY = ' ' &lt;/P&gt;&lt;P&gt;FILLER = ' ' &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 = 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;Example : If i Give Input as 100 then its giving O/P as 000000000000100000#ONE HUNDRED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i need only ONE HUNDRED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Guide regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Neelima.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822415#M1128489</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T12:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822416#M1128490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="7" type="ul"&gt;&lt;P&gt;Get amount in words&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*data: lv_name type spell,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     lv_currency type string.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN COMMENT 10(22) text-001 FOR FIELD p_amt.&lt;/P&gt;&lt;P&gt;*PARAMETER: p_amt type i.&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;*SELECTION-SCREEN END OF BLOCK blk1.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  AMOUNT          = p_amt&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CURRENCY        = 'INR'&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;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IN_WORDS        = lv_name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND       = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TOO_LARGE       = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS          = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*ENDIF.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*WRITE: / 'The amount in words is:',lv_name-word.&lt;/P&gt;&lt;P&gt;*LEAVE to LIST-PROCESSING.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822416#M1128490</guid>
      <dc:creator>agnihotro_sinha2</dc:creator>
      <dc:date>2008-11-27T12:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822417#M1128491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try changing the data type to C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:55:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822417#M1128491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T12:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822418#M1128492</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;If currency is INR use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA : amt   TYPE pc207-betrg VALUE '100',
       amt_w TYPE char100.

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
  EXPORTING
    amt_in_num         = amt
  IMPORTING
    amt_in_words       = amt_w
  EXCEPTIONS
    data_type_mismatch = 1
    OTHERS             = 2.
IF sy-subrc = 0.

  WRITE amt_w.

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822418#M1128492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T12:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822419#M1128493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sammeta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         Your answer is in a structure and hence the long answer. If you just want the number 100, you can obtain it by writing or assigning in_words-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sojan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : You need to dig little more deep into abap&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 12:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822419#M1128493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T12:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822420#M1128494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I mean the word one hundred.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822420#M1128494</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T13:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822421#M1128495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Example : If i Give Input as 100 then its giving O/P as 000000000000100000#ONE HUNDRED&lt;/P&gt;&lt;P&gt;&amp;gt; But i need only ONE HUNDRED&lt;/P&gt;&lt;P&gt;&amp;gt; Please Guide regarding this.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of the FM is a structure (spell in your case), the value ONE HUNDRED will be in field word. So you need to check spell-word (not spell, what you actually do)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822421#M1128495</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-11-27T13:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822422#M1128496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here, importing parameter IN_WORDS is a table. Refer the field IN_WORDS-WORD, this will give the amount in words only. If the filler is filled with any symbol like * then the prefix and suffix of output(ONE HUNDRED) contains *s like &lt;STRONG&gt;ONE HUNDRED&lt;/STRONG&gt;***************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran Bobbala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:04:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822422#M1128496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T13:04:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822423#M1128497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try after call Fm:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
write: spell-word.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822423#M1128497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T13:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with FM SPELL_AMOUNT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822424#M1128498</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;Thanks issued is solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Neelima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Nov 2008 13:09:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-fm-spell-amount/m-p/4822424#M1128498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-27T13:09:05Z</dc:date>
    </item>
  </channel>
</rss>

