on 08-19-2008 6:36 AM
Hi,
what is the fm to convert amount into words.
rgds,
khadeer.
hi Safiya,
Function module : Spell_amount
Example program for converting numbers into words.
Program name : RF_SPELL
With Regards
Always Learner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use any one of the function module basing on your requirment.
1) HR_IN_CHG_INR_WRDS --> spells amount in Lakhs, crores (for few asian countries)
2) SPELL_AMOUNT --> spells in Million and Billion
Close the thread once your question is answered.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this FM's,
'HR_IN_CHG_INR_WRDS'
DATA: w_amount(100) TYPE c.
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
amt_in_num = '23456.56'
IMPORTING
amt_in_words = w_amount.
WRITE:/ w_amount.
or
SPELL_AMOUNT'
DATA:
w_word LIKE spell.
* Convert numbers and figures in words
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = 1230
currency = ' '
filler = ' '
language = sy-langu
IMPORTING
in_words = w_word
EXCEPTIONS
not_found = 1
too_large = 2
OTHERS = 3.
WRITE: w_word-word.
Regards
Adil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the FM SPELL_AMOUNT.
This will convert amount in words.
Regards,
Jagadeesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
SPELL_AMOUNT
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SPELL_AMOUNT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
first u need to search on forums , if wont find any , then only start a new thread.
check FM SPELL_AMOUNT.
for IND.
HR_IN_CHG_INR_WRDS
regards
P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.