From 6dcfbcf4e373f2cbac56d8ebfa46e3a55e3e4ff8 Mon Sep 17 00:00:00 2001 From: Bernd <135710507+darnoc312@users.noreply.github.com> Date: Thu, 17 Oct 2024 15:57:55 +0200 Subject: [PATCH] Update zcl_excel_common.clas.abap --- src/zcl_excel_common.clas.abap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/zcl_excel_common.clas.abap b/src/zcl_excel_common.clas.abap index 70399f3..75e8b9e 100644 --- a/src/zcl_excel_common.clas.abap +++ b/src/zcl_excel_common.clas.abap @@ -1086,6 +1086,10 @@ CLASS zcl_excel_common IMPLEMENTATION. IF flag_class = abap_false. * source is a structure - use assign component ASSIGN COMPONENT wa_component-name OF STRUCTURE i_source TO . + ELSEIF i_source IS INITIAL. + CLEAR . + CLEAR WITH abap_true. + CONTINUE. ELSE. * then it is an attribute of the class - use different assign then CONCATENATE 'i_source->' wa_component-name INTO attribute_name.