C_CO_AcctBalLdgrInCoCodeLog

DDL: C_CO_ACCTBALLDGRINCOCODELOG Type: view_entity CONSUMPTION

Colombia Acct Bal Ledger G/L Acct Log

C_CO_AcctBalLdgrInCoCodeLog is a Consumption CDS View that provides data about "Colombia Acct Bal Ledger G/L Acct Log" in SAP S/4HANA. It reads from 3 data sources (I_CompanyCode, I_GLAccountHierSubTree, I_CO_FinStmntHierSubtree) and exposes 2 fields with key fields CompanyCode, GLAccount.

Data Sources (3)

SourceAliasJoin Type
I_CompanyCode CompanyCode inner
I_GLAccountHierSubTree GLAccount from
I_CO_FinStmntHierSubtree I_CO_FinStmntHierSubtree inner

Parameters (2)

NameTypeDefault
P_FinancialStatementVersion versn_011
P_ValidityEndDate fis_datbi

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
EndUserText.label Colombia Acct Bal Ledger G/L Acct Log view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_CompanyCode CompanyCode
KEY GLAccount
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl:{
  authorizationCheck: #MANDATORY,
  personalData.blocking: #BLOCKED_DATA_INCLUDED
}
@EndUserText.label: 'Colombia Acct Bal Ledger G/L Acct Log'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  dataClass: #MIXED,
  serviceQuality: #D,
  sizeCategory: #M
}
@VDM.viewType: #CONSUMPTION

define view entity C_CO_AcctBalLdgrInCoCodeLog
  with parameters
    @EndUserText.label: 'Financial Statement Version'
    P_FinancialStatementVersion : versn_011,
    @EndUserText.label: 'Validity End Date'
    P_ValidityEndDate           : fis_datbi

  as select from I_GLAccountHierSubTree                                                     as GLAccount

    inner join   I_CompanyCode                                                              as CompanyCode on CompanyCode.ChartOfAccounts = GLAccount.ChartOfAccounts

    inner join   I_CO_FinStmntHierSubtree(
                    P_FinancialStatementVersion : $parameters.P_FinancialStatementVersion ) as Hierarchy   on  Hierarchy.FinancialStatementHierarchy = GLAccount.GLAccountHierarchy
                                                                                                           and Hierarchy.HierarchyNode               = GLAccount.HierarchyNode

{
  key CompanyCode.CompanyCode                                              as CompanyCode,
  key cast( left( GLAccount.GLAccount, 10 ) as fis_racct preserving type ) as GLAccount
}
where
      GLAccount.GLAccountHierarchy = $parameters.P_FinancialStatementVersion
  and GLAccount.ValidityEndDate    >= $parameters.P_ValidityEndDate
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COMPANYCODE",
"I_CO_FINSTMNTHIERSUBTREE",
"I_GLACCOUNTHIERSUBTREE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/