DEMO_CDS_AGGREGATES_VE
DEMO_CDS_AGGREGATES_VE is a CDS View in SAP S/4HANA. It reads from 1 data source (scarr) and exposes 2 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| scarr | scarr | from |
Annotations (1)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| count1 | ||||
| countNull |
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity DEMO_CDS_AGGREGATES_VE
as select from scarr
{
count( distinct case carrid when 'LH' then 'LH' end ) as count1,
count( distinct case carrid when 'XX' then 'LH' end ) as countNull
}
where
carrid = 'LH'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"SCARR"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA