2009 Feb 25 7:01 AM
Hi experts,
i met a weird problem: i need to download some data to local file. the file line length is 401, so i used GUI_DOWNLOAD and it worked fine in the past. and now, i change the line length to 512, other parameters not changed. the download file is encoding in a mess. i change file type from 'ASC' to 'DAT', but error remains. if i comment the third parameter 'trunc_trailing_blanks_eol', the output file encoding fine but the blank space for the last column is removed(which those space should be keeped).
who can help me?
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'D:\file.txt'
filetype = 'DAT' "'ASC'
trunc_trailing_blanks_eol = ' ' "keep blank space for last column
TABLES
data_tab = i_data
2009 Mar 02 9:13 AM
2009 Feb 25 7:39 AM
2009 Mar 02 9:03 AM
failed. if define it as string, the trailing blanks will be removed automatically!
2009 Mar 02 9:13 AM
2009 Mar 02 9:15 AM
>
> i met a weird problem: i need to download some data to local file. the file line length is 401, so i used GUI_DOWNLOAD and it worked fine in the past. and now, i change the line length to 512, other parameters not changed. the download file is encoding in a mess. i change file type from 'ASC' to 'DAT', but error remains.
Hello Wei,
What do you mean by "file line length"? If you have the file line length you can try dwonloading using 'BIN' file type.
Why are you using "DAT" file-type?
BR,
Suhas
2009 Mar 02 9:17 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |