2008 Apr 15 3:41 PM
Hi,
I'm using GUI_DOWNLOAD with parameter FILETYPE = BIN and I use the carriage_return with class cl_abap_char_utilities=>cr_lf, the file downloaded on the presentation server is in the format:
0 0 0 1 0 0 9 1 1 9 P E R R I G I A N C A R L O
Only charachter separeted with space. WHY????
The table Statement that transfer to FM is:
data: begin of send_table occurs 1000,
line(1022) type c,
end of send_table.
Thanks
2008 Apr 15 4:43 PM
Try this way
loop at send_table.
concatenate send_table-line space into send_table-line
separated by cl_abap_char_utilities=>cr_lf.
modify send_table.
endloop.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'BIN'
" commend this line
"* write_field_separator = cl_abap_char_utilities=>cr_lf
TABLES
data_tab = send_table.
a®
2008 Apr 15 4:43 PM
Try this way
loop at send_table.
concatenate send_table-line space into send_table-line
separated by cl_abap_char_utilities=>cr_lf.
modify send_table.
endloop.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = p_file
filetype = 'BIN'
" commend this line
"* write_field_separator = cl_abap_char_utilities=>cr_lf
TABLES
data_tab = send_table.
a®
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |