ERPClimb logoERPClimb
Embedded Analytics
BW / Analyticsintermediate 11 min read

Integrating BW Queries with S/4HANA Embedded Analytics via CDS Views (Part 3)

Preview · a free account unlocks the full lesson

Key takeaway

Learn how S/4HANA embedded analytics CDS views expose operational data directly for analytical consumption, how they relate to BW queries and InfoProviders, and how consultants design hybrid reporting architectures that combine live operational data with historical BW data.

In this lessonShow sections

Visual overview

Integrating BW Queries with S/4HANA Embedded Analytics via CDS Views (Part 3) — learning sheetIn one line: Learn how S/4HANA embedded analytics CDS views expose operational data directly for analytical consumption, how they relate to BW queries and InfoProviders, and how consultants design hybrid reporting architectures that combine live operational data with historical BW data.ERPClimb.com / BW / LESSON 3/4 / LEARNING SHEETIntegrating BW Queries with S/4HANA Embedded Analytics viaCDS Views (Part 3)1 · IN ONE LINELearn how S/4HANA embedded analytics CDS views expose operational data directly foranalytical consumption, how they relate to BW queries and InfoProviders, and how consultantsdesign hybrid reporting architectures that combine live operational data with historical BW…2 · KEY IDEAS EXPLAINED1Embedded analytics in S/4HANA is built on theprinciple that transactional tables can be readlive, in real time, without extraction, using CDS(Core Data Services) views annotated withanalytical semantics. This is architecturallydifferent from classical BW, where data is…2A CDS view intended for analytical consumptioncarries annotations such as @Analytics.query:true, which tells the system to expose it as anOData analytical service consumable by Fiorianalytical apps, Analysis for Office, or SAPAnalytics Cloud live connections. These views are…3The key difference from BW is persistence andlatency. Embedded analytics CDS views executetheir logic at query runtime against liveoperational tables in the S/4HANA database, so thedata is always current to the second, but everyquery execution recalculates joins and…4In practice, most enterprise landscapes use bothapproaches together. Embedded analytics is wellsuited to operational, tactical reporting needssuch as open sales order monitoring, real-timeinventory positions, or exception dashboards whereusers need current-day accuracy and the data…3 · DO · AVOIDBest practice!Common mistakeUse embedded analytics CDS views foroperational, low-latency reporting needs…Reserve BW/4HANA for historical trendanalysis, multi-source integration, and…Push filtering and aggregation as early aspossible in the VDM layer (interface/basic…✕Assuming embedded analytics CDS views and BWqueries will always show identical numbers…✕Applying BW analysis authorization concepts toCDS views and expecting automatic equivalence…✕Building deeply nested custom CDS views withjoins and currency conversions in the…4 · IN A REAL PROJECTA retail customer running S/4HANA on-premise wanted a real-time 'open orders and available stock' dashboardfor regional sales managers, while finance continued to rely on BW/4HANA for month-end revenue reporting withfull historical trending. The project team built a custom analytical CDS view on top of standard sales order…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Embedded analytics in S/4HANA is built on the principle that transactional tables can be read live, in real time, without extraction, using CDS (Core Data Services) views annotated with analytical semantics. This is architecturally different from classical BW, where data is extracted, transformed, and persisted in InfoProviders before it can be queried. Understanding when to use embedded analytics CDS views versus BW queries is a core skill for any consultant working on S/4HANA or BW/4HANA landscapes.

A CDS view intended for analytical consumption carries annotations such as @Analytics.query: true, which tells the system to expose it as an OData analytical service consumable by Fiori analytical apps, Analysis for Office, or SAP Analytics Cloud live connections.

These views are built on top of interface views and basic views in a layered virtual data model (VDM), where basic views read directly from underlying transparent tables or database views, composite views combine multiple basic views with joins and unions, and consumption views add aggregation, filtering, and analytical annotations for reporting.

The key difference from BW is persistence and latency. Embedded analytics CDS views execute their logic at query runtime against live operational tables in the S/4HANA database, so the data is always current to the second, but every query execution recalculates joins and aggregations on the fly. BW queries, by contrast, run against materialized InfoProviders where data has already been extracted, transformed, and often pre-aggregated, trading data freshness for predictable query performance and the ability to combine years of historical data without stressing the operational system.

In practice, most enterprise landscapes use both approaches together. Embedded analytics is well suited to operational, tactical reporting needs such as open sales order monitoring, real-time inventory positions, or exception dashboards where users need current-day accuracy and the data volume is bounded by natural operational limits (open documents, current period).

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Code example
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.