A_CnsldtnPartFuncnlAreaHierT

DDL: A_CNSLDTNPARTFUNCNLAREAHIERT Type: view BASIC

Combined Partner Functional Area Hier - Text

A_CnsldtnPartFuncnlAreaHierT is a Basic CDS View that provides data about "Combined Partner Functional Area Hier - Text" in SAP S/4HANA. It reads from 2 data sources (I_CnsldtnFuncnlAreaHierNode, I_CnsldtnFuncnlAreaHierNodeT) and exposes 8 fields with key fields AdditionalMasterDataHierarchy, HierarchyNode, ValidityEndDate, Language. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_CnsldtnFuncnlAreaHierNode _HierarchyNode inner
I_CnsldtnFuncnlAreaHierNodeT _HierarchyNodeText from

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_CnsldtnPartFctArHierDir _CnsldtnPartFctArHierDir $projection.AdditionalMasterDataHierarchy = _CnsldtnPartFctArHierDir.AdditionalMasterDataHierarchy and $projection.ValidityEndDate = _CnsldtnPartFctArHierDir.ValidityEndDate

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSPARTFUNAREAHT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey HierarchyNode view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Partner Functional Area Hier - Text view
OData.entitySet.name PartnerFunctionalAreaHierText view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY AdditionalMasterDataHierarchy Functional Area Hierarchy
KEY HierarchyNode I_CnsldtnFuncnlAreaHierNodeT HierarchyNode
KEY ValidityEndDate I_CnsldtnFuncnlAreaHierNodeT ValidityEndDate
KEY Language I_CnsldtnFuncnlAreaHierNodeT Language
HierarchyNodeText I_CnsldtnFuncnlAreaHierNodeT HierarchyNodeText
ValidityStartDate I_CnsldtnFuncnlAreaHierNodeT ValidityStartDate
NodeType I_CnsldtnFuncnlAreaHierNode NodeType
_CnsldtnPartFctArHierDir _CnsldtnPartFctArHierDir
@AbapCatalog:{
  sqlViewName: 'ACSPARTFUNAREAHT',
  compiler.compareFilter: true,
  preserveKey: true
  }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
  dataClass: #MASTER,
  serviceQuality: #C,
  sizeCategory: #XL}
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'HierarchyNode'
@VDM:{
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
  }
@EndUserText.label: 'Combined Partner Functional Area Hier - Text'
@OData.entitySet.name: 'PartnerFunctionalAreaHierText'

define view A_CnsldtnPartFuncnlAreaHierT
  as select from I_CnsldtnFuncnlAreaHierNodeT as _HierarchyNodeText

    inner join   I_CnsldtnFuncnlAreaHierNode  as _HierarchyNode on  _HierarchyNode.CnsldtnFunctionalAreaHierarchy = _HierarchyNodeText.CnsldtnFunctionalAreaHierarchy
                                                                and _HierarchyNode.HierarchyNode                  = _HierarchyNodeText.HierarchyNode
                                                                and _HierarchyNode.ValidityEndDate                = _HierarchyNodeText.ValidityEndDate

  association [0..1] to A_CnsldtnPartFctArHierDir as _CnsldtnPartFctArHierDir on  $projection.AdditionalMasterDataHierarchy = _CnsldtnPartFctArHierDir.AdditionalMasterDataHierarchy
                                                                              and $projection.ValidityEndDate               = _CnsldtnPartFctArHierDir.ValidityEndDate
{
      @ObjectModel.foreignKey.association: '_CnsldtnPartFctArHierDir'
      @EndUserText.label: 'Functional Area Hierarchy'
  key cast(left(_HierarchyNodeText.CnsldtnFunctionalAreaHierarchy, 40) as fincs_hryid preserving type ) as AdditionalMasterDataHierarchy,

  key _HierarchyNodeText.HierarchyNode,

      @Semantics.businessDate.to: true
  key _HierarchyNodeText.ValidityEndDate,

      @Semantics.language: true
  key _HierarchyNodeText.Language,

      @Semantics.text: true
      _HierarchyNodeText.HierarchyNodeText,

      @Semantics.businessDate.from: true
      _HierarchyNodeText.ValidityStartDate,

      _HierarchyNode.NodeType,

      _CnsldtnPartFctArHierDir
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNFUNCNLAREAHIERNODE",
"I_CNSLDTNFUNCNLAREAHIERNODET"
],
"ASSOCIATED":
[
"A_CNSLDTNPARTFCTARHIERDIR"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/