A_CnsldtnPostingLevel

DDL: A_CNSLDTNPOSTINGLEVEL SQL: ACSPOSTINGLEVEL Type: view BASIC

Posting Level

A_CnsldtnPostingLevel is a Basic CDS View that provides data about "Posting Level" in SAP S/4HANA. It reads from 1 data source (I_CnsldtnPostingLevel) and exposes 5 fields with key field PostingLevel. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CnsldtnPostingLevel _PostingLevel from

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_CnsldtnPostingLevelT _CnsldtnPostingLevelT $projection.PostingLevel = _CnsldtnPostingLevelT.PostingLevel
[0..*] A_CnsldtnPostingLevelHier _CnsldtnPostingLevelHier $projection.HierarchyType = 'CS21'

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ACSPOSTINGLEVEL view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey PostingLevel view
ObjectModel.sapObjectNodeType.name ConsolidationPostingLevel view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Posting Level view
OData.entitySet.name PostingLevel view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PostingLevel
MDHierType
HierarchyType
_CnsldtnPostingLevelT _CnsldtnPostingLevelT
_CnsldtnPostingLevelHier _CnsldtnPostingLevelHier
@AbapCatalog.sqlViewName: 'ACSPOSTINGLEVEL'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {
  dataClass: #CUSTOMIZING,
  serviceQuality: #A,
  sizeCategory: #S
}
@ObjectModel.representativeKey: 'PostingLevel'
@ObjectModel.sapObjectNodeType.name: 'ConsolidationPostingLevel'

@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@EndUserText.label: 'Posting Level'
@OData.entitySet.name: 'PostingLevel'

define view A_CnsldtnPostingLevel
  as select from I_CnsldtnPostingLevel as _PostingLevel
  
  association [0..*] to A_CnsldtnPostingLevelT    as _CnsldtnPostingLevelT    on $projection.PostingLevel = _CnsldtnPostingLevelT.PostingLevel
  
  association [0..*] to A_CnsldtnPostingLevelHier as _CnsldtnPostingLevelHier on $projection.HierarchyType = 'CS21'
  
{
      @ObjectModel.text.association: '_CnsldtnPostingLevelT'
  key cast(_PostingLevel.PostingLevel as fc_plevl preserving type ) as PostingLevel, // cast back to old definition


      @Consumption.hidden: true
      cast ( 'CS21' as hrytype ) as MDHierType, //required for being able to create a navigation to the hierarchy

      @Consumption.hidden: true
      cast ( 'CS21' as hrytype ) as HierarchyType, //required for being able to create a navigation to the hierarchy



      // associations

      _CnsldtnPostingLevelT, // required for text retrieval and navigation

      _CnsldtnPostingLevelHier 
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CNSLDTNPOSTINGLEVEL"
],
"ASSOCIATED":
[
"A_CNSLDTNPOSTINGLEVELHIER",
"A_CNSLDTNPOSTINGLEVELT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/