<?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: SAP Script : Amount in Words in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396796#M192149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split the command at decimal and u can design ur code for 69/1000.for displaying 1000 u can use the fm 'SPELL_AMOUNT'.&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;TABLES SPELL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '1234510'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TITLE = 'SPELLING NUMBER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SPELL_AMOUNT USING PWRBTR PWAERS.&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    = PAMOUNT&lt;/P&gt;&lt;P&gt;            CURRENCY  = PWAERS&lt;/P&gt;&lt;P&gt;            FILLER    = SPACE&lt;/P&gt;&lt;P&gt;            LANGUAGE  = 'E'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            IN_WORDS  = T_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;ENDFORM.               &lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2006 17:59:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-21T17:59:45Z</dc:date>
    <item>
      <title>SAP Script : Amount in Words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396792#M192145</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;I am working on bank Check, I need to print the amount value in Words. Amount field  &amp;amp;REGUD-SWNES&amp;amp;, I need to print this amount in words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean to say that, regud-swnes = 1000.69, I have to print this as One Thousand and 69/100. please advice me, how Can I do that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanking you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with kind Regards&lt;/P&gt;&lt;P&gt;Venkat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 17:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396792#M192145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T17:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script : Amount in Words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396793#M192146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you can split it at the decimal point and pass the digits before the decimal to SPELL_AMOUNT and then decide how many digits are there after the decimal and then write it appropriately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Search regud-swnes for '.'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var1 = regud-swnes+0(sy-fdpos).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now call the spell amount for var1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var2 = regud-swnes+sy-fdpos(2).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you should be able write it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 17:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396793#M192146</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script : Amount in Words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396794#M192147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;  Split the amount in to two variable i.e, var1 and var2 at '.' and print the var1 using FM SPELL_AMOUNT and then display var2 according to your requirement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 17:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396794#M192147</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T17:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script : Amount in Words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396795#M192148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM spell_amount, this one exports structure SPELL in your case with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORD = One Thousand &lt;/P&gt;&lt;P&gt;DECWORD = sixty nine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 17:58:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396795#M192148</guid>
      <dc:creator>LucianoBentiveg</dc:creator>
      <dc:date>2006-06-21T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: SAP Script : Amount in Words</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396796#M192149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;split the command at decimal and u can design ur code for 69/1000.for displaying 1000 u can use the fm 'SPELL_AMOUNT'.&lt;/P&gt;&lt;P&gt;sample:&lt;/P&gt;&lt;P&gt;TABLES SPELL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : T_SPELL LIKE SPELL OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;DATA : PAMOUNT LIKE SPELL-NUMBER  VALUE '1234510'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-TITLE = 'SPELLING NUMBER'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM SPELL_AMOUNT USING PAMOUNT 'USD'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: 'NUMBERS', T_SPELL-WORD, 'DECIMALS ', T_SPELL-DECWORD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SPELL_AMOUNT USING PWRBTR PWAERS.&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    = PAMOUNT&lt;/P&gt;&lt;P&gt;            CURRENCY  = PWAERS&lt;/P&gt;&lt;P&gt;            FILLER    = SPACE&lt;/P&gt;&lt;P&gt;            LANGUAGE  = 'E'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            IN_WORDS  = T_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;ENDFORM.               &lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2006 17:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-amount-in-words/m-p/1396796#M192149</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-21T17:59:45Z</dc:date>
    </item>
  </channel>
</rss>

