2007 Mar 20 11:48 AM
hi everybody!
i need to convert integer into string .
if i am giving input 18 has integer , it has to display eighteen in output has a character. is there any possible to do...
hi everybody!
i need to convert integer into string .
if i am giving input 18 has integer , it has to display eighteen in output has a character. is there any possible to do...
2007 Mar 20 11:49 AM
Hi!
There are many ways to it:
MOVE int TO string.
WRITE int TO string.
For alphabetic numbers, try the follwoing function module:
clear: word, decword.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
LANGUAGE = 'H'
CURRENCY = MHND-WAERS
AMOUNT = MHND-WRSHB
FILLER = '' "FILLER
IMPORTING
IN_WORDS = SPELL.
word = spell-word.
decword = spell-decword.
Regards
Tamás
Message was edited by:
Tamás Nyisztor
2007 Mar 20 11:51 AM
2007 Mar 20 11:57 AM
Hi Vikram,
u can directly assign it
try the code given below.
Report abcd.
data : str type string value 'abcdefghij',
int(10) type i value '1234567890'.
str = int.
write : / str.
Rgds,
Prajith
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |