I_OrderHierarchy

DDL: I_ORDERHIERARCHY SQL: IFIORDERH Type: view BASIC

Order Hierarchy

I_OrderHierarchy is a Basic CDS View (Dimension) that provides data about "Order Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_dir_n) and exposes 8 fields with key fields OrderHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_dir_n hrrp_dir_n from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_OrderHierarchyText _Text $projection.OrderHierarchy = _Text.OrderHierarchy and $projection.ValidityEndDate = _Text.ValidityEndDate

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IFIORDERH view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Order Hierarchy view
ObjectModel.representativeKey OrderHierarchy view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
Analytics.internalName #LOCAL view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY OrderHierarchy
KEY ValidityEndDate
ValidityStartDate
LastChangedByUser hrrp_dir_n upduser
LastChangeDateTime hrrp_dir_n updtime
LastChangeTime hrrp_dir_n updtime
HierarchyShortID hrrp_dir_n hrysid
_Text _Text
@AbapCatalog.sqlViewName: 'IFIORDERH'
@AbapCatalog.preserveKey:true
@AbapCatalog.compiler.compareFilter:true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Order Hierarchy'
@ObjectModel.representativeKey: 'OrderHierarchy' //Inserted by VDM CDS Suite Plugin

@Analytics: { dataCategory: #DIMENSION }
@VDM.viewType: #BASIC
@Metadata.allowExtensions:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #A,
  sizeCategory: #XL
}
@Analytics.internalName:#LOCAL

define view I_OrderHierarchy
  as select from hrrp_dir_n
  association [1..*] to I_OrderHierarchyText as _Text on  $projection.OrderHierarchy  = _Text.OrderHierarchy
                                                      and $projection.ValidityEndDate = _Text.ValidityEndDate


{

      @ObjectModel.text.association: '_Text'
  key cast ( hrrp_dir_n.hryid_42 as fis_iorder preserving type )   as OrderHierarchy,
      @Semantics.businessDate.to: true
  key cast(hrrp_dir_n.hryvalto as fis_datbi preserving type )   as ValidityEndDate,
      @Semantics.businessDate.from: true
      cast(hrrp_dir_n.hryvalfrom as fis_datab preserving type ) as ValidityStartDate,
      @Semantics.user.lastChangedBy: true
      hrrp_dir_n.upduser                                        as LastChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      hrrp_dir_n.updtime                                        as LastChangeDateTime,
      @API.element.releaseState: #DEPRECATED
      @API.element.successor:    'LastChangeDateTime'
      @VDM.lifecycle.status:    #DEPRECATED
      @VDM.lifecycle.successor: 'LastChangeDateTime'
      hrrp_dir_n.updtime                                        as LastChangeTime,
      hrrp_dir_n.hrysid                                         as HierarchyShortID,
      _Text

}
where
  hrytyp = '0103';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_DIR_N"
],
"ASSOCIATED":
[
"I_ORDERHIERARCHYTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/