Purpose of this blog
S/4HANA embedded analytics means direct and real-time analysis in S/4HANA using Fiori applications (So, I personally want to call it “Fiori Analytics” to be honest). It is said to be Fiori analytical app’s based on CDS Views, however the real state is more complex. Furthermore, the topics relating to analytics in S/4HANA might go beyond embedded analytics. There are some other important topics relating to analytics, e.g. the positioning of BW and embedded analytics, BPC for S/4HANA, BusinessObjects and SAP Analytics Cloud(SAC) BI etc.. The purpose of this blog is 1) to share the real shape of embedded analytics, and 2) to cover main topics about analytics related to S/4HANA to provide “the shape of the forest, not (only) the detail of the trees”, and clarify what needs to be discussed for a total analytical architecture and what kind of skill sets are needed for the analytical solution.
As S/4HANA is running on HANA, High Performance Database, Analytics is one of the most typical and tangible value of S/4HANA. However, I have heard many customers feel difficulties to enjoy embedded analytics in S/4HANA because it is a bit too complex for them as too many technologies and topics are included and many experts have to be involved, in reality, but the total picture is not provided.
I am writting this blog to tackle the situation by providing the real shape of embedded analytics and the total picture and relationship among solutions in Analytics.
(Note that some analytical solutions like Data Hub are not included as it is not directly related to S/4HANA.)
The section of “S/4HANA embedded analytics in detail” covers the total Fiori application architecture, including read/write (transactional) apps, not limited only to embedded analytics. I hope it provides a greater understanding of the total picture of Fiori application architecture, as most of the Fiori documents cover only some parts of total Fiori architecture as in the case in embedded analytics.
Table of Content
Important messages
S/4HANA embedded analytics is more complex and S/4HANA analytics includes many technologies and topics beyond embedded analytics.
embedded analytics and other analytical solutions
S/4HANA embedded analytics is the function for real-time operational analytics in S/4HANA. It consists of ABAP CDS Views ( or OData service not from CDS View) as data source and Fiori Analytical application the as frontend. Other than embedded analytics, Standalone BW or Embedded BW can be the data source for analyzing data in S/4HANA. Embedded BW is the BW function in S/4HANA system. As the frontend, other than S/4HANA embedded analytics, SAP Analytics Cloud BI and Application Design, and BusinessObjets are available. Standalone/Embedded BW or/and SAP Analytics Cloud/BusinessObjects are used together with embedded analytics in S/4HANA analytics.
S/4HANA embedded analytics in detail
embedded analytics is a part of Fiori
S/4HANA embedded analytics is a part of Fiori. “Fiori” has many meanings; it includes predefined standard Fiori apps, framework to create Fiori app, and Fiori launchpad. Standard Fiori apps for analytics and framework to create Fiori analytical app are included in embedded analytics. Needless to say, Fiori analytical apps are launched from Fiori Launchpad.
In my understanding, many customers start using Fiori from Analytical apps. So, I want to say embedded analytics is the MAIN part of Fiori!
There are 2 approaches to enjoy embedded analytics:
1) Use Standard Fiori apps for analytics
2) Create custom Fiori app for analytics
The former approach should be led by Functional experts and Fiori Expert, not analytic experts.
embedded analytics technologies
In basic scenarios, the data source of embedded analytics is ABAP CDS Views, which are consumed by the Fiori analytical application.
ABAP CDS View and Virtual Data Model (VDM)
ABAP CDS View is a view and which is the object in the ABAP application server. It is used instead of HANA Calculation View in standard Fiori apps as of S/4HANA Enterprise Management (1511~). ABAP CDS View includes SELECT statement of SQL and it is expected to realize calculations within SELECT Statement. By doing that, pushdown to optimize application server runtime can be realized. It can also include application specific settings with Annotations. CDS View is SAP specific technology.
Virtual Data Model (VDM) is the predefined View for the entities in S/4HANA created with ABAP CDS View. By using VDM instead of creating custom CDS View, development effort could be saved.
In the VDM “G/L Account Balance Cube”, balance value is calculated from ACDOCA dynamically and multidimensional analytics is possible. By using it, it is not necessary to design the model to calculate balance value from delta value stored in ACDOCA by the customer themselves.
Release status of VDM has to be considered. In S/4HANA 1809, more than 33,000 VDMs are provided, but the number of VDMs available to be reused (Category=CUBE/DIMENSION) is about 2,700, and the number of “Released” VDMs in them is about 1,500. Released means SAP guarantees the view should not have critical design change in the newer versions. Unreleased VDMs are NOT supported officially and customers would have to use them at their own risk. By creating a Customer Incident, unreleased VDMs might be released by SAP.
In CDS View, data authorization is controlled with Authorization Object, and Data Control Language (DCL) is used to connect fields of CDS View to Authorization Object.
It should be designed to optimize the performance (avoid longer runtime). In Quick Sizer of embedded analytics, the maximum runtime is expected to be 10 seconds. If access time to a CDS View is 60 seconds, the impact is not only on the runtime of the report, but much more hardware resource would be needed and 6 times more hardware resource would be needed than heavy query (runtime is supposed to be 10 sec).
Tips and Further Details about CDS View and VDM from the following links:
FYI:BW Query can be created on top of CDS View
Fiori Content types and analytical apps
There are some content types in Fiori application. Many of the standard Fiori applications are created based on content types, e.g. Content type of “Invoice Price Variance (F0682)” is “KPI Tile” and UI technology is “SAP Fiori: SAP Smart Business generic drill down app”. The applications whose application types are set as “Analytical” are categorized as Analytical app (i.e. embedded analytics). Design Studio, Analytical List Page, Overview Page, KPI Tile, (Report), Analysis Path Framework and some free style apps for analytics are included in embedded analytics officially. In addition, I know List Report is sometimes used for analytical purpose. I think this can be included in analytical app as well.
In my opinion, which content types, SAP says, are in embedded analytics or which are not is not so important. We can simply say the apps used for analytical purpose are analytical app.
(linked demo/page is not the same as the example).
S/4HANA embedded analytics means direct and real-time analysis in S/4HANA using Fiori applications (So, I personally want to call it “Fiori Analytics” to be honest). It is said to be Fiori analytical app’s based on CDS Views, however the real state is more complex. Furthermore, the topics relating to analytics in S/4HANA might go beyond embedded analytics. There are some other important topics relating to analytics, e.g. the positioning of BW and embedded analytics, BPC for S/4HANA, BusinessObjects and SAP Analytics Cloud(SAC) BI etc.. The purpose of this blog is 1) to share the real shape of embedded analytics, and 2) to cover main topics about analytics related to S/4HANA to provide “the shape of the forest, not (only) the detail of the trees”, and clarify what needs to be discussed for a total analytical architecture and what kind of skill sets are needed for the analytical solution.
As S/4HANA is running on HANA, High Performance Database, Analytics is one of the most typical and tangible value of S/4HANA. However, I have heard many customers feel difficulties to enjoy embedded analytics in S/4HANA because it is a bit too complex for them as too many technologies and topics are included and many experts have to be involved, in reality, but the total picture is not provided.
I am writting this blog to tackle the situation by providing the real shape of embedded analytics and the total picture and relationship among solutions in Analytics.
(Note that some analytical solutions like Data Hub are not included as it is not directly related to S/4HANA.)
The section of “S/4HANA embedded analytics in detail” covers the total Fiori application architecture, including read/write (transactional) apps, not limited only to embedded analytics. I hope it provides a greater understanding of the total picture of Fiori application architecture, as most of the Fiori documents cover only some parts of total Fiori architecture as in the case in embedded analytics.
Table of Content
- Important messages
- embedded analytics and other analytical solutions
- S/4HANA embedded analytics in detail
- embedded analytics is a part of Fiori
- embedded analytics technologies
- ABAP CDS View and Virtual Data Model (VDM)
- Fiori Content types and analytical apps
- embedded analytics architecture in reality
- Standard Fiori app for analytics
- Tools for Embedded Analytics
- embedded analytics, instead of traditional reporting tools
- embedded analytics, BPC optimized for S/4HANA and SAP Analytics Cloud and BusinessObjects
- BPC Optimized for S/4HANA
- BPC Optimized for S/4HANA architecture
- Analytical Apps for BPC Optimized for S/4HANA
- SAC BI and Application Design, and BusinessObjects
- SAP Analytics Cloud (SAC)
- BusinessObjects
- Relation between S/4HANA and BW
- Positioning embedded analytics, Standalone BW and Embedded BW
- Data Volume Management between S/4HANA and BW
- Extractors for BW in S/4HANA
- Other topics
- HANA Calculation View and HANA Live in S/4HANA
- CDS View vs HANA Calculation View
- Sizing for embedded analytics in S/4HANA
- HANA Calculation View and HANA Live in S/4HANA
Important messages
S/4HANA embedded analytics is more complex and S/4HANA analytics includes many technologies and topics beyond embedded analytics.
- S/4HANA embedded analytics means S/4HANA Fiori analytical apps, whose Application Type are “Analytical”. embedded analytics is a part of Fiori, so that Fiori Skill is needed for embedded analytics, e.g. Fiori Launchpad and Launchpad Designer.
- There are 2 ways to enjoy embedded analytics as in the case Fiori: 1) Use Standard Fiori apps for analytics, 2) Create custom Fiori app for analytics. The former approach should be led by Functional experts and Fiori Expert, not analytic experts.
- The architecture of embedded analytics is more complex than in the general guide: Fiori analytical app + CDS View.
- Transaction Code SEGW based OData Service is used as Data Source in many standard Fiori analytical apps. So, knowledge of SEGW OData might be needed.
- OData is the main connection in Fiori, however, for BW, the InA connection is used for Design Studio, SAC Online connection and BusinessObjects. BW experts should have knowledge of the InA connection.
- BW Query is used as a source for Fiori apps for BPC Optimized for S/4HANA.
- Some Fiori Elements apps are called analytical, others are called transactional, but technically they are almost the same.
- Fiori Key User Tools like Custom Analytical Queries and Smart Business Cockpit are included in the general guideline of embedded analytics. But they are only parts of all tools needed for analytics. In reality, many other tools are used for analytical purpose,g. ABAP Development Tools (ADT) for creating ABAP CDS View, Custom Fields and Logic for adding fields and Web IDE in SAP Cloud Platform for Fiori Elements or Free style apps.
- Understanding CDS Views is key for S/4HANA Analytics, and the Virtual Data Model (VDM) built with CDS Views should be used as reusable objects for custom CDS Views.
- In S/4HANA, it is expected to use embedded analytics instead of traditional reporting tools like Report Painter, ALV. Furthermore, it is also expected to consider providing much richer analytical experience to much more users.
- embedded analytics is only one part of the Analytics in S/4HANA story, other solutions may also be used in delivering a more complete S/4HANA analytics story.
- SAC BI (Story) and Application Design, and BusinessObjects can be the frontend of the data source in S/4HANA.
- BPC Optimized for S/4HANA provides reporting functions as well, which is one of the most important reports in S/4HANA (Management Accounting). It is based on embedded BW function. Hence BW skill is needed here.
- Standalone BW (BW/4HANA etc) and/or Embedded BW can or should be used for analyzing data in S/4HANA. It is important to consider which report should be sourced from S/4HANA, which should be sourced from standanloe BW.
- Data Volume management needs to be considered covering S/4HANA and BW, g. data older than 2 years is deleted from S/4HANA and analyzed in BW.
- HANA Calculation View can be the data source in S/4HANA Analytics. But it is not SAP strategic direction. No standard Fiori apps use HANA Calculation View in S/4HANA.
- Don’t forget to size for embedded analytics to avoid the system being unstable. The quick sizer includes parameters for embedded analytics sizing considerations.
embedded analytics and other analytical solutions
S/4HANA embedded analytics is the function for real-time operational analytics in S/4HANA. It consists of ABAP CDS Views ( or OData service not from CDS View) as data source and Fiori Analytical application the as frontend. Other than embedded analytics, Standalone BW or Embedded BW can be the data source for analyzing data in S/4HANA. Embedded BW is the BW function in S/4HANA system. As the frontend, other than S/4HANA embedded analytics, SAP Analytics Cloud BI and Application Design, and BusinessObjets are available. Standalone/Embedded BW or/and SAP Analytics Cloud/BusinessObjects are used together with embedded analytics in S/4HANA analytics.
S/4HANA embedded analytics in detail
embedded analytics is a part of Fiori
S/4HANA embedded analytics is a part of Fiori. “Fiori” has many meanings; it includes predefined standard Fiori apps, framework to create Fiori app, and Fiori launchpad. Standard Fiori apps for analytics and framework to create Fiori analytical app are included in embedded analytics. Needless to say, Fiori analytical apps are launched from Fiori Launchpad.
In my understanding, many customers start using Fiori from Analytical apps. So, I want to say embedded analytics is the MAIN part of Fiori!
There are 2 approaches to enjoy embedded analytics:
1) Use Standard Fiori apps for analytics
2) Create custom Fiori app for analytics
The former approach should be led by Functional experts and Fiori Expert, not analytic experts.
embedded analytics technologies
In basic scenarios, the data source of embedded analytics is ABAP CDS Views, which are consumed by the Fiori analytical application.
ABAP CDS View and Virtual Data Model (VDM)
ABAP CDS View is a view and which is the object in the ABAP application server. It is used instead of HANA Calculation View in standard Fiori apps as of S/4HANA Enterprise Management (1511~). ABAP CDS View includes SELECT statement of SQL and it is expected to realize calculations within SELECT Statement. By doing that, pushdown to optimize application server runtime can be realized. It can also include application specific settings with Annotations. CDS View is SAP specific technology.
Virtual Data Model (VDM) is the predefined View for the entities in S/4HANA created with ABAP CDS View. By using VDM instead of creating custom CDS View, development effort could be saved.
In the VDM “G/L Account Balance Cube”, balance value is calculated from ACDOCA dynamically and multidimensional analytics is possible. By using it, it is not necessary to design the model to calculate balance value from delta value stored in ACDOCA by the customer themselves.
Release status of VDM has to be considered. In S/4HANA 1809, more than 33,000 VDMs are provided, but the number of VDMs available to be reused (Category=CUBE/DIMENSION) is about 2,700, and the number of “Released” VDMs in them is about 1,500. Released means SAP guarantees the view should not have critical design change in the newer versions. Unreleased VDMs are NOT supported officially and customers would have to use them at their own risk. By creating a Customer Incident, unreleased VDMs might be released by SAP.
In CDS View, data authorization is controlled with Authorization Object, and Data Control Language (DCL) is used to connect fields of CDS View to Authorization Object.
It should be designed to optimize the performance (avoid longer runtime). In Quick Sizer of embedded analytics, the maximum runtime is expected to be 10 seconds. If access time to a CDS View is 60 seconds, the impact is not only on the runtime of the report, but much more hardware resource would be needed and 6 times more hardware resource would be needed than heavy query (runtime is supposed to be 10 sec).
Tips and Further Details about CDS View and VDM from the following links:
- Example: Custom CDS View using predefined Virtual Data Model and Extend View in S/4HANA
- Predefined Virtual Data Model as example for understanding difference of CDS View type
- How to find a predefined Virtual Data Model in S/4HANA
- How to deal with “Not released” predefined VDM in S/4HANA
- Safeguard Performance of ABAP CDS Views – Part 1 CDS View Complexity (and subsequent blogs of this series).
- Standard DEMO Examples of ABAP CDS views
FYI:BW Query can be created on top of CDS View
Fiori Content types and analytical apps
There are some content types in Fiori application. Many of the standard Fiori applications are created based on content types, e.g. Content type of “Invoice Price Variance (F0682)” is “KPI Tile” and UI technology is “SAP Fiori: SAP Smart Business generic drill down app”. The applications whose application types are set as “Analytical” are categorized as Analytical app (i.e. embedded analytics). Design Studio, Analytical List Page, Overview Page, KPI Tile, (Report), Analysis Path Framework and some free style apps for analytics are included in embedded analytics officially. In addition, I know List Report is sometimes used for analytical purpose. I think this can be included in analytical app as well.
In my opinion, which content types, SAP says, are in embedded analytics or which are not is not so important. We can simply say the apps used for analytical purpose are analytical app.
(linked demo/page is not the same as the example).
Content Type | Application type | UI technology | Comm | Example |
Design Studio | Analytical, Design Studio | SAP Fiori: Design Studio | INA | Journal Entry Analyzer |
List Report | Transactional | SAP Fiori Elements | OData | Evaluate Suppliers |
Analytical List Page | Analytical | SAP Fiori Elements | OData | Budget Analysis |
Object Page | Transactional | SAP Fiori Elements | OData | Invoice List |
Worklist | Transactional | SAP Fiori Elements | OData | – |
Overview Page | Analytical | SAP Fiori Elements: Overview Page | OData | Order-to-Cash Performance – Overview |
KPI tile | Analytical | SAP Fiori: SAP Smart Business generic drill down app | OData | Liquidity Forecast |
Report (similar to ALP) | Analytical | (no Standard app) | OData | (Same as Analytical List Report) |
Analysis Path Framework (APF) | Analytical | SAP Fiori: Analysis Path Framework (APF) | OData | Sales Volume – Detailed Analysis |
Free style app | Transactional /Analytical | SAP Fiori (SAPUI5) | OData |