I_ProductHierarchyNode
Product Hierarchy Node
I_ProductHierarchyNode is a Basic CDS View (Dimension) that provides data about "Product Hierarchy Node" in SAP S/4HANA. It reads from 1 data source (t179) and exposes 3 fields with key field ProductHierarchyNode. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t179 | t179 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ProductHierarchyNodeText | _Text | $projection.ProductHierarchyNode = _Text.ProductHierarchyNode |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Product Hierarchy Node | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | IPRODHIERNODE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.representativeKey | ProductHierarchyNode | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
@EndUserText.label: 'Product Hierarchy Node' //same as DDL description
@Analytics.dataCategory: #DIMENSION //or #CUBE or #FACT
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog:{
sqlViewName: 'IPRODHIERNODE', //must start with "I"
compiler.compareFilter: true,
preserveKey: true
}
@ObjectModel:{
usageType:{
serviceQuality: #A,
sizeCategory : #S,
dataClass: #MASTER
},
representativeKey: 'ProductHierarchyNode'
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
define view I_ProductHierarchyNode //must start with "I_"; same as DDL source name in upper-camelcase notation
as select from t179
association [0..*] to I_ProductHierarchyNodeText as _Text on $projection.ProductHierarchyNode = _Text.ProductHierarchyNode
{
//key cast (${DatabaseFieldName} as ${DataElementWithProperLabel}) as ${GlobalFieldName},
//_${TargetPublicBasicViewNameWithoutPrefix} //expose the association for use by consumers
@ObjectModel.text.association: '_Text'
key t179.prodh as ProductHierarchyNode,
t179.stufe as ProductHierarchyNodeLevel,
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T179"
],
"ASSOCIATED":
[
"I_PRODUCTHIERARCHYNODETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
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