File tree Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Expand file tree Collapse file tree 2 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -985,15 +985,16 @@ CLASS z2ui5_cl_util IMPLEMENTATION.
985
985
ENDTRY .
986
986
ENDTRY .
987
987
988
- result = lo_struct->get_components( ).
989
-
990
- LOOP AT result REFERENCE INTO DATA (lr_comp )
991
- WHERE as_include = abap_true .
988
+ DATA (comps ) = lo_struct->get_components( ).
992
989
993
- DATA ( lt_attri ) = rtti_get_t_attri_by_include( lr_comp->type ).
990
+ LOOP AT comps REFERENCE INTO DATA ( lr_comp ).
994
991
995
- DELETE result .
996
- INSERT LINES OF lt_attri INTO TABLE result .
992
+ IF lr_comp->as_include = abap_false .
993
+ APPEND lr_comp->* TO result .
994
+ ELSE .
995
+ DATA (lt_attri ) = rtti_get_t_attri_by_include( lr_comp->type ).
996
+ APPEND LINES OF lt_attri TO result .
997
+ ENDIF .
997
998
ENDLOOP .
998
999
999
1000
ENDMETHOD .
Original file line number Diff line number Diff line change @@ -172,6 +172,14 @@ CLASS z2ui5_cl_xml_view DEFINITION
172
172
RETURNING
173
173
VALUE (result ) TYPE REF TO z2ui5_cl_xml_view.
174
174
175
+ METHODS overflow_toolbar_layout_data
176
+ IMPORTING
177
+ priority TYPE clike OPTIONAL
178
+ group TYPE clike OPTIONAL
179
+ closeOverflowOnInteraction TYPE clike OPTIONAL
180
+ RETURNING
181
+ VALUE (result ) TYPE REF TO z2ui5_cl_xml_view.
182
+
175
183
METHODS table
176
184
IMPORTING
177
185
id TYPE clike OPTIONAL
@@ -11122,4 +11130,15 @@ CLASS z2ui5_cl_xml_view IMPLEMENTATION.
11122
11130
11123
11131
ENDMETHOD .
11124
11132
11133
+ METHOD overflow_toolbar_layout_data .
11134
+
11135
+ result = _generic(
11136
+ name = `OverflowToolbarLayoutData`
11137
+ t_prop = VALUE #(
11138
+ ( n = `closeOverflowOnInteraction` v = z2ui5_cl_util=>boolean_abap_2_json( closeOverflowOnInteraction ) )
11139
+ ( n = `group` v = group )
11140
+ ( n = `priority` v = priority ) ) ).
11141
+
11142
+ ENDMETHOD .
11143
+
11125
11144
ENDCLASS .
You can’t perform that action at this time.
0 commit comments