Hello!
I use FUNCTION 'GUI_DOWNLOAD' for creating txt file. But this file is consist of head length 175 and body length 472.
I'm appending this two IT into DOWN.
DATA: BEGIN OF down OCCURS 0,
text type c length 472,
END OF down.
I also used
trunc_trailing_blanks = ' '
trunc_trailing_blanks_eol = ' '
because I want lines to be 472.
but the first line should be 175, instead of 472....hot to do that
Example:
IF p_down = 'X'.
CONCATENATE p_tmpdir d '.TXT' INTO file_gui.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = file_gui
trunc_trailing_blanks = ' '
trunc_trailing_blanks_eol = ' '
TABLES
data_tab = down
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
lp,
Nadja
Edited by: Nadja Susnjar on Jul 15, 2008 12:56 PM
Edited by: Nadja Susnjar on Jul 15, 2008 12:57 PM