06-11-2015 8:24 AM
I have an issue with the current build of the abap2xlsx library. The demo program ZDEMO_EXCEL41 is crashing because the class zcl_excel_worksheet is currently marked as final. The error message is "The final class "ZCL_EXCEL_WORKSHEET" cannot have any subclasses.".
This is probably the code which causes the crash (Report ZDEMO_EXCEL41, Line 40 and following):
CLASS lcl_my_zcl_excel_worksheet DEFINITION INHERITING FROM zcl_excel_worksheet.
PUBLIC SECTION.
METHODS: constructor IMPORTING ip_excel TYPE REF TO zcl_excel
ip_title TYPE zexcel_sheet_title OPTIONAL " Will be ignored - keep parameter for demonstration purpose
RAISING zcx_excel.
ENDCLASS.
After removing the final flag from this class the program and all other demo programs are running as expected.
Thank for your support.
06-26-2015 9:23 PM
Hi,
could you please update to the latest version available on GitHub?
Ivan
06-26-2015 9:23 PM
Hi,
could you please update to the latest version available on GitHub?
Ivan
06-28-2015 7:18 PM