I_CnsldtnDocTypeHierarchy_2

DDL: I_CNSLDTNDOCTYPEHIERARCHY_2 Type: view BASIC

Consolidation Document Type Hierarchy

I_CnsldtnDocTypeHierarchy_2 is a Basic CDS View (Dimension) that provides data about "Consolidation Document Type Hierarchy" in SAP S/4HANA. It reads from 1 data source (hrrp_directory) and exposes 6 fields with key fields ConsolidationDocTypeHierarchy, ValidityEndDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
hrrp_directory _Hierarchy from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CnsldtnDocTypeHierarchyT_2 _Text $projection.ConsolidationDocTypeHierarchy = _Text.ConsolidationDocTypeHierarchy

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ICCDOCTYPEHDIR2 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Analytics.internalName #LOCAL view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ConsolidationDocTypeHierarchy view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
VDM.viewType #BASIC view
EndUserText.label Consolidation Document Type Hierarchy view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationDocTypeHierarchy
KEY ValidityEndDate hrrp_directory hryvalto
ValidityStartDate hrrp_directory hryvalfrom
LastChangedByUser
LastChangeDateTime
_Text _Text
@AbapCatalog: {
  sqlViewName: 'ICCDOCTYPEHDIR2',
  compiler.compareFilter: true,
  preserveKey: true
}
@Analytics: {
  internalName:#LOCAL,
  dataCategory: #DIMENSION,
  dataExtraction.enabled: true
  }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata:{
  allowExtensions:true,
  ignorePropagatedAnnotations: true
  }
@ObjectModel: {
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #A,
    sizeCategory: #S},
  representativeKey: 'ConsolidationDocTypeHierarchy',
  modelingPattern: #ANALYTICAL_DIMENSION,
  supportedCapabilities: [#CDS_MODELING_DATA_SOURCE,
                          #CDS_MODELING_ASSOCIATION_TARGET,
                          #SQL_DATA_SOURCE,
                          #EXTRACTION_DATA_SOURCE,                          
                          #ANALYTICAL_DIMENSION ]
  }
@VDM.viewType: #BASIC
@EndUserText.label: 'Consolidation Document Type Hierarchy'

/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ]  } */
define view I_CnsldtnDocTypeHierarchy_2
  as select from hrrp_directory as _Hierarchy

  association [0..*] to I_CnsldtnDocTypeHierarchyT_2 as _Text on $projection.ConsolidationDocTypeHierarchy = _Text.ConsolidationDocTypeHierarchy
  //                                                            and $projection.ValidityEndDate            = _Text.ValidityEndDate


{
      @ObjectModel.text.association: '_Text'
  key cast(_Hierarchy.hryid as fincs_doctypehierarchy preserving type )     as ConsolidationDocTypeHierarchy,

      @Semantics.businessDate.to: true
  key _Hierarchy.hryvalto                                                   as ValidityEndDate,

      @Semantics.businessDate.from: true
      _Hierarchy.hryvalfrom                                                 as ValidityStartDate,

      @Semantics.user.lastChangedBy: true
      cast(_Hierarchy.upduser as fincs_lastchangedbyuser preserving type )  as LastChangedByUser,

      @Semantics.systemDateTime.lastChangedAt: true
      cast(_Hierarchy.updtime as fincs_lastchangedatetime preserving type ) as LastChangeDateTime,


      /* Associations */
      _Text
}
where
  _Hierarchy.hrytyp = 'CS19';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"HRRP_DIRECTORY"
],
"ASSOCIATED":
[
"I_CNSLDTNDOCTYPEHIERARCHYT_2"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/