cancel
Showing results for 
Search instead for 
Did you mean: 

SAPSCRIPT - Formatting the amount in words

Former Member
0 Kudos

Hi ,

The amount in words is displayed

eg : 1000,000

as ONE MILLION.

but i need the amount in words as TEN LAKHS.

i.e., in Indian Formats.

Help me to solve this.

Thanks.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi,

You can check the table TO15Z which is being used by the FM spell_amount.

You can ask the bassis team to maintained this table in other languages you required, and then in the FM spell_amount you need to use the language key.

Regards,

Zaheed

Former Member
0 Kudos

Amount in Letters : spell_amount

1) You can enter values upto 999 trillion ie it can accept upto 15 digits.

2) Upto this range it will converts into number into words.

3) To know more about this just check table TO15Z which actually converts numbers into words.

Regards

Former Member
0 Kudos

Hi,

The FM <b>HR_IN_CHG_INR_WRDS</b> will meet your requirement.

This functon module is for INR only. So you must check the currency before using this FM. If the currency is not INR use the FM <b>SPELL_AMOUNT</b>

Regards,

Roshan

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

Try spell_amount function module.

Check this link for sample code.

http://www.sap-img.com/fu001.htm

Former Member
0 Kudos

use spell_amount

Former Member
0 Kudos

use FM <b>HR_IN_CHG_INR_WRDS</b>


data: words(50) type c.

call function 'HR_IN_CHG_INR_WRDS'
exporting
amt_in_num = '100000'
importing
amt_in_words = words.

regards,

santosh