cancel
Showing results for 
Search instead for 
Did you mean: 

SapScripts

Former Member
0 Kudos

Hi all

I have issue in which i have to write Rs 100 in words in Sap script.

Please let me know how to do it.

Thanks in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member196280
Active Contributor
0 Kudos

You can use either one of the function modules...

SPELL_AMOUNT

or

HR_IN_CHG_INR_WRDS

Only difference between this function modules is spell_amount will display values in millions, billions etc

and HR_IN_CHG_INR_WRDS will display the amount description in Lakhs and Crores.

Close the thread once your question is answered.

Regards,

SaiRam

former_member181995
Active Contributor
0 Kudos

use ths FM

HR_IN_CHG_INR_WRDS

please do reward for motivation.

Amit.

Former Member
0 Kudos

Hi,

If Doc.Type = 'X'

*Rupees Hundred and Twenty Three Only

call function 'HR_IN_CHG_INR_WRDS'

exporting

amt_in_num = '100000'

importing

amt_in_words = words.

If Doc.TYpe = 'Y'

*USD Hundred and Twenty Three Only

CALL FUNCTION 'SPELL_AMOUNT'

EXPORTING

AMOUNT = v_int

LANGUAGE = SY-LANGU

IMPORTING

IN_WORDS = words

Regards,

Shiva.

Former Member
0 Kudos

hi,

do this way..

use FM SPELL_AMOUNT