‎2006 Jan 21 10:22 AM
hello.
i use this function to download an internal table to local file,then the charactor type fields was shorted ,for example :in internal table ,a field value is '00AA',when i use this function downloading to local file,it is '00A' in local file.
what's wrong about it?
example code:
call function 'WS_DOWNLOAD'
exporting
CODEPAGE = 'IBM'
filename = 'c:\itab.dat'
filetype = 'DAT'
tables
data_tab = itab0.
thanks.
‎2006 Jan 21 10:28 AM
Hi,
1. First check the internal table field length is sufficient to hold the complete value.
2. Check the FM by changing like this..
call function 'WS_DOWNLOAD'
exporting
CODEPAGE = 'IBM'
filename = 'c:\itab.dat'
filetype = 'ASC'
tables
data_tab = itab0.
3.If the bove doesn't work then try below..
call function 'WS_DOWNLOAD'
exporting
CODEPAGE = 'IBM'
filename = 'c:\itab.txt'
filetype = 'DAT'
tables
data_tab = itab0.
Thanks,
Ramakrishna
Message was edited by: Ramakrishna Prasad
‎2006 Jan 21 10:35 AM
‎2006 Jan 21 10:45 AM
thank you ,Amit .i use your method and it works .my problem is solved .
‎2006 Jan 21 10:49 AM
why can't i roward ? it comes an error:"Rewarding the message failed."
‎2006 Jan 24 5:21 AM
Hi,
1. The points system is working now.
U may pls award points
to helpful answers !
regards,
amit m.