<?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 currency in smartform in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220080#M767915</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;    In my smartform my currency is 329,543.000&lt;/P&gt;&lt;P&gt;And it is spelling it as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;three hundred twenty-nine thousand five hundred fourt-three and zero paise only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as it shouls spell it as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;three lakhs twenty nine thousand five hundred and fourty three only&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my coding is as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_rupees = spell-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_CESS_ADD_FINAL = ( v_second - '0' ) * 100.&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          = V_CESS_ADD_FINAL&lt;/P&gt;&lt;P&gt;CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;v_paise = spell-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_rupees is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_paise is not initial.&lt;/P&gt;&lt;P&gt;concatenate 'RUPEES' v_rupees 'AND' v_paise 'PAISE ONLY' into v_frupees&lt;/P&gt;&lt;P&gt;separated by space.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;concatenate 'RUPEES' v_rupees 'ONLY' into v_frupees separated by space.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jan 2008 08:51:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-10T08:51:29Z</dc:date>
    <item>
      <title>currency in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220080#M767915</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;    In my smartform my currency is 329,543.000&lt;/P&gt;&lt;P&gt;And it is spelling it as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;three hundred twenty-nine thousand five hundred fourt-three and zero paise only.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where as it shouls spell it as &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;three lakhs twenty nine thousand five hundred and fourty three only&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my coding is as below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_rupees = spell-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V_CESS_ADD_FINAL = ( v_second - '0' ) * 100.&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          = V_CESS_ADD_FINAL&lt;/P&gt;&lt;P&gt;CURRENCY        = 'INR'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILLER          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;&lt;/P&gt;&lt;P&gt;v_paise = spell-word.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_rupees is not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_paise is not initial.&lt;/P&gt;&lt;P&gt;concatenate 'RUPEES' v_rupees 'AND' v_paise 'PAISE ONLY' into v_frupees&lt;/P&gt;&lt;P&gt;separated by space.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;concatenate 'RUPEES' v_rupees 'ONLY' into v_frupees separated by space.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 08:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220080#M767915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T08:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: currency in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220081#M767916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;lalitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the word lakhs used by indians only, but other countries they use millions and billions so after thousands FM using millions and billions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so for u r purpose spell_amount fm is not useful.&lt;/P&gt;&lt;P&gt;try with other fm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Madhavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 08:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220081#M767916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T08:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: currency in smartform</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220082#M767917</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;   SPELL_AMOUNT FM will provide you the internationally accepted format.  Lakhs are not valid. cross check with your customer in what format they want.&lt;/P&gt;&lt;P&gt;No FM exist for the expected result.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2008 08:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/currency-in-smartform/m-p/3220082#M767917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-10T08:57:04Z</dc:date>
    </item>
  </channel>
</rss>

