C_CL_GLAccountBalanceCube
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)
| Source | Alias | Join Type |
|---|---|---|
| P_CL_GLAccountBalance | P_CL_GLAccountBalance | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_ReportingCurrency | glo_reporting_currency | |
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA