P_CostElementByCompanyCode

DDL: P_COSTELEMENTBYCOMPANYCODE SQL: PCSTELEMBYCOCODE Type: view COMPOSITE

P_CostElementByCompanyCode is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CostElement) and exposes 4 fields with key fields CompanyCode, CostElement, ControllingArea. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CostElement I_CostElement from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_GLAccountInCompanyCode _GLAccountInCompanyCode _GLAccountInCompanyCode.GLAccount = $projection.CostElement

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PCSTELEMBYCOCODE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode _GLAccountInCompanyCode CompanyCode
KEY CostElement CostElement
KEY ControllingArea ControllingArea
_GLAccountInCompanyCode _GLAccountInCompanyCode
@AbapCatalog.sqlViewName: 'PCSTELEMBYCOCODE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private: true
@VDM.viewType: #COMPOSITE

define view P_CostElementByCompanyCode as select from I_CostElement
  association [1..*] to I_GLAccountInCompanyCode as _GLAccountInCompanyCode 
                                                  on _GLAccountInCompanyCode.GLAccount = $projection.CostElement
{
  key _GLAccountInCompanyCode.CompanyCode,
  key CostElement,
  key ControllingArea,
  _GLAccountInCompanyCode
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTELEMENT",
"I_GLACCOUNTINCOMPANYCODE"
],
"ASSOCIATED":
[
"I_GLACCOUNTINCOMPANYCODE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/