I_PostingKey

DDL: I_POSTINGKEY Type: view_entity BASIC Package: FINS_POSTING_KEY_VDM

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. Part of development package FINS_POSTING_KEY_VDM.

Data Sources (1)

SourceAliasJoin Type
tbsl tbsl from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_PostingKeyText _PostingKeyText $projection.PostingKey = _PostingKeyText.PostingKey
[0..*] I_PostingKeyT _Text $projection.PostingKey = _Text.PostingKey

Annotations (17)

NameValueLevelField
AbapCatalog.entityBuffer.definitionAllowed true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.technicalName IFIPOSTINGKEY view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true 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

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY PostingKey
DebitCreditCode
FinancialAccountType
IsSalesRelated
IsUsedInPaymentTransaction tbsl xzahl
ReversalPostingKey tbsl stbsl
IsSpecialGLTransaction tbsl xsonu
_PostingKeyText _PostingKeyText
_Text _Text
 @AbapCatalog.entityBuffer.definitionAllowed: true
 @AccessControl.authorizationCheck: #NOT_REQUIRED   // #CHECK 

@Analytics.technicalName: 'IFIPOSTINGKEY' 
@Analytics:{
    dataCategory: #DIMENSION,
    dataExtraction: {
        enabled: true,
        delta.changeDataCapture: {
        mapping: 
            [
              { 
                table: 'tbsl',
                role: #MAIN,
                viewElement: ['PostingKey'],
                tableElement: ['bschl']
              }
            ] 
        }
    }
}
@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 entity 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

};