Skip to Content
0
Former Member
Feb 25, 2009 at 07:01 AM

GUI_DOWNLOAD problem

56 Views

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