2006 Dec 14 1:16 PM
Hi ,
is thre any Function module which converts amunt and numbers to text.
e.g 1-one
Regards
Saurabh
2006 Dec 14 1:36 PM
Hi Saurabh,
Check the function module <b>SPELL_AMOUNT</b>.
TABLES: SPELL,PAYR.
DATA: WORDS LIKE SPELL.
DATA: NUMBER LIKE PAYR-RWBTR.
start-of-selection.
NUMBER = '1'.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = NUMBER
CURRENCY = 'INR'
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = WORDS
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
write: / words-word. -> It will display as ONE
Thanks,
Vinay
Hi ,
is thre any Function module which converts amunt and numbers to text.
e.g 1-one
Regards
Saurabh
2006 Dec 14 1:17 PM
chk this SPELL_AMOUNT
chk this program RF_SPELL
Message was edited by:
Chandrasekhar Jagarlamudi
2006 Dec 14 1:36 PM
Hi Saurabh,
Check the function module <b>SPELL_AMOUNT</b>.
TABLES: SPELL,PAYR.
DATA: WORDS LIKE SPELL.
DATA: NUMBER LIKE PAYR-RWBTR.
start-of-selection.
NUMBER = '1'.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = NUMBER
CURRENCY = 'INR'
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = WORDS
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3.
write: / words-word. -> It will display as ONE
Thanks,
Vinay
2006 Dec 14 1:41 PM
Hi,
use this.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
amount = amount
currency = 'INR'
filler = ' '
language = 'E'
IMPORTING
in_words = amountrs.
Regards,
Kumar
2011 Jul 28 7:48 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |