Skip to Content
Personal Insights
Author's profile photo Venkateswaran (Venkat) Krishnamurthy

SAP Fiori – KPI Tiles

Introduction

This Blog Post is related to the presentation of KPI Fiori Tiles.  The main intention of this blog post is to document the end to end points that we need to focus to achieve the same.

KPI  Tiles – Focusing for Management Dashboards

There are lot of documents available on this topic with respect to create dynamic tiles on Fiori launch pads.  However, my interest to create this blog post is to document the knowledge gathered and put it in the place with the steps so that it can be reviewed and used in future.

Basically this is a self documentation may be useful for others as well.

Requirement

My requirement is to provide Management with the snapshot tiles which focus on the points where they are regularly monitoring and taking actions.

Example :

(Screenshot is created for creating this blog post  purpose)

Pre-Requests

In order to achieve the above – we need to have following in place.

  • Understand the Dynamic Tile (Structure)
  • ABAP structure that in line with Tile Structure
  • ODATA service that provides value 
  • Fiori Admin url – that allows you to create the tile  (Assumption it is available)
  • Create Dynamic Tile

Let us see these items one by one.

Dynamic Tile Structure

The dynamic tile structure is as below:

(Screenshot is created for creating this blog post purpose )

It contains placeholder elements like – Title, Sub-Title, Icon, Value, Value Unit, Up/Down Arrow and Appropriate color settings.  We shall see in next section ABAP structure that correlates to this place holders.

Create ABAP Structure

We shall now create the ABAP structure with fields that correlates to the Tile place holders.(Through SE11).  Once created, activate it.

(Screenshot is created from SE11 for this blog post purpose )

Create ODATA Service.

Create the ODATA service through SEGW.

  • Create the Model by importing the ABAP structure created above.
  • Define the Entity parameters. (Make sure they are defined as per the standard, they are case Sensitive). It should be similar to structure as below:

(Screenshot is created for this blog post purpose)

  • Create the Entity Set
  • Redefine the Create Entity Method.
  • Activate and Generate the Project

The creation of ODATA services are explained in separate blog. However, the snapshots of the relevant screen is displayed here.

The Entity Set Property Screen will look like this

(Screenshot is created for this blog post purpose)

The ODATA Url will be

In this – We have created one generic service, by passing the Key parameter – it will return appropriate KPI values.  Example : GR – for Gross Sales

Create Dynamic Tile

Through Fiori Admin Url – Create the Dynamic Tile.  You need to put only the ODATA service url and refresh parameters.

(Screenshot is created for this blog post purpose)

Save the Tile.

Now assign this tile to the User Group, and the file result will be

(Screenshot is created for this blog post purpose)

Conclusion (Summary)

Now We can recap the steps again.  In order to create the KPI tiles, we need to have following items to be fulfilled.

  • KPI Tile structure related ABAP structure in place
  • ODATA Service that uses this ABAP structure and return them in Json format
  • Create the dybamic tile – that used the above ODATA service .

 

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jakob Marius Kjær
      Jakob Marius Kjær

      Very simple and great approach. I can also recommend having a look at SAP smart business which uses the KPI modeler to create tiles if you want more analytical content.