cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert the US currency amount in number to words.

Former Member
0 Kudos

Hi Experts,

I want to print the amount i have dollars into words like US amount $59182.80 to USD fifty nine thousand one hundred eighty two and cents eighty only.

Reply ASAP.

Thanks in advace,

Abhishek Pandey.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can try with these Function Modules

HR_IN_CHG_INR_WRDS

SPELL_AMOUNT


data: words type spell.
call function 'SPELL_AMOUNT'
exporting
amount = '100000'

CURRENCY = ' ' 
FILLER = ' ' 
LANGUAGE = SY-LANGU 
importing
in_words = words.
if words-word = 'ONE HUNDRED THOUSAND'.
words-word = '1 LAKH'.
endif.
write:/ words-word. 

/community [original link is broken]

Reward if usefull

Former Member
0 Kudos

Hi Sravan,

I can change the amount in words but how to get the value like if this amount is dollars 59182.80 than how can i get the amounts in words like " USD fifty nine thousand one hundred eighty tow and cents eighty".

Pls help

Thanks in advance,

Abhishek Pandey.

Former Member
0 Kudos

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

LANGUAGE = SY-LANGU

CURRENCY = T001-WAERS "USD

AMOUNT ='59182.80 '

FILLER = SPACE

IMPORTING

IN_WORDS = SPELL

EXCEPTIONS

NOT_FOUND = 1

TOO_LARGE = 2.

Check the structure of IN_WORDS in SPELL_AMOUNT fm.

Decimal value words are displayed in

IN_WORDS-DECWORD.

Reward points if useful.

Answers (0)