I_CN_GLAcctBalanceSumCube

DDL: I_CN_GLACCTBALANCESUMCUBE SQL: ICNGLABALSUM Type: view COMPOSITE

G/L Account Balances

I_CN_GLAcctBalanceSumCube is a Composite CDS View (Cube) that provides data about "G/L Account Balances" in SAP S/4HANA. It reads from 1 data source (P_CN_GLAccountBalanceSum) and exposes 32 fields with key fields CompanyCode, Ledger, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
P_CN_GLAccountBalanceSum P_CN_GLAccountBalanceSum from

Parameters (6)

NameTypeDefault
P_CompanyCode fis_bukrs
P_FiscalYear fis_gjahr
P_Ledger fis_rldnr
P_CurrencyRole fac_crcyrole
P_DisplayAltvAcct figlcn_disalteracct
P_DspTimeDependentDesc figlcn_distddesc

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName ICNGLABALSUM view
EndUserText.label G/L Account Balances view
Analytics.dataCategory #CUBE view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.buffering.status #NOT_ALLOWED view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
Analytics.internalName #LOCAL view
Analytics.readClassName CL_FIGLCN_GLACCT_BALANCE_CDS view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY Ledger Ledger Ledger
KEY FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
GLAccount GLAccount General Ledger
GLAccountInfo GLAccountInfo
GLAcctLineDescription GLAcctLineDescription
GLAccountHierarchy GLAccountHierarchy
GLAccountGroup GLAccountGroup Account Group
LedgerFiscalYear LedgerFiscalYear
ProfitCenter ProfitCenter Profit Center
ProfitCenterGroup ProfitCenterGroup
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
AccountIsMarkedForDeletion AccountIsMarkedForDeletion Deletion Flag
ChartOfAccounts ChartOfAccounts Node Class
GLAccountTransactionType GLAccountTransactionType
AlternativeGLAccountExternal AlternativeGLAccountExternal Group Account
AlternativeGLAccount AlternativeGLAccount Group Account
DisplayCurrency DisplayCurrency Display Currency
DebitAmountInDisplayCrcy
CreditAmountInDisplayCrcy
AmountInDisplayCurrency
EndingBalAmtInDspCrcy EndingBalAmtInDspCrcy
StartingBalAmtInDspCrcy StartingBalAmtInDspCrcy
PeriodBalAmtInDspCrcy PeriodBalAmtInDspCrcy
YTDDebitAmtInDspCurrency
YTDCreditAmtInDspCurrency
YTDBalAmtInDisplayCurrency
CarryFwdBalAmtInDspCrcy
CreditDebitDirection

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_CN_GLAcctBalanceSumCube.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ICNGLABALSUM
-- Parameters: P_CompanyCode : fis_bukrs, P_FiscalYear : fis_gjahr, P_Ledger : fis_rldnr, P_CurrencyRole : fac_crcyrole, P_DisplayAltvAcct : figlcn_disalteracct, P_DspTimeDependentDesc : figlcn_distddesc

CREATE VIEW I_CN_GLAcctBalanceSumCube AS
SELECT
  CompanyCode,
  Ledger,
  FiscalYear,
  FiscalPeriod,
  GLAccount,
  GLAccountInfo,
  GLAcctLineDescription,
  GLAccountHierarchy,
  GLAccountGroup,
  LedgerFiscalYear,
  ProfitCenter,
  ProfitCenterGroup,
  FunctionalArea,
  BusinessArea,
  Segment,
  AccountIsMarkedForDeletion,
  ChartOfAccounts,
  GLAccountTransactionType,
  AlternativeGLAccountExternal,
  AlternativeGLAccount,
  DisplayCurrency,
  cast(0 as abap.curr(23,2)) AS DebitAmountInDisplayCrcy,
  cast(0 as abap.curr(23,2)) AS CreditAmountInDisplayCrcy,
  cast(0 as abap.curr(23,2)) AS AmountInDisplayCurrency,
  EndingBalAmtInDspCrcy,
  StartingBalAmtInDspCrcy,
  PeriodBalAmtInDspCrcy,
  cast(0 as abap.curr(23,2)) AS YTDDebitAmtInDspCurrency,
  cast(0 as abap.curr(23,2)) AS YTDCreditAmtInDspCurrency,
  cast(0 as abap.curr(23,2)) AS YTDBalAmtInDisplayCurrency,
  cast(0 as abap.curr(23,2)) AS CarryFwdBalAmtInDspCrcy,
  cast( '0' as figlcn_drcr_direction ) AS CreditDebitDirection
FROM P_CN_GLAccountBalanceSum
;