Skip to content

Commit a7a60af

Browse files
authored
Update README.md
1 parent 2812020 commit a7a60af

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Key Features
44
* KPI Connector: Send KPIs of your abap2UI5 Apps to SAP Fiori Launchpad
5-
* User-Friendly: Implement just a single method and return the desired value
5+
* User-Friendly: Implement just a single interface and method to return the KPI value
66
* Project Consistency: Easily integrable with your abap2UI5 apps
77
* Compatibility: Runs with SAP Netweaver (v.7.30 or higher) or S/4 Private (Standard ABAP)
88

@@ -17,7 +17,7 @@
1717

1818

1919
### Approach
20-
(1/3) Use a single Interface:
20+
(1/4) Use a single Interface:
2121
```abap
2222
INTERFACE z2ui5_if_lp_kpi
2323
PUBLIC.
@@ -30,7 +30,7 @@ INTERFACE z2ui5_if_lp_kpi
3030
3131
ENDINTERFACE.
3232
```
33-
(2/3) Which can be used on app level to return KPIs:
33+
(2/4) Which can be used on app level to return KPIs:
3434
```abap
3535
CLASS z2ui5_cl_lp_kpi_hello_world DEFINITION
3636
PUBLIC
@@ -56,7 +56,7 @@ CLASS z2ui5_cl_proxy_kpi_hello_world IMPLEMENTATION.
5656
5757
ENDCLASS.
5858
```
59-
(3/3) The rest handles a generic OData service (which just returns n dummy entries):
59+
(3/4) A generic OData service takes care of everything else (which just returns n dummy entries):
6060
```abap
6161
METHOD /iwbep/if_mgw_appl_srv_runtime~get_entityset.
6262
@@ -88,6 +88,8 @@ ENDCLASS.
8888
8989
ENDMETHOD.
9090
```
91+
(4/4) Maintain the KPI at the Launchpad with the following endpoint:
92+
.../sap/opu/odata/sap/Z2UI5_PROXY_KPI_SRV/ENTITYCollection/$count?$filter=CLASS eq '<<CLASSNAME>>'
9193

9294
#### Installation
9395
[**Guideline**](https://www.linkedin.com/pulse/abap2ui5-host-your-apps-sap-fiori-launchpad-33-kpis-abap2ui5-uuxxe/)

0 commit comments

Comments
 (0)