SAP Knowledge Base Article - Public

2489701 - Is it possible to aggregate in the Data Preview when using CDS view

Symptom

When creating a custom CDS view from I_MaterialStock, the Data Preview screen is not aggregating the stock quantity.

Environment

SAP S/4HANA Cloud Public Edition 1705

Reproducing the Issue

  1. Login to Fiori Launchpad
  2. Create a CDS view I_MaterialStock
  3. Data preview screen will not show the aggregation of the stock quantity information

Cause

This is expected behavior.

Resolution

This is working correctly as designed.

  • The data preview in the app does not show aggregated data, it shows only single line items
  • The data is aggregated only if the view is exposed, for example consumed via OData service or analytical scenario

Keywords

CD Views aggregate, Fiori CD View I_MaterialStock , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud 1705