20/11/2024
Leveraging Analysis Path Framework (APF) with CDS Views for developing Fiori Apps in SAP S/4HANA
In the fast-evolving world of SAP S/4HANA, analytics plays a pivotal role in driving informed business decisions. With the increasing volume of data available, organizations require tools that not only simplify data access but also enhance user experience. The Analysis Path Framework (APF) stands out as a powerful solution in this landscape, enabling developers to create sophisticated analytical applications with ease. By providing a structured way to navigate through data, APF allows users to interactively explore and analyze information, making it an essential component for modern SAP applications. This post will explore what APF is, who can benefit from it, and how it seamlessly integrates with Core Data Services (CDS) views to enhance both functionality and user engagement.
What is APF?
The Analysis Path Framework (APF) is a tool within SAP that enables developers to create analytical applications with a focus on data visualization and user interactivity. It provides a structured way to navigate through data, allowing users to drill down into details and perform analyses effectively. APF supports various data sources and integrates well with Fiori design principles, making it an ideal choice for modern SAP applications.
Main functionalities:
- Guided Navigation: APF provides a step-by-step approach to data exploration, helping users navigate through complex data sets effortlessly.
- Flexible Data Model Integration: Supports a variety of data sources, including ODATA based on CDS views, HANA views, and external databases, making it adaptable to different analytical requirements.
- Visual Analytics: Offers a range of visualization options, such as charts, graphs, and tables, to present data in a comprehensible and engaging manner.
- Dynamic Filtering: Users can apply multiple filters in real-time to refine their data analysis, allowing for precise insights tailored to specific criteria.
- Collaborative Features: Enables users to save and share their analytical paths and findings, fostering collaboration and knowledge sharing within teams.

What can be done in APF?
APF supports real-time data refresh capabilities, ensuring that users are always viewing the most current information.
- Filters
- APF supports predefined filters and smart filters. Users are free to choose their selection with help of smart filters and apply their selection criteria to all ODATA included in the application
- Path
- Users can choose multiple predefined steps based on the dimensions to create their own path of analysis.
- Each step can be referenced with different ODATA. The steps in a path can be re-aligned as per business need to find critical information.
- Users can interact with the data as APF supports Interactive Visualization
- Paths can be saved and referenced again for various business scenarios.
- Users can share their findings with team members or stakeholders. This sharing capability is vital for collaborative analysis, as it enables discussions around the data insights and fosters a collective approach to decision-making
- Users can export their configurations and visualizations to share via reports or presentations, ensuring that valuable insights are communicated effectively across the organization
- Navigation
- APF supports intent based navigation.
- Two types of navigation can be enabled in APF. It can be enabled globally to all steps or Specific to a step.
- Application data will be communicated between the apps when user selects navigation. It enables the possibility to user to integrate another analysis application.

Who benefits from APF?
APF’s flexibility and capability to integrate with various data sources make it applicable to nearly any industry that relies on data analysis. By enabling organizations to create intuitive, analytical applications, APF can drive insights that lead to improved decision-making and operational efficiency.
APF is designed for a diverse range of users:
Developers: Those building Fiori apps can leverage APF to create intuitive analytical experiences without extensive front-end programming.
Business Analysts: They can utilize APF to develop applications that meet specific analytical needs, often without requiring deep technical expertise.
Data Scientists: By integrating APF with data models, data scientists can create applications that facilitate complex data analysis.
Utilizing CDS Views within APF
The integration of the Analysis Path Framework (APF) with Core Data Services (CDS) views is facilitated by the APF Configuration Modeler. This powerful tool allows developers to create and manage analytical applications by configuring the relationships between data models and the visual representations in APF.
Core Data Services (CDS) views provide a powerful way to define and consume data models in SAP S/4HANA. When combined with APF, CDS views offer a robust framework for data access.
Here’s how APF effectively leverages CDS views:
Data Modeling: CDS views enable developers to create semantic data models that are easy to understand and use within APF.
Integration: APF can consume CDS views directly, allowing for rich data interactions without needing extensive coding.
Interactivity: With APF, users can navigate through data defined in CDS views, facilitating a seamless analytical experience.

This simple CDS view fetches intercompany data, which can be leveraged in an APF application.
Wrapping up
The combination of the Analysis Path Framework (APF) and Core Data Services (CDS) views in SAP S/4HANA provides a powerful approach to developing Fiori applications. By understanding the capabilities of APF and its integration with CDS, developers and analysts can create insightful and user-friendly applications that enhance decision-making processes.
Written by:

Anna Ardemasova
Consultant @ Cubis

Chinniah Sivaraj
Consultant @ Cubis
