Open
Description
While running convert_to_table
of zcl_excel_worksheet
, the method excel_string_to_date
of zcl_excel_common
may return a weird message "Index out of bounds" which doesn't help identifying the error:
abap2xlsx/src/zcl_excel_common.clas.abap
Lines 861 to 881 in 76a39a7
It happens if the et_data
table contains a D
type component but the corresponding Excel cell contains a value which is not a date:
source_worksheet->convert_to_table( EXPORTING iv_begin_row = 2
iv_end_row = 4
IMPORTING et_data = three_lines_table_with_d_comp ).
Is it possible to fix the message and indicate the text which is not a valid date to help locating the error?
If possible, is it possible to improve convert_to_table
to convert the maximum number of cells, to not fail and to collect all the errors in a new parameter?
Metadata
Metadata
Assignees
Labels
No labels