1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
DATA lt_xstring TYPE STANDARD TABLE OF solix. DATA lv_output_length TYPE i. CALL FUNCTION 'SCMS_XSTRING_TO_BINARY' EXPORTING buffer = lv_rawdata IMPORTING output_length = lv_output_length TABLES binary_tab = lt_xstring. cl_gui_frontend_services=>gui_download( EXPORTING bin_filesize = lv_output_length filename = 'test.xlsx' filetype = 'BIN' CHANGING data_tab = lt_xstring EXCEPTIONS OTHERS = 24 ). |