Update content

This commit is contained in:
danrega
2023-07-14 13:39:24 +02:00
parent b4cac3ae22
commit 18ed4c05ae
23 changed files with 116 additions and 110 deletions

View File

@@ -111,7 +111,7 @@ CLASS zcl_demo_abap_constructor_expr IMPLEMENTATION.
DATA(output) = NEW zcl_demo_abap_display( out ).
output->display( `ABAP cheat sheet: Constructor expressions` ).
output->display( `ABAP Cheat Sheet Example: Constructor expressions` ).
output->next_section( `VALUE` ).
output->display( `1) Structures: Populating a flat structure` ).
@@ -341,9 +341,9 @@ CLASS zcl_demo_abap_constructor_expr IMPLEMENTATION.
END OF substruc,
END OF deep_struc_ty.
DATA(deep_struc) = VALUE deep_struc_ty( num = 1 char1 = 'aaa'
substruc = VALUE #( int = 123 str = `hallo` ) ).
DATA(deep_struc) = VALUE deep_struc_ty( num = 1
char1 = 'aaa'
substruc = VALUE #( int = 123 str = `hallo` ) ).
output->display( input = deep_struc name = `deep_struc` ).
@@ -1335,6 +1335,8 @@ CLASS zcl_demo_abap_constructor_expr IMPLEMENTATION.
output->display( input = str_tab name = `str_tab` ).
**********************************************************************
output->next_section( `42) LET Expressions (2)` ).
"2) LET within a constructor expression with COND: 12 o'clock is
@@ -1354,6 +1356,8 @@ CLASS zcl_demo_abap_constructor_expr IMPLEMENTATION.
output->display( input = time name = `time` ).
**********************************************************************
output->next_section( `43) LET Expressions (3)` ).
"3) An internal table that includes three components is created and