mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 14:06:24 +08:00
remove TRY without CATCH
This commit is contained in:
parent
b6d536d34e
commit
a3509f1d48
|
@ -499,10 +499,8 @@ method CONVERT.
|
|||
ws_option = is_option.
|
||||
ENDIF.
|
||||
|
||||
TRY.
|
||||
execute_converter( EXPORTING io_object = io_alv
|
||||
it_table = it_table ) .
|
||||
ENDTRY.
|
||||
|
||||
IF io_worksheet IS SUPPLIED AND io_worksheet IS BOUND.
|
||||
wo_worksheet = io_worksheet.
|
||||
|
@ -946,7 +944,6 @@ method EXECUTE_CONVERTER.
|
|||
endif.
|
||||
if sy-subrc = 0.
|
||||
CREATE OBJECT lo_if type (ls_types-clsname).
|
||||
try.
|
||||
lo_if->create_fieldcatalog(
|
||||
exporting
|
||||
is_option = ws_option
|
||||
|
@ -959,7 +956,6 @@ method EXECUTE_CONVERTER.
|
|||
et_colors = wt_colors
|
||||
et_filter = wt_filter
|
||||
).
|
||||
endtry.
|
||||
* data lines of highest level.
|
||||
if ws_layout-max_subtotal_level > 0. add 1 to ws_layout-max_subtotal_level. endif.
|
||||
else.
|
||||
|
|
|
@ -40,9 +40,7 @@ endmethod.
|
|||
METHOD zif_excel_converter~create_fieldcatalog.
|
||||
DATA: lo_alv TYPE REF TO cl_gui_alv_grid.
|
||||
|
||||
TRY.
|
||||
zif_excel_converter~can_convert_object( io_object = io_object ).
|
||||
ENDTRY.
|
||||
|
||||
ws_option = is_option.
|
||||
|
||||
|
|
|
@ -45,9 +45,7 @@ METHOD zif_excel_converter~create_fieldcatalog.
|
|||
|
||||
FIELD-SYMBOLS: <fs_table> TYPE STANDARD TABLE.
|
||||
|
||||
TRY.
|
||||
zif_excel_converter~can_convert_object( io_object = io_object ).
|
||||
ENDTRY.
|
||||
|
||||
ws_option = is_option.
|
||||
|
||||
|
|
|
@ -213,9 +213,7 @@ METHOD zif_excel_converter~create_fieldcatalog.
|
|||
|
||||
FIELD-SYMBOLS: <fs_table> TYPE STANDARD TABLE.
|
||||
|
||||
TRY.
|
||||
zif_excel_converter~can_convert_object( io_object = io_object ).
|
||||
ENDTRY.
|
||||
|
||||
ws_option = is_option.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user