From afb7824fbe1400b548d25a032290ac168637052e Mon Sep 17 00:00:00 2001 From: danrega <16720986+danrega@users.noreply.github.com> Date: Mon, 3 Apr 2023 17:16:45 +0200 Subject: [PATCH] Update content --- src/zcl_demo_abap_constructor_expr.clas.abap | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/zcl_demo_abap_constructor_expr.clas.abap b/src/zcl_demo_abap_constructor_expr.clas.abap index 6b22045..f9ef621 100644 --- a/src/zcl_demo_abap_constructor_expr.clas.abap +++ b/src/zcl_demo_abap_constructor_expr.clas.abap @@ -145,6 +145,13 @@ CLASS ZCL_DEMO_ABAP_CONSTRUCTOR_EXPR IMPLEMENTATION. output->display( input = struc name = `struc` ). + "You can use the BASE addition to retain existing content + "Compare with the BASE example further down regarding internal tables: There are + "no extra parentheses within the outer pair of parentheses. + struc = VALUE #( BASE struc char2 = 'xyz' ). + + output->display( input = struc name = `struc` ). + ********************************************************************** output->next_section( `3) Structures: Inline declaration, explicit type specification` ).