From 783503318402118bb04ea1a04e35047923a7fb1d Mon Sep 17 00:00:00 2001 From: Alessandro Iannacci Date: Fri, 2 Sep 2016 15:20:25 +0200 Subject: [PATCH] Revert "Add files via upload" --- build/ABAP2XLSX_V_7_0_6 - 2016-04-01.nugg | 94 ++++------------------- 1 file changed, 13 insertions(+), 81 deletions(-) diff --git a/build/ABAP2XLSX_V_7_0_6 - 2016-04-01.nugg b/build/ABAP2XLSX_V_7_0_6 - 2016-04-01.nugg index 8e9ac38..88e9dfc 100644 --- a/build/ABAP2XLSX_V_7_0_6 - 2016-04-01.nugg +++ b/build/ABAP2XLSX_V_7_0_6 - 2016-04-01.nugg @@ -4442,13 +4442,11 @@ endmethod. endmethod. - method OPEN_FILE. data: l_bytecount type i, lt_file type solix_tab, l_dir type string, - l_sep type c, - lv_errormessage type string. + l_sep type c. field-symbols: <fs_data> type any table. @@ -4465,39 +4463,7 @@ endmethod. cl_gui_frontend_services=>gui_download( exporting bin_filesize = l_bytecount filename = l_dir filetype = 'BIN' - changing data_tab = lt_file - exceptions file_write_error = 1 - no_batch = 2 - gui_refuse_filetransfer = 3 - invalid_type = 4 - no_authority = 5 - unknown_error = 6 - header_not_allowed = 7 - separator_not_allowed = 8 - filesize_not_allowed = 9 - header_too_long = 10 - dp_error_create = 11 - dp_error_send = 12 - dp_error_write = 13 - unknown_dp_error = 14 - access_denied = 15 - dp_out_of_memory = 16 - disk_full = 17 - dp_timeout = 18 - file_not_found = 19 - dataprovider_exception = 20 - control_flush_error = 21 - not_supported_by_gui = 22 - error_no_gui = 23 - others = 24 ). - if sy-subrc <> 0. - lv_errormessage = 'A problem occurred when writing the file'(004). - raise exception tpye zcx_excel - exporting - error = lv_errormessage. - endif. - - + changing data_tab = lt_file ). cl_gui_frontend_services=>execute( exporting document = l_dir @@ -4634,12 +4600,10 @@ endmethod. - method WRITE_FILE. data: l_bytecount type i, lt_file type solix_tab, - l_dir type string, - lv_errormessage type string. + l_dir type string. field-symbols: <fs_data> type any table. @@ -4658,37 +4622,7 @@ endmethod. cl_gui_frontend_services=>gui_download( exporting bin_filesize = l_bytecount filename = l_dir filetype = 'BIN' - changing data_tab = lt_file - exceptions file_write_error = 1 - no_batch = 2 - gui_refuse_filetransfer = 3 - invalid_type = 4 - no_authority = 5 - unknown_error = 6 - header_not_allowed = 7 - separator_not_allowed = 8 - filesize_not_allowed = 9 - header_too_long = 10 - dp_error_create = 11 - dp_error_send = 12 - dp_error_write = 13 - unknown_dp_error = 14 - access_denied = 15 - dp_out_of_memory = 16 - disk_full = 17 - dp_timeout = 18 - file_not_found = 19 - dataprovider_exception = 20 - control_flush_error = 21 - not_supported_by_gui = 22 - error_no_gui = 23 - others = 24 ). - if sy-subrc <> 0. - lv_errormessage = 'A problem occurred when writing the file'(004). - raise exception tpye zcx_excel - exporting - error = lv_errormessage. - endif. + changing data_tab = lt_file ). endif. endmethod. @@ -11468,10 +11402,9 @@ endclass. *"* in the implementation part of the class - + - @@ -14963,7 +14896,6 @@ ENDMETHOD. - METHOD read_from_applserver. DATA: lv_filelength TYPE i, @@ -14979,7 +14911,7 @@ ENDMETHOD. DESCRIBE FIELD ls_binary_data LENGTH lv_max_length_line IN BYTE MODE. OPEN DATASET lv_filename FOR INPUT IN BINARY MODE. IF sy-subrc <> 0. - lv_errormessage = 'A problem occurred when reading the file'(001). + lv_errormessage = 'A problem occured when reading the file'(001). RAISE EXCEPTION TYPE zcx_excel EXPORTING error = lv_errormessage. @@ -15046,7 +14978,7 @@ ENDMETHOD. error_no_gui = 18 OTHERS = 19 ). IF sy-subrc <> 0. - lv_errormessage = 'A problem occurred when reading the file'(001). + lv_errormessage = 'A problem occured when reading the file'(001). RAISE EXCEPTION TYPE zcx_excel EXPORTING error = lv_errormessage. @@ -17403,7 +17335,7 @@ ENDCLASS. "lcl_gui_alv_grid DEFINITION method ZIF_EXCEL_SHEET_PRINTSETTINGS~SET_PRINT_REPEAT_COLUMNS. *--------------------------------------------------------------------* * issue#235 - repeat rows/columns -* - Stefan Schmoecker, 2012-12-02 +* - Stefan Schmöcker, 2012-12-02 *--------------------------------------------------------------------* DATA: lv_col_from_int TYPE i, @@ -17452,7 +17384,7 @@ ENDCLASS. "lcl_gui_alv_grid DEFINITION method ZIF_EXCEL_SHEET_PRINTSETTINGS~SET_PRINT_REPEAT_ROWS. *--------------------------------------------------------------------* * issue#235 - repeat rows/columns -* - Stefan Schmoecker, 2012-12-02 +* - Stefan Schmöcker, 2012-12-02 *--------------------------------------------------------------------* DATA: lv_errormessage TYPE string. @@ -19722,7 +19654,7 @@ ENDCLASS. "lcl_gui_alv_grid DEFINITION method BIND_TABLE. *--------------------------------------------------------------------* * issue #230 - Pimp my Code -* - Stefan Schmoecker, (wi p) 2012-12-01 +* - Stefan Schmöcker, (wi p) 2012-12-01 * - ... * aligning code * message made to support multilinguality @@ -20352,7 +20284,7 @@ ENDMETHOD. * ). * " For an easy start we just take the number of characters as the width * width = strlen( cell_value ). -* " Addition to solve issue #120, contribution by Stefan Schmoecker +* " Addition to solve issue #120, contribution by Stefan Schmöcker * " Calculate width using Font Size and Font Type * IF cell_style IS BOUND * AND cell_style->font IS BOUND. @@ -20999,7 +20931,7 @@ ENDMETHOD. ep_guid = ls_sheet_content-cell_style. " issue 139 - added this to be used for columnwidth calculation ep_formula = ls_sheet_content-cell_formula. - " Addition to solve issue #120, contribution by Stefan Schmoecker + " Addition to solve issue #120, contribution by Stefan Schmöcker DATA: style_iterator TYPE REF TO cl_object_collection_iterator, style TYPE REF TO zcl_excel_style. IF ep_style IS REQUESTED. @@ -21605,7 +21537,7 @@ ENDMETHOD. * Begin of change issue #152 - don't touch exisiting style if only value is passed * lv_style_guid = ip_style. lv_column = zcl_excel_common=>convert_column2int( ip_column ). - READ TABLE sheet_content ASSIGNING <fs_sheet_content> WITH TABLE KEY cell_row = ip_row " Changed to access via table key , Stefan Schmoecker, 2013-08-03 + READ TABLE sheet_content ASSIGNING <fs_sheet_content> WITH TABLE KEY cell_row = ip_row " Changed to access via table key , Stefan Schmöcker, 2013-08-03 cell_column = lv_column. IF sy-subrc = 0. IF ip_style IS INITIAL.