Skip to content

Show KPIs of abap2UI5 Apps on Fiori Launchpad

License

Notifications You must be signed in to change notification settings

abap2UI5-addons/launchpad-kpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9398769 · Mar 1, 2025

History

72 Commits
Sep 4, 2024
Feb 28, 2025
Dec 6, 2023
Mar 1, 2025
Aug 29, 2024

Repository files navigation

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

Limitations & Todo

  • Implement and CDS/SADL bases OData Service for ABAP for Cloud compatibility

Demo

Idea
image
Preview
Pasted Graphic 3

Usage

  1. The launchpad-kpi addons can be accesd via a single interface and method:
INTERFACE z2ui5_if_lp_kpi
  PUBLIC.

  METHODS count
    IMPORTING
      filter        TYPE string
    RETURNING
      VALUE(result) TYPE i.

ENDINTERFACE.
  1. Include it into you app to return KPIs as shown here:
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.
  1. 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.