File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ _Running into problems or found a bug? Create an issue [**here**](https://github
1414### Approach:
1515(1/3) Use a single Interface:
1616``` abap
17- INTERFACE z2ui5_if_proxy_kpi
17+ INTERFACE z2ui5_if_lp_kpi
1818 PUBLIC.
1919
2020 METHODS count
@@ -27,7 +27,7 @@ ENDINTERFACE.
2727```
2828(2/3) Which can be used on app level to return KPIs:
2929``` abap
30- CLASS z2ui5_cl_proxy_kpi_hello_world DEFINITION
30+ CLASS z2ui5_cl_lp_kpi_hello_world DEFINITION
3131 PUBLIC
3232 FINAL
3333 CREATE PUBLIC .
@@ -39,7 +39,7 @@ CLASS z2ui5_cl_proxy_kpi_hello_world DEFINITION
3939ENDCLASS.
4040CLASS z2ui5_cl_proxy_kpi_hello_world IMPLEMENTATION.
4141
42- METHOD z2ui5_if_proxy_kpi ~count.
42+ METHOD z2ui5_if_lp_kpi ~count.
4343
4444 "kpi calculation....
4545 result = 11.
@@ -72,9 +72,9 @@ ENDCLASS.
7272 CATCH cx_root.
7373 ENDTRY.
7474
75- DATA li_proxy_kpi TYPE REF TO z2ui5_if_proxy_kpi .
76- CREATE OBJECT li_proxy_kpi TYPE (lv_classname).
77- DATA(lv_count) = li_proxy_kpi ->count( lv_filter ).
75+ DATA li_lp_kpi TYPE REF TO z2ui5_if_lp_kpi .
76+ CREATE OBJECT li_lp_kpi TYPE (lv_classname).
77+ DATA(lv_count) = li_lp_kpi ->count( lv_filter ).
7878
7979 DO lv_count TIMES.
8080 INSERT VALUE #( id = sy-index ) INTO TABLE lt_result.
You can’t perform that action at this time.
0 commit comments