‎2016 Feb 26 9:17 AM
Hi Expert,
I was facing problem in getting amount in words.
It was getting truncated due to itcvl-val (80) in standard.
So we had split the variable and then concatenate that thing. but now this is working for 'INR' currency. For USD currency its coming as zero.
Can help me on this.
Regards
Swapnil
‎2016 Feb 26 9:33 AM
Are you using SPELL_AMOUNT in your driver program?
Make sure you specify the currency and language parameter.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = AMOUNT
CURRENCY = WAERS
FILLER = SPACE
LANGUAGE = 'E'
IMPORTING
IN_WORDS = T_SPELL_AMOUNT
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
‎2016 Feb 26 9:19 AM
‎2016 Feb 26 9:33 AM
Are you using SPELL_AMOUNT in your driver program?
Make sure you specify the currency and language parameter.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = AMOUNT
CURRENCY = WAERS
FILLER = SPACE
LANGUAGE = 'E'
IMPORTING
IN_WORDS = T_SPELL_AMOUNT
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
‎2016 Feb 26 9:39 AM