2006 Oct 18 5:45 AM
Hi,
How can i convert number(ex 12,50) to words(ex twelve hndred and fifty).
what function moule an i use?? or there be any other idea on this..
thanks in advace
Hi,
How can i convert number(ex 12,50) to words(ex twelve hndred and fifty).
what function moule an i use?? or there be any other idea on this..
thanks in advace
2006 Oct 18 5:53 AM
check FM SPELL_AMOUNT or HR_IN_CHG_INR_WRDS
call function 'SPELL_AMOUNT'
exporting
amount = w_amt1
currency = 'INR'
language = sy-langu
importing
in_words = w_spellwords
.
regards
Prabhu
2006 Oct 18 6:17 AM
You can use FM SPELL_AMOUNT.
Best Regards,
Vibha
*Please mark all the helpful answers
2006 Oct 18 6:20 AM
2006 Oct 18 7:03 AM
hi
good
i dont think there is any function module which ll conver the number in to the word, for that you have to write the logic
store the whole number in a variable and use the SPLIT statement to split the number accordingly.
Take the variable and store hundred and thousand,
while you concatenate the whole as per the number concatenate hundred and thousand accordingly.
thanks
mrutyun^
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |