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.
Showing results for 
Search instead for 
Did you mean: 


A KPI View (a bit different to the KPI Tile from samples) but with correct value format and support. The API and properties is very similar to the KPI tile, but some special functions are not available. I hope this is not too big restriction.

This component solfs also the problem Problem regional formats setting

How does it looks like?

scn-pack-KpiViewthe view itself
scn-pack-KpiView-Headerfor header
scn-pack-KpiView-Titlefor title
scn-pack-KpiView-Linkfor link
scn-pack-KpiView-Imagefor image
scn-pack-KpiView-ValuePrefixfor value prefix
scn-pack-KpiView-Valuefor value
scn-pack-KpiView-ValueSuffixfor value suffix
scn-pack-KpiView-Footerfor footer

Available Properties

Property NameDescription

cell selection


text for header

headerCssClasscss class for header
titleTexttext for title
titleCssClasscss class for title
valuePrefixTexttext for value prefix
valuePrefixCssClasscss class for value prefix
valueTexttext for value
valueHAlignalign of the value (cannot be changed by scripts, need refresh app when changed)
valueCssClasscss class for value
valueDecimalPlacesnumber of decimal places 0-9
valueSuffixTexttext for value suffix
valueSuffixCssClasscss class for value suffix
footerTexttext for footer
footerHAlignalign of the footer (cannot be changed by scripts, need refresh app when changed)
footerCssClasscss class for footer
linkTexttext for link
linkTooltiptooltip for link
imageurl for image
imageSizeimage size (choice of 16, 32, 64, 128 px)

Scripting Functions

ScriptsShort Description
setters / getters for the majority of propertiesall those which could be changed in runtime

void setDataSelection(

/* Data cell tha tcontains the value displayed */ ResultCellSelection cellSelection)

for data selection cell



triggered when user clicks on some space

onLinkClicktriggered when user clicks on link

Example Application

An Application with example can be downloaded at the BIAPP Repository:


Source Code & Licensing

This component is for free use. It is under the Open Source Apache Version 2.0 License.

Important Maintenance Notice (... as I am SAP Employee)

The component is NOT delivered under SAP maintenance license.

You cannot claim any Support on this component from SAP!

The components are created on "private" basis - you can use them as is. I can modify, correct or improve - but there is no obligation to do it. Of course I will try to correct bugs or improve the component as long I can.

Have Fun!

for other components see: Karol's SDK Components