Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
ckuczera
Explorer
This article will describe, how to use the great and powerful Fiori Elements Framework, like Overview Pages (OVP’s) or List Reports in a standard on premise world without big development effort or connecting to a Data Warehouse (BW System). We will look to the really great implementation of Fiori Elements and how the components work together, passing information from charts to tables, displaying detailed information and how this great capabilities can be used to visual data from ALV Report, Infoset Queries, OADP or B2 Cluster Time Results.

Intro & Reporting Setup


First of all I would like to take a look at the great interaction between OVPs, List Reports and Split Pages and all the features that come up using Fiori Elements which allow to concentrate on the most important point in the data driven, statistic, management summary world: the business information!

Let’s pick a simple example in the HR World: Time Off or Vacation! Every employee should have an entitlement to take a time off. But how to report outstanding time off entitlements which will expire soon in order to instruct the employee to take the time? Indeed, mostly it’s done via SAP Report Export to Excel which are send via Email or using the MDT in a Portal.

Our aim was to create a standard Overview Page consuming different results of standard ALV Reports, OADP Views and Infotype Information in One Page. Therefore, we’ve created a framework having the functionality to consume different sources, harmonizing and standardizing the information and transferring them to the OVP. But more about the framework later on in this article.

In the following example the chart and the list element with the title “Kontingentübersicht” are consuming the results of RPTQTA10 which is a standard ALV Report:


 

We figured out that creating annotations in the WebIDE (supported by the Annotation Modeler) is really straight forward and requires a minimum of “configuration work” in order to quickly consume data in charts, lists or stack cards within OVPs.

Let’s take a short look to the manifest “Kontingentübersicht” Chart of the OVP which will not be described more detailed because of the huge amount of already existing and great articles here in the SCN.


 

Further we must add some annotations to describe the chart as followed:


 

That’s all. The Chart is displayed and the framework is doing the rest of the work in the backend.

That’s possible because all chart components are sending the requests combining the “$select” parameter with the filters specified in the chart. Following that logic, it’s simple for the framework to aggregate the information as required by the chart completely without additional coding.

Additionally, we will create a list report which should consume the data of the report RPTQTA10 and display it in an analytical table. I will just describe the annotation file, which is build up really quickly to display the data in the table:


 

Done. We can deploy the applications to the On Premise System, configure the Tiles and Navigation Targets and run it in the Launchpad.

Interaction between Fiori Elements OVPs and List Reports


When starting development of the OVPs and List Reports we figured out that the interaction between the Apps is one of the most interesting features of the OVPs. The powerful navigation logic is passing filter values to other components without any line of code! When clicking on the chart column…


 

… the filters of the Chart, and the selected column entry are combined to a selection filter and passed to the table, which uses the filter to display the information filtered on the relevant data of the previous chart. In this example I have selected the Tariff Vacation Quota (Tarifurlaub) …


… and the quota typ “10” and “04” was added because the chart is consuming only “relevant” quotas for the vacation overview chart using the “SelectionVariant” Annotation:


 

Dear SAP Fiori Elements Team: Awesome work! This saves a lot of time for development of common features and allows the developer to focus on the business value! The Fiori Elements developers did an amazing job! It works so smooth!

Having that table, we can start playing around. First, let’s group the information by employee using the annotation files:


 

This grouping option changes the logic the list table is requesting the information and split the request into two calls. Again, only driven by the “$select” parameter, requesting the sum line first and than requesting the rest of the information, which of course need to be processed in the backend depending on the dimension or measure flag of each field.


 

As displayed in the above screen, the table creates a summed line for all measures configured in the LineItem Annotations automatically and switches the table design depending on the semantic “aggregate” annotation to analytical table.


List Report and Detail Pages


