A_CnsldtnPartSegmentHierDir

DDL: A_CNSLDTNPARTSEGMENTHIERDIR Type: view BASIC Package: FIN_CS_MD_API

Combined Partner Segment Hierarchy Dir

A_CnsldtnPartSegmentHierDir is a Basic CDS View that provides data about "Combined Partner Segment Hierarchy Dir" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnSegmentHierarchy) and exposes 7 fields with key fields ConsolidationSegmentHierarchy, ValidityEndDate. Part of development package FIN_CS_MD_API.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnSegmentHierarchy I_CnsldtnSegmentHierarchy from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName ACSPSGMTHIERDIR 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 #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey ConsolidationSegmentHierarchy view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Combined Partner Segment Hierarchy Dir view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ConsolidationSegmentHierarchy Cnsldtn Segment Hierarchy
KEY ValidityEndDate ValidityEndDate
ValidityStartDate ValidityStartDate
LastChangedByUser LastChangedByUser
LastChangeDateTime LastChangeDateTime
MDHierType
HierarchyType
@AbapCatalog:{
  sqlViewName: 'ACSPSGMTHIERDIR',
  compiler.compareFilter: true,
  preserveKey: true
  }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel:{
  usageType: {
    dataClass: #MASTER,
    serviceQuality: #A,
    sizeCategory: #S},
    representativeKey: 'ConsolidationSegmentHierarchy'
  }
@VDM:{
  viewType: #BASIC,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
  }
@EndUserText.label: 'Combined Partner Segment Hierarchy Dir'

define view A_CnsldtnPartSegmentHierDir
  as select from I_CnsldtnSegmentHierarchy

{
      @EndUserText.label: 'Cnsldtn Segment Hierarchy'
  key cast(left(ConsolidationSegmentHierarchy, 40) as fincs_hryid_segment preserving type ) as ConsolidationSegmentHierarchy,

      @Semantics.businessDate.to: true
  key ValidityEndDate,

//      @Semantics.businessDate.from: true

      ValidityStartDate,

      LastChangedByUser,

      LastChangeDateTime,

      cast('CS01' as hrytype)                                                               as MDHierType,
      cast('CS01' as hrytype)                                                               as HierarchyType
}