I_ProductHierarchyNode

DDL: I_PRODUCTHIERARCHYNODE Type: view BASIC

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)

SourceAliasJoin Type
t179 t179 from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ProductHierarchyNodeText _Text $projection.ProductHierarchyNode = _Text.ProductHierarchyNode

Annotations (13)

NameValueLevelField
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

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY ProductHierarchyNode t179 prodh
ProductHierarchyNodeLevel t179 stufe
_Text _Text
@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
}