<?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: Function Module for Amount in words for cheque Printing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461946#M1929877</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the link you gave. It gives AND only before the UNIT level amount word not everywhere, which you have written in your initial query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to use below FM :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA IN_WORDS(100) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_IN_CHG_INR_WRDS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;amt_in_num = "your amount in digits"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;AMT_IN_WORDS = IN_WORDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;DATA_TYPE_MISMATCH = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 05:31:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-01-11T05:31:05Z</dc:date>
    <item>
      <title>Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461943#M1929874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per one of our client requirements, We have to print amount in words for cheque printing as per below mention example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If amount is 100099.23 than It should print like&amp;nbsp; "One Hundred Thousand and Ninty Nine and Twenty Three Cents Only"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If amount is 1000099.23 than It should print like&amp;nbsp; "One Million and Ninty Nine and Twenty Three Cents Only"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically they want "And" Between every unit places.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help me to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dhaval Raval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 04:25:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461943#M1929874</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T04:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461944#M1929875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try use below FM:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SPELL_AMOUNT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;amount = "your amount in digits"&lt;/P&gt;&lt;P&gt;currency = "currency in which you want it"&lt;/P&gt;&lt;P&gt;language = 'E'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;in_words = "Your output table"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&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;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 04:33:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461944#M1929875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T04:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461945#M1929876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swati,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This FM is not giving output as per my requirements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleas go through below mention link to understand exactly what they want,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://freechequewriter.com/cheque-amount-to-word-converter" title="http://freechequewriter.com/cheque-amount-to-word-converter"&gt;Cheque Amount to Word Converter&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dhaval Raval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 04:40:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461945#M1929876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T04:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461946#M1929877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dhaval,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked the link you gave. It gives AND only before the UNIT level amount word not everywhere, which you have written in your initial query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try to use below FM :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA IN_WORDS(100) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'HR_IN_CHG_INR_WRDS'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;amt_in_num = "your amount in digits"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;AMT_IN_WORDS = IN_WORDS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;DATA_TYPE_MISMATCH = 1&lt;/P&gt;&lt;P&gt;OTHERS = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 05:31:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461946#M1929877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T05:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461947#M1929878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI I DEVELOPE SOME CODE REGARDING UR ISSUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAY BE IT WILL SUIT UR REQUIREMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT ZDEMO2.&lt;BR /&gt; &lt;BR /&gt; DATA:LS_SPELL &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;SPELL.&lt;BR /&gt; &lt;BR /&gt; DATA:LV_STR &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;STRING.&lt;BR /&gt; &lt;BR /&gt; DATA:LT_STR &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;STANDARD &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;STRING,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LS_STR &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;STRING.&lt;BR /&gt; &lt;BR /&gt; FIELD-SYMBOLS:&amp;lt;LS_STR&amp;gt; &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;ANY.&lt;BR /&gt; &lt;BR /&gt; DATA:LV_LINE &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;I.&lt;BR /&gt; &lt;BR /&gt; START-OF-SELECTION.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'SPELL_AMOUNT'&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AMOUNT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S32"&gt;510&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LANGUAGE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;= SY-LANGU&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IN_WORDS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = LS_SPELL&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXCEPTIONS&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; NOT_FOUND&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S32"&gt;1&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TOO_LARGE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L0S32"&gt;2&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;OTHERS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;= &lt;SPAN class="L0S32"&gt;3&amp;nbsp; &lt;/SPAN&gt;.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;TRANSLATE &lt;/SPAN&gt;LS_SPELL-WORD &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LOWER &lt;/SPAN&gt;CASE.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;SPLIT &lt;/SPAN&gt;LS_SPELL-WORD &lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;' ' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;LT_STR.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;LT_STR &lt;SPAN class="L0S52"&gt;ASSIGNING &lt;/SPAN&gt;&amp;lt;LS_STR&amp;gt;.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CLEAR &lt;/SPAN&gt;LV_STR.&lt;BR /&gt;&amp;nbsp; LV_STR = &amp;lt;LS_STR&amp;gt;+0(1).&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TRANSLATE &lt;/SPAN&gt;LV_STR &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;UPPER &lt;/SPAN&gt;CASE.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;LV_STR &amp;lt;LS_STR&amp;gt;+1 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&amp;lt;LS_STR&amp;gt;.&lt;BR /&gt; ENDLOOP.&lt;BR /&gt; &lt;BR /&gt; CLEAR:LV_STR,LV_LINE.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;LOOP &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;AT &lt;/SPAN&gt;LT_STR &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;LS_STR.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;LS_STR = &lt;SPAN class="L0S33"&gt;'Hundred'&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LV_LINE = SY-TABIX.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LV_LINE = LV_LINE + &lt;SPAN class="L0S32"&gt;1.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;READ &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE&amp;nbsp; &lt;/SPAN&gt;LT_STR &lt;SPAN class="L0S52"&gt;INDEX &lt;/SPAN&gt;LV_LINE &lt;SPAN class="L0S52"&gt;TRANSPORTING &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;NO &lt;/SPAN&gt;FIELDS.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;SY-SUBRC = &lt;SPAN class="L0S32"&gt;0.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;LV_STR LS_STR &lt;SPAN class="L0S33"&gt;' And ' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;LV_STR RESPECTING BLANKS.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;LV_STR LS_STR &lt;SPAN class="L0S33"&gt;' ' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;LV_STR RESPECTING BLANKS.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;BR /&gt;&amp;nbsp; ELSE.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;LV_STR LS_STR &lt;SPAN class="L0S33"&gt;' ' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;LV_STR RESPECTING BLANKS.&lt;BR /&gt;&amp;nbsp; ENDIF.&lt;BR /&gt; ENDLOOP.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CONCATENATE &lt;/SPAN&gt;LV_STR &lt;SPAN class="L0S33"&gt;' Only' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;LV_STR RESPECTING BLANKS.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;CONDENSE &lt;/SPAN&gt;LV_STR.&lt;BR /&gt; &lt;BR /&gt; &lt;SPAN class="L0S52"&gt;WRITE &lt;/SPAN&gt;LV_STR.&lt;BR /&gt; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 05:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461947#M1929878</guid>
      <dc:creator>former_member241258</dc:creator>
      <dc:date>2016-01-11T05:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for Amount in words for cheque Printing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461948#M1929879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Krishna,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much, its working exactly as I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Dhaval Raval&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 06:58:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-amount-in-words-for-cheque-printing/m-p/11461948#M1929879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-11T06:58:53Z</dc:date>
    </item>
  </channel>
</rss>

