cancel
Showing results for 
Search instead for 
Did you mean: 

Amount conversion in smartform

Former Member
0 Kudos

HI all,

I have an amount of 1,80,000 as total amount in the smartform . I called a function module to display the amount in words ,but its showing as one hundred and eighty thousand and zero.

How to display it as one lakh and eighty thousand and zero in the smartform?

Do we have to do any changes in the called function module?

In my profile its been defined as 1,000,00 but still am not getting.

Thx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Remove Spell amount and use this

CALL FUNCTION 'HR_IN_CHG_INR_WRDS'

EXPORTING

AMT_IN_NUM = G_TOTAL1

IMPORTING

AMT_IN_WORDS = G_GRNDTOT_WORDS

EXCEPTIONS

DATA_TYPE_MISMATCH = 1

OTHERS = 2

.

Former Member
0 Kudos

Hi Amit ,

Thankx yar my problem solved and sorry for delay in assigning points.

Answers (1)

Answers (1)

amit_khare
Active Contributor
0 Kudos

Use this FM - HR_IN_CHG_INR_WRDS but remove Commas befor epassing the value.

Former Member
0 Kudos

Hi Amit,

Thx for quick response,

Do I have to call this before the SPELL_AMOUNT FM.