https://github.com/abap2UI5-addons/launchpad-kpi
Show KPIs of abap2UI5 Apps on SAP Fiori Launchpad
https://github.com/abap2UI5-addons/launchpad-kpi
abap abap2ui5 abapgit fiori open-source openui5 sapui5 ui5
Last synced: 8 months ago
JSON representation
Show KPIs of abap2UI5 Apps on SAP Fiori Launchpad
- Host: GitHub
- URL: https://github.com/abap2UI5-addons/launchpad-kpi
- Owner: abap2UI5-addons
- License: mit
- Created: 2023-12-06T18:20:08.000Z (over 2 years ago)
- Default Branch: standard
- Last Pushed: 2024-11-19T12:05:46.000Z (over 1 year ago)
- Last Synced: 2025-01-17T09:44:48.395Z (over 1 year ago)
- Topics: abap, abap2ui5, abapgit, fiori, open-source, openui5, sapui5, ui5
- Language: ABAP
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# launchpad-kpi
#### Key Features
* KPI Connector: Send KPIs of your abap2UI5 Apps to SAP Fiori Launchpad
* User-Friendly: Implement just a single interface and method to return the KPI value
* Project Consistency: Easily integrable with your abap2UI5 apps
* Compatibility: Runs with SAP Netweaver (v.7.30 or higher) or S/4 Private (Standard ABAP)
#### Compatibility
* S/4 Private Cloud or On-Premise (Standard ABAP)
* R/3 NetWeaver AS ABAP 7.50 or higher (Standard ABAP)
#### Dependencies
* [abap2UI5](https://github.com/abap2UI5/abap2UI5)
#### Limitations & Todo
* Implement a CDS/SADL based OData Service for `ABAP for Cloud` compatibility
#### Demo
###### Idea

###### Preview

#### Usage
1. The launchpad-kpi addons can be accessed via a single interface and method:
```abap
INTERFACE z2ui5_if_lp_kpi
PUBLIC.
METHODS count
IMPORTING
filter TYPE string
RETURNING
VALUE(result) TYPE i.
ENDINTERFACE.
```
2. Include it into you app to return KPIs as shown here:
```abap
CLASS z2ui5_cl_lp_kpi_hello_world DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES z2ui5_if_proxy_kpi.
INTERFACES z2ui5_if_app.
ENDCLASS.
CLASS z2ui5_cl_proxy_kpi_hello_world IMPLEMENTATION.
METHOD z2ui5_if_lp_kpi~count.
"kpi calculation....
result = 10.
ENDMETHOD.
METHOD z2ui5_if_app~main.
"abap2UI5 app logic here...
ENDMETHOD.
ENDCLASS.
```
3. Maintain the KPI at the Launchpad with the following endpoint:
`.../sap/opu/odata/sap/Z2UI5_PROXY_KPI_SRV/ENTITYCollection/$count?$filter=CLASS eq 'z2ui5_cl_proxy_kpi_hello_world'`
#### Contribution & Support
Pull requests are welcome! Whether you're fixing bugs, adding new functionality, or improving documentation, your contributions are highly appreciated. For bug reports or feature requests, please open an issue in the [abap2UI5 repository.](https://github.com/abap2UI5/abap2UI5/issues)