11-22-2007 4:00 AM
hi friends,
can any one tell from which function module we can convert amount in figures into words.
input -> 50,000
output -> fifty thousands
plz. help.
it's urgent
11-22-2007 4:02 AM
11-22-2007 4:07 AM
Hi,
check the below function modules
This would be use full to you
HR_IN_CHG_INR_WRDS
SPELL_AMOUNT
Regards,
Siva chalasani.
<b>Reward points if usefull.</b>
11-22-2007 4:47 AM
The Function Module 'SPELL_AMOUNT' is used to Spell out the numbers.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = 0
CURRENCY = ' '
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS =
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Rewards if useful.
11-22-2007 4:52 AM
11-22-2007 5:01 AM
HI
use SPELL_AMOUNT
data: words type spell.
call function 'SPELL_AMOUNT'
exporting
amount = '100000'
* CURRENCY = ' '
* FILLER = ' '
* LANGUAGE = SY-LANGU
importing
in_words = words.
if words-word = 'ONE HUNDRED THOUSAND'.
words-word = '1 LAKH'.
endif.
write:/ words-word.
/community [original link is broken]
<b>Reward if usefull</b>
11-22-2007 5:04 AM
Hi,
use function module spell_amount in this way..
Are u asurosh from Raigarh....
Message was edited by:
Gagan Choudha
11-22-2007 5:04 AM
hi,
use the function module spell_amount
it will convert amount into words.
Reward with points if helpful.