P_GLAcctCostCompWthoutDflt

DDL: P_GLACCTCOSTCOMPWTHOUTDFLT SQL: PGLACCTCCWODFLT Type: view COMPOSITE

P_GLAcctCostCompWthoutDflt is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_GLAccountInChartOfAccounts) and exposes 6 fields with key fields GLAccount, ChartOfAccounts, CostComponentStructure, FromCostElement.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountInChartOfAccounts I_GLAccountInChartOfAccounts from

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PGLACCTCCWODFLT 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 (6)

KeyFieldSource TableSource FieldDescription
KEY GLAccount I_GLAccountInChartOfAccounts GLAccount
KEY ChartOfAccounts I_GLAccountInChartOfAccounts ChartOfAccounts
KEY CostComponentStructure I_CostComponentAssignment CostComponentStructure
KEY FromCostElement I_CostComponentAssignment FromCostElement
ToCostElement I_CostComponentAssignment ToCostElement
CostComponent I_CostComponentAssignment CostComponent
@AbapCatalog.sqlViewName: 'PGLACCTCCWODFLT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.private:true
@VDM.viewType: #COMPOSITE
define view P_GLAcctCostCompWthoutDflt
  as select from I_GLAccountInChartOfAccounts
    join         I_CostComponentAssignment on  I_GLAccountInChartOfAccounts.ChartOfAccounts =  I_CostComponentAssignment.ChartOfAccounts
                                           and I_CostComponentAssignment.ToCostElement      >= I_GLAccountInChartOfAccounts.GLAccount
                                           and I_CostComponentAssignment.FromCostElement    <= I_GLAccountInChartOfAccounts.GLAccount
{
  key I_GLAccountInChartOfAccounts.GLAccount,
  key I_GLAccountInChartOfAccounts.ChartOfAccounts,
  key I_CostComponentAssignment.CostComponentStructure,
  key I_CostComponentAssignment.FromCostElement,
      I_CostComponentAssignment.ToCostElement,
      I_CostComponentAssignment.CostComponent
}
where
      I_CostComponentAssignment.ToCostElement                <> ''
  and I_CostComponentAssignment.FromCostElement              <> ''
  and I_CostComponentAssignment.CostOriginGroup              =  ''
  and I_CostComponentAssignment.VarianceResultsAnlysCategory =  '00';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COSTCOMPONENTASSIGNMENT",
"I_GLACCOUNTINCHARTOFACCOUNTS"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/