Skip to content

Commit b1d47ff

Browse files
authored
update demo 153 (#98)
1 parent 503b8a9 commit b1d47ff

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/z2ui5_cl_demo_app_153.clas.abap

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,19 @@ CLASS z2ui5_cl_demo_app_153 DEFINITION PUBLIC.
1010
DATA mt_string_table2 TYPE string_table.
1111

1212
TYPES:
13-
BEGIN OF ty_struct_tab,
13+
BEGIN OF ty_struct_tab2,
1414
selkz TYPE abap_bool,
1515
counter TYPE i,
1616
descr TYPE string,
1717
new_type TYPE string,
18+
END OF ty_struct_tab2.
19+
20+
TYPES:
21+
BEGIN OF ty_struct_tab,
22+
selkz TYPE abap_bool,
23+
counter TYPE i,
24+
descr TYPE string,
25+
new_type TYPE ty_struct_tab2,
1826
END OF ty_struct_tab.
1927

2028
TYPES:
@@ -29,7 +37,7 @@ CLASS z2ui5_cl_demo_app_153 DEFINITION PUBLIC.
2937
DATA mv_value2 TYPE string.
3038
DATA ms_struc TYPE ty_struct.
3139
DATA ms_struc2 TYPE ty_struct.
32-
data mv_long_long_long_long_value type string.
40+
DATA mv_long_long_long_long_value TYPE string.
3341

3442
METHODS ui5_display.
3543
METHODS ui5_event.
@@ -40,7 +48,7 @@ ENDCLASS.
4048

4149

4250

43-
CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
51+
CLASS Z2UI5_CL_DEMO_APP_153 IMPLEMENTATION.
4452

4553

4654
METHOD ui5_display.
@@ -118,7 +126,7 @@ CLASS z2ui5_cl_demo_app_153 IMPLEMENTATION.
118126
descr = 'this is a description'
119127
counter = 3
120128
selkz = abap_true
121-
new_type = `ABC`
129+
new_type = VALUE #( new_type = `ABC` )
122130
) )
123131
).
124132

0 commit comments

Comments
 (0)