Skip to Content
avatar image
Former Member

Amount conversion in smartform

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 29, 2010 at 09:29 AM

    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

    .

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 29, 2010 at 08:59 AM

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

    Add comment
    10|10000 characters needed characters exceeded