List Repot components allow to navigate to detailed pages, which enables the manager to get information for a specific employee. In that case we enabled the navigation option to further reports, which can be setup via customizing. The following screen shows the detail page navigated from an OADP Report to

  1. OADP Based Employee Overview

  2. Infotype Data from IT 2, 6 and 1 as valid for now

  3. ALV based Quota Overview only for the selected employee

  4. B2 Cluster Planned and Productive Hours of the last year (starting in the previous month



 

Due to the fact, that our framework allows to add several data sources and time selections, the possibilities of the visualization are unlimited!


The Framework


The sMaRT (simple Manager Reporting Tool ;-)) framework was developed in a project to replace the Managers Dashboard (MDT) including old ALV based Reports with a new state of the art technology but keeping the business logic of the old reports in place. We decided to make use of the power of Fiori Elements and developed additional logic for Fiori Elements allowing to add several connectors to the framework, automatically applied sorting, filtering, paging and aggregation.

Meanwhile we can consume and visualize:

  1. OADP based Lists

  2. All ALV based Reports

  3. Infoset Query Reports

  4. Data from the time evaluation cluster (B2)

  5. Enriched Infotype data from HRPAD

  6. Any SAP Table or CDS View in the System like CATSDB


We are now working on a connector to:

  1. Successfactors

  2. BW Queries


We will keep investigating 😉 and hopefully we’ll make use of the Analytical Page soon.

I will try to post a separate blog entry describing some details of the framework and customizing abilities in the next future.

The displayed OVP Charts and Tables of the screenshots were created without any additional line of code, just supported by the logic and the customizing of the sMaRT Framework.

Summary


The work of the UI5 and Fiori Elements Team is awesome. The possibility to “develop” application only by describing the behavior using annotations allows to focus on the business relevant values and saves a lot of development effort. I am impressed of the interaction between the components.

The developed framework supports the Fiori Element Components and integrates different data sources in one intuitive and innovative User Interface.

Thank you! Please keep working on the Fiori Elements Functionalities.
9 Comments
0 Kudos
Good Information. Thanks for sharing.

 

Do we have any reference for particular OADP reports configurations?
ckuczera
Explorer
Hey Sangeetha,

to be honest not desribed in the article, but in my Demo “Besetzungsübersicht / Staffing Overview” is an example for an OADP based Report:


Displayed in OADP Test WebDynPro:


Configuration in Backend (sMaRT Framework):


Configuration in OrgView:


And generated Entity:


I hope that I could answer your question.

BR

Christoph
0 Kudos
Thanks for answering Christoph.

Does this work on Non-HANA system? on ECC?
ckuczera
Explorer
0 Kudos
Hey Sangeetha,

Of course. We are working on HANA and Non-HANA ECC HR.
Videos are recorded on a Non-HANA one.

BR

Christoph
0 Kudos
Thank you.
Chandruu0208
Explorer
0 Kudos
Hi Christoph, Great blog, thanks for sharing.

Could you share more information on how you were able to consume the data from B2 Cluster ?

 

Regards,

Chandra
ckuczera
Explorer
0 Kudos
Good Morning Chandra,

first implementation was based on a Report but we faced issues with odata requests and MESSAGE Error Statements and Dialog Operations of the Report.

Current implementation is based on Function Module HR_TIME_RESULTS_IN_INTERVAL which is doing a good Job.

Newest implementation is making use of declustering tables of the B2 Cluster which increases the performance of the requests dramatically.

Hope I could help.

Regards

Christoph
Chandruu0208
Explorer
0 Kudos
Hi Christoph,

Good morning 🙂 .. you have mentioned in the current implementation is based on FM HR_TIME_RESULTS_IN_INTERVAL ... you have implemented a CDS based ODATA to consume the HR TIME results ?

if yes, kindly share some light on that.

 

Regards,

Chandra
ckuczera
Explorer
0 Kudos

Hey Chandra,

no .. we have implemented a whole framework to have an automated aggrgation, sorting and filtering on the data. Without the framework you'll have the following options:

  1. Create a Standard oData Service reading the B2 Cluster Data using the function module.
  2. In case the B2 Cluster is declustered (check this link) you can read the ZES or SALDO (depending on the data you'll need to read) within a CDS Views and expose that view as a odata service

Before doing that you have to read the personal numbers which are affected of the logic. In our case it is mostly the manager who's reading his direct reports. Therefore function module HRWPC_RFC_OADP_GET_OBJECTS is doing a good job. Try it out passing e.g. object selection MSS_LEA_EE_DIR or MSS_LEA_EE_ALL and the managers user id.

BR

Christoph

Labels in this area