diff --git a/ZA2X/PROG/ZDEMO_EXCEL.slnk b/ZA2X/PROG/ZDEMO_EXCEL.slnk index 3cfb2a0..feb6ace 100644 --- a/ZA2X/PROG/ZDEMO_EXCEL.slnk +++ b/ZA2X/PROG/ZDEMO_EXCEL.slnk @@ -1,5 +1,5 @@ - + @@ -67,6 +67,8 @@ START-OF-SELECTION. " SUBMIT zdemo_excel29 WITH p_path = p_path AND RETURN. " abap2xlsx Demo: Macro enabled workbook SUBMIT zdemo_excel30 WITH p_path = p_path AND RETURN. " abap2xlsx Demo: ABAP Cell data types SUBMIT zdemo_excel31 WITH p_path = p_path AND RETURN. " abap2xlsx Demo: Autosize Column with different Font sizes + " zdemo_excel32 is not added because it uses ALV and cannot be processed (Native) + SUBMIT zdemo_excel33 WITH p_path = p_path AND RETURN. " abap2xlsx Demo: Table autofilter " " Reader/Writer Demo must always run at the end " to make sure all documents where created diff --git a/ZA2X/PROG/ZDEMO_EXCEL32.slnk b/ZA2X/PROG/ZDEMO_EXCEL32.slnk index 56ce3c1..b84a7ff 100644 --- a/ZA2X/PROG/ZDEMO_EXCEL32.slnk +++ b/ZA2X/PROG/ZDEMO_EXCEL32.slnk @@ -1,5 +1,5 @@ - + @@ -381,7 +381,8 @@ DATA: l_path TYPE string, " local dir lv_file_separator TYPE c. CONSTANTS: - lv_default_file_name TYPE string VALUE '32_Export_ALV.xlsx'. + lv_default_file_name TYPE string VALUE '32_Export_ALV.xlsx', + lv_default_file_name2 TYPE string VALUE '32_Export_Convert.xlsx'. *--------------------------------------------------------------------* *START-OF-SELECTION *--------------------------------------------------------------------* @@ -449,18 +450,19 @@ FORM user_command . cl_gui_frontend_services=>get_file_separator( CHANGING file_separator = lv_file_separator ). - CONCATENATE l_path lv_file_separator lv_default_file_name - INTO l_path. +* export file to save file path CASE sy-ucomm. WHEN 'EXCELBIND'. -* export file to save file path - + CONCATENATE l_path lv_file_separator lv_default_file_name + INTO l_path. PERFORM export_to_excel_bind. WHEN 'EXCELCONV'. + CONCATENATE l_path lv_file_separator lv_default_file_name2 + INTO l_path. PERFORM export_to_excel_conv. ENDCASE.