mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 02:12:05 +08:00
Merge branch 'main' into fix-issue-1014-part1
This commit is contained in:
commit
27085459cd
|
@ -1663,26 +1663,19 @@ CLASS zcl_excel_converter IMPLEMENTATION.
|
|||
cl_gui_frontend_services=>gui_download( EXPORTING bin_filesize = l_bytecount
|
||||
filename = l_dir
|
||||
filetype = 'BIN'
|
||||
CHANGING data_tab = lt_file ).
|
||||
cl_gui_frontend_services=>execute(
|
||||
EXPORTING
|
||||
document = l_dir
|
||||
EXCEPTIONS
|
||||
cntl_error = 1
|
||||
error_no_gui = 2
|
||||
bad_parameter = 3
|
||||
file_not_found = 4
|
||||
path_not_found = 5
|
||||
file_extension_unknown = 6
|
||||
error_execute_failed = 7
|
||||
synchronous_failed = 8
|
||||
not_supported_by_gui = 9
|
||||
).
|
||||
CHANGING data_tab = lt_file
|
||||
EXCEPTIONS OTHERS = 1 ).
|
||||
IF sy-subrc <> 0.
|
||||
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
|
||||
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
|
||||
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
|
||||
ELSE.
|
||||
cl_gui_frontend_services=>execute( EXPORTING document = l_dir
|
||||
EXCEPTIONS OTHERS = 1 ).
|
||||
IF sy-subrc <> 0.
|
||||
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
|
||||
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
|
||||
ENDIF.
|
||||
ENDIF.
|
||||
|
||||
ENDIF.
|
||||
|
||||
|
||||
|
@ -1811,7 +1804,12 @@ CLASS zcl_excel_converter IMPLEMENTATION.
|
|||
cl_gui_frontend_services=>gui_download( EXPORTING bin_filesize = l_bytecount
|
||||
filename = l_dir
|
||||
filetype = 'BIN'
|
||||
CHANGING data_tab = lt_file ).
|
||||
CHANGING data_tab = lt_file
|
||||
EXCEPTIONS OTHERS = 1 ).
|
||||
IF sy-subrc <> 0.
|
||||
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
|
||||
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
|
||||
ENDIF.
|
||||
ENDIF.
|
||||
ENDMETHOD.
|
||||
ENDCLASS.
|
||||
|
|
Loading…
Reference in New Issue
Block a user