<?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: SPELL_AMOUNT not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449004#M1413407</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;The problem is not with WAERS it is with variables l_effective, W_T685T-kwert and amount, but you still need to debug to find where it is setting the incorrect number of decimals in the value.  This simplest way to start the debug (if this code is called from a smartform) is to set a break point. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to know generally how to debug ask an experienced colleague or search this forum and the internet in general for beginners guides. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2010 10:21:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-07T10:21:26Z</dc:date>
    <item>
      <title>SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448984#M1413387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi frends, in our import PO the PO amount is nt converted correctly to the words. For e.g : $ 4340.91&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is reading as &lt;STRONG&gt;"US DOLLAR four thousnad three hundered forty and nine thousand one hundered cents only "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code in the smartforms is ok :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;clear : W_T685T.

*data :l_effective like komv-kwert.
clear : l_effective.


loop at IT_T685T into W_T685T.
l_effective = l_effective + W_T685T-kwert.
endloop.

data : amount type P DECIMALS 4.
amount = l_effective.

if ZXEKKO-waers = 'INR'.


    CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
      EXPORTING
        AMT_IN_NUM         = amount
      IMPORTING
        AMT_IN_WORDS       = in_words-word
      EXCEPTIONS
        DATA_TYPE_MISMATCH = 1
        OTHERS             = 2.

*increased length from 9 to 10


CALL FUNCTION 'ZMMF_HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM         = amount
IMPORTING
AMT_IN_WORDS       = in_words-word
EXCEPTIONS
DATA_TYPE_MISMATCH = 1
OTHERS             = 2.
*end


else.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT    = amount
CURRENCY  = ZXEKKO-waers
LANGUAGE  = SY-LANGU
IMPORTING
IN_WORDS  = in_words
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS    = 3.
endif.

select single * from TCURT into wa_tcurt where spras = sy-langu and WAERS =
ZXEKKO-waers.
condense in_words-word.
condense in_words-decword.

if ZXEKKO-waers &amp;lt;&amp;gt; 'INR'.
translate in_words-word to lower case.
translate in_words-decword to lower case.
translate in_words-word(1) to upper case.
concatenate wa_tcurt-ktext in_words-word 'and' in_words-decword 'only'
into in_words-word
separated by space.
find substring 'cents' in in_words-word.
if sy-subrc = 0.
replace substring 'cents' in in_words-word with space.
endif.

find substring 'only' in in_words-word.
if sy-subrc = 0.
replace substring 'only' in in_words-word with space.
endif.

concatenate in_words-word 'cents' 'only'
into in_words-word
separated by space.


else.
find substring 'Paise' in in_words-word.
if sy-subrc = 0.
replace substring 'Rupees' in in_words-word with 'and'.
else.
replace substring 'Rupees' in in_words-word with space.
endif.
translate in_words-word to lower case.
translate in_words-word+0(1) to upper case.
concatenate 'Rupees' in_words-word 'only' into in_words-word separated
by space.

endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz help!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 11:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448984#M1413387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-04T11:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448985#M1413388</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;The problem is with your definition of the variable amount.  You've defined it as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : amount type P DECIMALS 4.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which means what you're actually passing to SPELL_AMOUNT is $ 4340.9100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2010 12:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448985#M1413388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-04T12:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448986#M1413389</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;Declare &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

data : amount type P DECIMALS 2.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this resolves your issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 03:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448986#M1413389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T03:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448987#M1413390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harsh thnx for help dear.But frend i hav already tried it. when i changed decimal 4 to 2 then the output for the same amount became :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*"US DOLLAR Forty three and four thousand ninety one cents only"*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 05:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448987#M1413390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T05:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448988#M1413391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;USe this  HR_IN_CHG_INR_WRDS replace rupees with dollars and Paise with cents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 06:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448988#M1413391</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T06:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448989#M1413392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;where to replace rupee with dollars and paise with cents....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; Plz elaborate ur answer I am just a beginner for ABAP&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 06:37:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448989#M1413392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T06:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448990#M1413393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have a look into the code of  ABAP report RF_SPELL &lt;/P&gt;&lt;P&gt;you can execute it, it is a test program. &lt;/P&gt;&lt;P&gt;the write statements give you exact what you want, of course with 2 decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so you only need to add your Dollar and Cent words&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 08:59:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448990#M1413393</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2010-01-05T08:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448991#M1413394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx frend , i have tried it but that report is reading it as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FOUR THOUSAND THREE HUNDRED FORTY

