A_CnsldtnPostingLevel
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)
| Source | Alias | Join Type |
|---|---|---|
| I_CnsldtnPostingLevel | _PostingLevel | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_CnsldtnPostingLevelT | _CnsldtnPostingLevelT | $projection.PostingLevel = _CnsldtnPostingLevelT.PostingLevel |
| [0..*] | A_CnsldtnPostingLevelHier | _CnsldtnPostingLevelHier | $projection.HierarchyType = 'CS21' |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA