From 8feb86f67e9ed9ec456c281741652b8fb25fa592 Mon Sep 17 00:00:00 2001 From: "oblomov-dev@outlook.com" Date: Wed, 4 Sep 2024 08:00:05 +0000 Subject: [PATCH 1/2] cleanup --- src/z2ui5_cl_demo_app_162.clas.abap | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/z2ui5_cl_demo_app_162.clas.abap b/src/z2ui5_cl_demo_app_162.clas.abap index 6133fa51..baf94d42 100644 --- a/src/z2ui5_cl_demo_app_162.clas.abap +++ b/src/z2ui5_cl_demo_app_162.clas.abap @@ -63,14 +63,12 @@ CLASS z2ui5_cl_demo_app_162 IMPLEMENTATION. ( product = 'table2' create_date = `01.01.2023` create_by = `Peter` storage_location = `AREA_001` quantity = 400 ) ). -* DATA lt_result LIKE mt_table. -* "put the range in the where clause of your abap sql command -* "here we use an internal table instead -* LOOP AT mt_sql INTO DATA(ls_tab). -* -* "do filtering here.. -* -* ENDLOOP. + z2ui5_cl_util=>filter_itab( + EXPORTING + filter = mt_sql + CHANGING + val = mt_table + ). ENDMETHOD. From 5eb30d4689d923ca765655c54b9696dc4ec6f17c Mon Sep 17 00:00:00 2001 From: "oblomov-dev@outlook.com" Date: Wed, 4 Sep 2024 18:31:05 +0000 Subject: [PATCH 2/2] set tiles in extra category --- src/z2ui5_cl_demo_app_000.clas.abap | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/z2ui5_cl_demo_app_000.clas.abap b/src/z2ui5_cl_demo_app_000.clas.abap index 34c33642..e88d088e 100644 --- a/src/z2ui5_cl_demo_app_000.clas.abap +++ b/src/z2ui5_cl_demo_app_000.clas.abap @@ -642,6 +642,12 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION. class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom' ). + panel = page->panel( + expandable = abap_false + expanded = abap_true + headertext = 'Tiles' + ). + panel->generic_tile( header = 'Tile' subheader = 'Numeric Content Without Margins'