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