Code: Alles auswählen.
try.
cl_bcs_convert=>string_to_solix(
exporting
iv_string = lv_string
iv_codepage = '4103' "suitable for MS Excel, leave empty
iv_add_bom = 'X' "for other doc types
importing
et_solix = binary_content
ev_size = size1 ).
catch cx_bcs.
message e445(so).
endtry.
* Aufruf über:
bin_filesize = size1.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = temppfad
filetype = 'BIN'
bin_filesize = bin_filesize
TABLES
data_tab = binary_content