CDS Dimension View - Beispiel
@AbapCatalog.sqlViewName: 'SQL_VIEW_NAME'
@EndUserText.label: 'Material'
@ObjectModel.representativeKey: 'material'
@Analytics.dataCategory: #DIMENSION
define view zjb_material_dim
as select from /bi0/pmaterial as dim
association [0..*] to zjb_material_txt as _MaterialText
on dim.material = _material_text.material
{
@ObjectModel.text.association: '_MaterialText'
key material,
changed,
@Semantics.systemDate.createdAt: true
createdon,
division,
eanupc,
ind_sector,
matl_cat,
matl_group,
...
}