I_PostingKeyWthSpclGLCodeTxt

DDL: I_POSTINGKEYWTHSPCLGLCODETXT Type: view BASIC

Posting Key With Special General Leder Code - Text

I_PostingKeyWthSpclGLCodeTxt is a Basic CDS View that provides data about "Posting Key With Special General Leder Code - Text" in SAP S/4HANA. It reads from 2 data sources (tbsl, tbslt) and exposes 9 fields with key fields Language, PostingKey, SpecialGLCode. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
tbsl tbsl inner
tbslt tbslt from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language
[0..1] I_PostingKey _PostingKey $projection.PostingKey = _PostingKey.PostingKey
[0..1] I_SpecialGLCode _SpecialGLCode $projection.SpecialGLCode = _SpecialGLCode.SpecialGLCode and $projection.FinancialAccountType = _SpecialGLCode.FinancialAccountType
[0..1] I_FinancialAccountType _FinancialAccountType $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType

Annotations (20)

NameValueLevelField
AbapCatalog.sqlViewName IFIPSTNGKEYGLCDT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 2 view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataExtraction.enabled true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Posting Key With Special General Leder Code - Text view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey SpecialGLCode view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.modelingPattern #LANGUAGE_DEPENDENT_TEXT 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 Language tbslt spras
KEY PostingKey
KEY SpecialGLCode
FinancialAccountType
PostingKeyName
_Language _Language
_PostingKey _PostingKey
_SpecialGLCode _SpecialGLCode
_FinancialAccountType _FinancialAccountType
@AbapCatalog: { sqlViewName: 'IFIPSTNGKEYGLCDT',
                preserveKey: true,
                compiler.compareFilter: true,
                buffering: { status: #ACTIVE,          
                             type: #GENERIC,
                             numberOfKeyFields: 2 } }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Analytics: { dataExtraction.enabled: true }
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Posting Key With Special General Leder Code - Text'
@ObjectModel: { dataCategory: #TEXT,
                representativeKey: 'SpecialGLCode'
,                usageType: { sizeCategory: #S,
                 dataClass:  #CUSTOMIZING,
                 serviceQuality: #A },
                supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #EXTRACTION_DATA_SOURCE, #SEARCHABLE_ENTITY ],
                modelingPattern: #LANGUAGE_DEPENDENT_TEXT }                  
@Metadata.ignorePropagatedAnnotations: true 
@Search.searchable: true 
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API

define view I_PostingKeyWthSpclGLCodeTxt as select from tbslt inner join tbsl on tbslt.bschl = tbsl.bschl

association [0..1] to I_Language             as _Language             on $projection.Language = _Language.Language
association [0..1] to I_PostingKey           as _PostingKey           on  $projection.PostingKey    = _PostingKey.PostingKey 
association [0..1] to I_SpecialGLCode        as _SpecialGLCode        on $projection.SpecialGLCode = _SpecialGLCode.SpecialGLCode
                                                                      and $projection.FinancialAccountType = _SpecialGLCode.FinancialAccountType
association [0..1] to I_FinancialAccountType as _FinancialAccountType on $projection.FinancialAccountType = _FinancialAccountType.FinancialAccountType

{

@Semantics.language   
key tbslt.spras as Language,
@ObjectModel.foreignKey.association: '_PostingKey'
key cast(tbsl.bschl as fis_bschl preserving type) as PostingKey,
@ObjectModel.foreignKey.association: '_SpecialGLCode'
key cast(tbslt.umskz as fac_umskz preserving type ) as SpecialGLCode,
@ObjectModel.foreignKey.association: '_FinancialAccountType'
cast (tbsl.koart as farp_koart preserving type ) as FinancialAccountType, 
@Semantics.text
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8 
cast (tbslt.ltext as fis_bschl_name preserving type ) as PostingKeyName,

_Language,
_PostingKey,
_SpecialGLCode,
_FinancialAccountType

};