I_PostingKey
Posting Key
I_PostingKey is a Basic CDS View (Dimension) that provides data about "Posting Key" in SAP S/4HANA. It reads from 1 data source (tbsl) and exposes 9 fields with key field PostingKey. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tbsl | tbsl | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PostingKeyText | _PostingKeyText | $projection.PostingKey = _PostingKeyText.PostingKey |
| [0..*] | I_PostingKeyT | _Text | $projection.PostingKey = _Text.PostingKey |
Annotations (22)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IFIPOSTINGKEY | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AbapCatalog.buffering.numberOfKeyFields | 1 | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Posting Key | view | |
| ObjectModel.representativeKey | PostingKey | view | |
| ObjectModel.sapObjectNodeType.name | PostingKey | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view |
@AbapCatalog: { sqlViewName: 'IFIPOSTINGKEY',
preserveKey: true,
compiler.compareFilter: true,
buffering: { status: #ACTIVE,
type: #FULL,
numberOfKeyFields: 1 } }
@AccessControl.authorizationCheck: #NOT_REQUIRED // #CHECK
@Analytics:{
dataCategory: #DIMENSION,
dataExtraction: {
enabled: true,
delta.changeDataCapture: {
mapping:
[
{
table: 'tbsl',
role: #MAIN,
viewElement: ['PostingKey'],
tableElement: ['bschl']
}
]
}
}
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Posting Key'
@ObjectModel: { representativeKey: 'PostingKey',
sapObjectNodeType.name: 'PostingKey',
usageType: { sizeCategory: #S,
dataClass: #CUSTOMIZING,
serviceQuality: #A },
compositionRoot: true,
supportedCapabilities: [#ANALYTICAL_DIMENSION, #CDS_MODELING_ASSOCIATION_TARGET, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #EXTRACTION_DATA_SOURCE, #SEARCHABLE_ENTITY],
modelingPattern: #ANALYTICAL_DIMENSION }
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
define view I_PostingKey as select from tbsl
association [0..*] to I_PostingKeyText as _PostingKeyText on $projection.PostingKey = _PostingKeyText.PostingKey
association [0..*] to I_PostingKeyT as _Text on $projection.PostingKey = _Text.PostingKey
{
@ObjectModel.text.association: '_PostingKeyText'
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
key cast(tbsl.bschl as fis_bschl preserving type) as PostingKey,
cast(tbsl.shkzg as fis_shkzg preserving type ) as DebitCreditCode,
cast(tbsl.koart as farp_koart preserving type ) as FinancialAccountType,
cast(tbsl.xumsw as farp_xumsw preserving type) as IsSalesRelated,
tbsl.xzahl as IsUsedInPaymentTransaction,
tbsl.stbsl as ReversalPostingKey,
tbsl.xsonu as IsSpecialGLTransaction,
@ObjectModel.association.type: [#TO_COMPOSITION_CHILD]
_PostingKeyText,
@API.element.releaseState: #DEPRECATED
@API.element.successor: '_PostingKeyText'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: '_PostingKeyText'
_Text
};
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