C_CL_GLAccountBalanceCube

DDL: C_CL_GLACCOUNTBALANCECUBE Type: view_entity CONSUMPTION Package: GLO_FIN_IS_CL

GL Account Balance for Chile - Cube

C_CL_GLAccountBalanceCube is a Consumption CDS View (Cube) that provides data about "GL Account Balance for Chile - Cube" in SAP S/4HANA. It reads from 1 data source (P_CL_GLAccountBalance) and exposes 72 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package GLO_FIN_IS_CL.

Data Sources (1)

SourceAliasJoin Type
P_CL_GLAccountBalance P_CL_GLAccountBalance from

Parameters (3)

NameTypeDefault
P_ReportingCurrency glo_reporting_currency
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Analytics.dataCategory #CUBE view
Analytics.internalName #LOCAL view
EndUserText.label GL Account Balance for Chile - Cube view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view

Fields (72)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
LedgerFiscalYear LedgerFiscalYear
ChartOfAccounts ChartOfAccounts Node Class
ControllingArea ControllingArea Controlling Area
FinancialTransactionType FinancialTransactionType Transact. Type
GLBusinessTransactionType GLBusinessTransactionType Transact. Type
BusinessTransactionCategory BusinessTransactionCategory Business Transaction Category
BusinessTransactionType BusinessTransactionType Bus.transaction
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocumentContext ReferenceDocumentContext Reference Document Context
ReferenceDocument ReferenceDocument Reference Document
ReferenceDocumentItem ReferenceDocumentItem Reference item
ReferenceDocumentItemGroup ReferenceDocumentItemGroup Reference Document Item Group
OffsettingLedgerGLLineItem OffsettingLedgerGLLineItem
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
ReversalReferenceDocumentType ReversalReferenceDocumentType
ReversalReferenceDocumentCntxt ReversalReferenceDocumentCntxt Reversal Reference Document Context
ReversalReferenceDocument ReversalReferenceDocument Reversal Reference Document
IsSettlement IsSettlement Is Settling
IsSettled IsSettled Is Settled
GLAccount GLAccount General Ledger
GLAccountLongName
CostCenter CostCenter Cost Center
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
BusinessArea BusinessArea Business Area
Segment Segment Segment number
DebitCreditCode DebitCreditCode Single-Character Flag
AccountingDocumentType AccountingDocumentType Journal Entry Type
AccountingDocumentItem AccountingDocumentItem Posting View Item
AssignmentReference AssignmentReference Assignment Reference
AccountingDocumentCategory AccountingDocumentCategory Journal Entry Category
JournalEntryItemCategory JournalEntryItemCategory
PostingKey PostingKey Posting Key
TransactionTypeDetermination TransactionTypeDetermination Transaction Key
SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
CreationDate CreationDate Time Stamp
GLAccountType GLAccountType G/L Account Type
AlternativeGLAccount AlternativeGLAccount Group Account
CountryChartOfAccounts CountryChartOfAccounts Chart of Accts
InvoiceReference InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
FollowOnDocumentType FollowOnDocumentType Follow-On Document Type
InvoiceItemReference InvoiceItemReference Item
ReferencePurchaseOrderCategory ReferencePurchaseOrderCategory
PurchasingDocument PurchasingDocument Purchasing Document
PurchasingDocumentItem PurchasingDocumentItem Purchasing Doc. Item
AccountAssignmentNumber AccountAssignmentNumber Account Assgmt No.
DocumentItemText DocumentItemText Text
SalesDocument SalesDocument SD Document
SalesDocumentItem SalesDocumentItem Sales Document Item
Product Product Product Sold
Plant Plant Valuation Area
Supplier Supplier Supplier
Customer Customer Sold-to Party
ExchangeRateDate ExchangeRateDate Translatn Date
FinancialAccountType FinancialAccountType Fin. Account Type
SpecialGLCode SpecialGLCode Special G/L Ind
ClearingDate ClearingDate Clearing Date
ClearingJournalEntryFiscalYear ClearingJournalEntryFiscalYear Fiscal Year of Clearing Journal Entry
ClearingJournalEntry ClearingJournalEntry Clrng doc.
ReportingCurrency ReportingCurrency Currency
EndingBalanceAmtInRptgCrcy
CreditEndingBalAmtInRptgCrcy
DebitEndingBalAmtInRptgCrcy
_ReportingCurrency _ReportingCurrency

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 C_CL_GLAccountBalanceCube.
-- 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.
-- Parameters: P_ReportingCurrency : glo_reporting_currency, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to

CREATE VIEW C_CL_GLAccountBalanceCube AS
SELECT
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  LedgerFiscalYear,
  ChartOfAccounts,
  ControllingArea,
  FinancialTransactionType,
  GLBusinessTransactionType,
  BusinessTransactionCategory,
  BusinessTransactionType,
  ReferenceDocumentType,
  ReferenceDocumentContext,
  ReferenceDocument,
  ReferenceDocumentItem,
  ReferenceDocumentItemGroup,
  OffsettingLedgerGLLineItem,
  IsReversal,
  IsReversed,
  ReversalReferenceDocumentType,
  ReversalReferenceDocumentCntxt,
  ReversalReferenceDocument,
  IsSettlement,
  IsSettled,
  GLAccount,
  _GLAccountInChartOfAccounts._Text[1: Language = $session.system_language].GLAccountLongName AS GLAccountLongName,
  CostCenter,
  ProfitCenter,
  FunctionalArea,
  BusinessArea,
  Segment,
  DebitCreditCode,
  AccountingDocumentType,
  AccountingDocumentItem,
  AssignmentReference,
  AccountingDocumentCategory,
  JournalEntryItemCategory,
  PostingKey,
  TransactionTypeDetermination,
  SubLedgerAcctLineItemType,
  AccountingDocCreatedByUser,
  CreationDate,
  GLAccountType,
  AlternativeGLAccount,
  CountryChartOfAccounts,
  InvoiceReference,
  InvoiceReferenceFiscalYear,
  FollowOnDocumentType,
  InvoiceItemReference,
  ReferencePurchaseOrderCategory,
  PurchasingDocument,
  PurchasingDocumentItem,
  AccountAssignmentNumber,
  DocumentItemText,
  SalesDocument,
  SalesDocumentItem,
  Product,
  Plant,
  Supplier,
  Customer,
  ExchangeRateDate,
  FinancialAccountType,
  SpecialGLCode,
  ClearingDate,
  ClearingJournalEntryFiscalYear,
  ClearingJournalEntry,
  ReportingCurrency,
  cast(AmountInReportingCurrency as glo_ending_bal_amt_rptg_crcy preserving type) AS EndingBalanceAmtInRptgCrcy,
  cast(CreditAmountInReportingCrcy as glo_cr_endg_bal_amt_rptg_crcy) AS CreditEndingBalAmtInRptgCrcy,
  cast(DebitAmountInReportingCurrency as glo_db_endg_bal_amt_rptg_crcy) AS DebitEndingBalAmtInRptgCrcy
FROM P_CL_GLAccountBalance
;