Cds_View_Cubes
All Analytical Cubes
Cds_View_Cubes is a CDS View that provides data about "All Analytical Cubes" in SAP S/4HANA. It reads from 5 data sources (Cds_View_Annotation, ddddlsrc, ddldependency, this, this) and exposes 4 fields with key field DDLSourceName.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| Cds_View_Annotation | _Cubes | inner |
| ddddlsrc | ddddlsrc | from |
| ddldependency | ddldependency | inner |
| this | this | inner |
| this | this | inner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CDSVIEWCUBES | view | |
| EndUserText.label | All Analytical Cubes | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DDLSourceName | ddddlsrc | ddlname | |
| CDSName | ddldependency | objectname | ||
| SQLViewName | ||||
| AnnotationValue |
@AbapCatalog.sqlViewName: 'CDSVIEWCUBES'
@EndUserText.label: 'All Analytical Cubes'
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.sizeCategory: #L
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view Cds_View_Cubes as select from ddddlsrc
inner join ddldependency
on ddddlsrc.ddlname = ddldependency.ddlname
and ddddlsrc.as4local = 'A' and ddldependency.state = 'A' and ddldependency.objecttype = 'STOB'
left outer to one join Cds_Sql_View ----------------Please don't change the left outer joi to inner join this is done for V1 built over V2 for marketing
on ddddlsrc.ddlname = Cds_Sql_View.DDLSourceName
inner join Cds_View_Annotation as _Cubes
on ddldependency.objectname = _Cubes.CDSName
and _Cubes.AnnotationName = 'ANALYTICS.DATACATEGORY' and _Cubes.AnnotationValue = '#CUBE' {
key ddddlsrc.ddlname as DDLSourceName,
ddldependency.objectname as CDSName,
coalesce( Cds_Sql_View.SQLViewName, ddddlsrc.ddlname) as SQLViewName, ----------------Please don't change the left outer joi to inner join this is done for V1 built over V2 for marketing
// Cds_Sql_View.SQLViewName as SQLViewName,
_Cubes.AnnotationName,
_Cubes.AnnotationValue
}
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