Skip to content

Commit

Permalink
Fix Issue #610 (Error if last column of last row is empty) (#620)
Browse files Browse the repository at this point in the history
* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA

* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA

* Revert "#610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA"

This reverts commit 794320f.

* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA

* rebase abaplint.json
  • Loading branch information
striezl authored and larshp committed Sep 5, 2019
1 parent f5a6453 commit 1da0be9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/zcl_excel_worksheet.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -4397,7 +4397,8 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
ep_rc = lv_rc " Return Value of ABAP Statements
).
IF lv_rc <> 0
AND lv_rc <> 4. "No found error means, zero/no value in cell
AND lv_rc <> 4 "No found error means, zero/no value in cell
AND lv_rc <> 8. "rc is 8 when the last row contains cells with zero / no values
lv_actual_col_string = lv_actual_col.
lv_actual_row_string = lv_actual_row.
CONCATENATE 'Error at reading field value (Col:'(007) lv_actual_col_string ' Row:'(005) lv_actual_row_string INTO lv_errormessage.
Expand Down

0 comments on commit 1da0be9

Please sign in to comment.