on 05-29-2007 5:50 AM
hi sapiens,
I need a code or Fm to convert amount in numbers to words
eg) 1500 ---> one thousand and five hundred
Hi,
Use FM SPELL_AMOUNT
Pass the below value only
Import parameters Value
AMOUNT 1234
CURRENCY
FILLER
LANGUAGE EN
Export parameters Value
IN_WORDS 000000000001234000 0 ONE THOUSAND TWO HUNDRED THIRTY-FOUR
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for all ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
useFM,
SPELL_AMOUNT --> for display in millions
HR_IN_CHG_INR_WRDS --> for display in lakhs and crores
Reward points if useful.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
just execute this code..
data: words(50) type c.
call function 'HR_IN_CHG_INR_WRDS'
exporting
amt_in_num = '1500'
importing
amt_in_words = words.
write:/ words.
Rgds
Anversja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can even use <b>HR_IN_CHG_INR_WRDS</b>if the currency is in INR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FM : SPELL_AMOUNT will serve the purpose
Regards
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manikandan ,
use the FM SPELL_AMOUNT.
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
*---------------------------------------------------------------------*
* FORM SPELL_AMOUNT *
*---------------------------------------------------------------------*
form spell_amount using pwrbtr pwaers.
call function 'SPELL_AMOUNT'
exporting
amount = pamount
currency = pwaers
filler = space
language = 'E'
importing
in_words = t_spell
exceptions
not_found = 1
too_large = 2
others = 3.
endform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.