SAP Knowledge Base Article - Public

3120615 - Custom CDS View has no data returned when using expression-based filter - S/4HANA Cloud

Symptom

No data is returned from a custom CDS view when using an expression-based filter

Environment

  • SAP S/4HANA Cloud
  • Custom CDS Views app

Reproducing the Issue

  1. Create custom CDS view
  2. Add expression-based filter
  3. Filter on a value which doesn't exist in the data from the data source used for the custom CDS view
  4. Preview the data

Cause

The filter is set for a value which doesn't exist in the data source

Resolution

Update the filter with a value that is correct for the data source used in the custom CDS view.

Keywords

custom cds expression based filter value no data empty blank , KBA , BC-SRV-APS-GKE , Generic CDS Key User Editor , Problem

Product

SAP S/4HANA Cloud all versions