Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Karol-K
Advisor
Advisor
finally, following the "what next" topic in KPI Tile, here the new "Repeatable KPI Tile" which is now Data Bound.

The original Post can be found here, Design Studio SDK: (Generic) Kpi Tile. Please check the initial post for general information, I do not want to repeat all here.

Second important post is here, Design Studio SDK: (Generic) Kpi Tile Functions for Complex Properties.

Now, the CHANGES.

In general, the number of KPIs equals to number of rows in the data source.
The KPIs will be placed in an dynamic layout with 2 properties which are deciding on the content size:

- content height
- number of rows

The real KPI size is calculated from the current size and number of rows.



How does look?




1. Assign Data Source


This component is now supporting data source assignment, so you have to assign some data source (see example below and in the application).

2. Make "binding" to dimension.
The next step is to create a property and use the new setting "Linked Dimension or Measure Key". This one is required to get the connection to data from corresponding data source.

3. Cast

for some properties it is required to cast the data source to specific type, eg. for the micro charts it must be an integer, even if the data source is bringing double value as measure. Choose the correct cast - in other cases there will be no display.

Properties as Image



no big change to the standard KPI Tile in this part, but the "Content" has now the complex properties.

Binding on Data Source


here you can see the "Linked" property entry, it is string based w/o value help, the input must be the KEY of dimension or Measure (this example is on BYOD data source)

also, the cast property is visible, required to cast correctly especially for micro charts as those are expecting integers.

Download & Use

This component is available on the community package, release 3.0 for Design Studio 1.6, as in SCN Design Studio SDK Development Community

Example as BIAPP:

org-scn-design-studio-community/applications · GitHub

-> SDK_REPEATABLE_KPI_TILE

Documentation

Component List – SCN Design Studio Community -> look for the component in the list.

Any thoughts?

feel free to add as usual…

Enhancements Ideas?

if you have good ideas (to those who would like to contribute but cannot code…) – place an “issue” with tag “enhancement” under Issues · org-scn-design-studio-community/sdkpackage · GitHub
7 Comments