NINE THOUSAND ONE HUNDRED&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 10:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448991#M1413394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448992#M1413395</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;Having changed your code to define the amount variable as DEC 2 you need to debug the call of the function module SPELL_AMOUNT.  If you are getting 'Forty three and four thousand ninety one cents' back then you are now most likely passing 43.4091 to the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is with the definition of the variables l_effective, W_T685T-kwert and amount.  Debug the code that adds W_T685T-kwert to l_effective then moves it to amount, check the values to determine where the decimal places are being moved and change the definition of the variables to make this work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:16:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448992#M1413395</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448993#M1413396</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;You can  just use FM SPELL_AMOUNT, pass the amount and use the output WORD and DECWORD of IN_WORDS structure to build your amount in words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you pass your amount of $4340.91, you will get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WORD - FOUR THOUSAND THREE HUNDRED FORTY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DECWORD- NINETY-ONE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use: concatenate 'US Dollars'  WORD 'Cents' DECWORD separated by space into lf_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 11:22:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448993#M1413396</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T11:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448994#M1413397</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; thnx frend , i have tried it but that report is reading it as :&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt;  &lt;/P&gt;&lt;/CODE&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;CODE&gt;FOUR THOUSAND THREE HUNDRED FORTY
&amp;gt; 
&amp;gt; NINE THOUSAND ONE HUNDRED&lt;/CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you get this nonsense because  you submitted this: 4340.9100 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I said you have to use 2 decimals: 4340.91&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 12:13:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448994#M1413397</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2010-01-05T12:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448995#M1413398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Hi harsh thnx for help dear.But frend i hav already tried it. when i changed decimal 4 to 2 then the output for the same amount became :


*"US DOLLAR Forty three and four thousand ninety one cents only"*&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have already tried the case......but its nt working...&lt;STRONG&gt;also i have already specified that i have tried for 2 instad of 4 but it is not working.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 12:19:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448995#M1413398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-05T12:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448996#M1413399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if that is the case, then this sample program from SAP must be wrong in your system. In that case you should open an incident at SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But try it again.&lt;/P&gt;&lt;P&gt;I'll gibe you what I enter and what I receive&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i enter:&lt;/P&gt;&lt;P&gt;keep your attention to the decimal notation, because we in Germany use the comma to seperate the decimals. (maybe this is causing your problem)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Langugae                         EN
Currency                         USD
Amount                                               4.340,91
Filler
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;I get:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
              4.340,91  USD


ZERO   ZERO   ZERO   ZERO   ZERO   ZERO   ZERO   ZERO
ZERO   ZERO   ZERO   FOUR   THREE  FOUR   ZERO


FOUR THOUSAND THREE HUNDRED FORTY

NINETY-ONE


000000000004340 910
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here you just need to concatenate the field that holds "FOUR THOUSAND THREE HUNDRED FORTY "  with dollar and the  field that has "NINETY-ONE " with cent.&lt;/P&gt;&lt;P&gt;to get it into the form you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2010 13:09:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448996#M1413399</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2010-01-05T13:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448997#M1413400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thnx frend, it may be the problem.but when i tried the hard core value the i t is giving runtime error.&lt;/P&gt;&lt;P&gt;what i had one is that passed the value as you specified that is with comma.Then obvious runtime error occured &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" Unable to interpret "4.340,91" as a number."&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 06:33:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448997#M1413400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-06T06:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448998#M1413401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just to be able to try it with 4.340,91 you can exchange the decimal format in your user setting in SU3 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you keep your user setting as is, then you have to enter 4,340.91 &lt;/P&gt;&lt;P&gt;and you should get the same result as I got, otherwise it is really an error in the program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jan 2010 08:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448998#M1413401</guid>
      <dc:creator>JL23</dc:creator>
      <dc:date>2010-01-06T08:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448999#M1413402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;use FM HR_IN_CHG_INR_WRDS  if u give input 4340.91 &lt;/P&gt;&lt;P&gt;u will get FOUR THOUSAND THREE HUNDRED FORTY Rupees NINETY ONE Paise&lt;/P&gt;&lt;P&gt;in this &lt;/P&gt;&lt;P&gt;replace all occurances of 'Rupees' with dollars.&lt;/P&gt;&lt;P&gt;replace all occurances of 'paise' with cents.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 08:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6448999#M1413402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449000#M1413403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hey man....thois would be true for amount in thousands only.....when i will increase the amount then it would convert it in indian format not in the format for reading US Dollars&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 08:38:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449000#M1413403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T08:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449001#M1413404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;use spell_amount FM in this following way.&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;data lv_words(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          =  '4340.91' &lt;/P&gt;&lt;P&gt;   CURRENCY        = ' USD' &lt;/P&gt;&lt;P&gt;   LANGUAGE        = SY-LANGU&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;   IN_WORDS        =wa_amt.&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;CONCATENATE  wa_amt-words 'DOLLARS' wa_amt-decword 'Cents' INto lv_words seprated by space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 09:31:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449001#M1413404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T09:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449002#M1413405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;see ZXEKKO-waers data in debugging mode. It should have value if the value is blank then u will get the problem you said .is shd not be blank at any time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working fine for me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 09:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449002#M1413405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T09:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPELL_AMOUNT not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449003#M1413406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friend how to use the debug mode.I am just a beginner.I have tried using smartform_trace but getting nothing usefull.Plz help me if i wanna check the value of ZXEKKO-waers in debug mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2010 10:14:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/spell-amount-not-working/m-p/6449003#M1413406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-07T10:14:47Z</dc:date>
    </item>
  </channel>
</rss>

