C_CL_StRpTrialBalanceItemQuery
Trial Balance Item for Chile Rptg Query
C_CL_StRpTrialBalanceItemQuery is a Consumption CDS View that provides data about "Trial Balance Item for Chile Rptg Query" in SAP S/4HANA. It reads from 1 data source (C_CL_StRpTrialBalanceItemCube) and exposes 48 fields with key fields Ledger, CompanyCode, FiscalYear, SourceLedger, AccountingDocument. Part of development package GLO_FIN_IS_CL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| C_CL_StRpTrialBalanceItemCube | C_CL_StRpTrialBalanceItemCube | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to | |
| P_ReportingCurrency | glo_reporting_currency |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCLSTRBALITMQ | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.buffering.status | #NOT_ALLOWED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | Trial Balance Item for Chile Rptg Query | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| ReconciliationAccountType | ReconciliationAccountType | Reconcil. ID | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountLongName | GLAccountLongName | Long Text | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Chart of Accts | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| SpecialGLCode | SpecialGLCode | Special G/L Ind | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| NumberOfDocuments | ||||
| NumberOfDocumentItems | ||||
| ReportingCurrency | ReportingCurrency | Currency | ||
| GLAcctDebitAmtInRptgCrcy | ||||
| GLAcctCreditAmtInRptgCrcy | ||||
| DebtorEndingBalAmtInRptgCrcy | ||||
| CreditorEndingBalAmtInRptgCrcy | ||||
| AssetAmountInReportingCurrency | ||||
| LiabilityAmountInRptgCrcy | ||||
| ProfitAmtInReportingCurrency | ||||
| LossAmountInReportingCurrency | ||||
| DebitStartingBalAmtInRptgCrcy | DebitStartingBalAmtInRptgCrcy | |||
| CreditStartingBalAmtInRptgCrcy | CreditStartingBalAmtInRptgCrcy | |||
| StartingBalanceAmtInRptgCrcy | StartingBalanceAmtInRptgCrcy | |||
| DebtorStartingBalAmtInRptgCrcy | ||||
| CreditorStrtgBalAmtInRptgCrcy | ||||
| DebitAmountInReportingCurrency | DebitAmountInReportingCurrency | |||
| CreditAmountInReportingCrcy | CreditAmountInReportingCrcy | |||
| AmountInReportingCurrency | ||||
| DebtorBalAmtInReportingCrcy | ||||
| CreditorBalAmtInReportingCrcy | ||||
| DebitEndingBalAmtInRptgCrcy | DebitEndingBalAmtInRptgCrcy | |||
| CreditEndingBalAmtInRptgCrcy | CreditEndingBalAmtInRptgCrcy | |||
| EndingBalanceAmtInRptgCrcy | EndingBalanceAmtInRptgCrcy |
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_StRpTrialBalanceItemQuery.
-- 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: CCLSTRBALITMQ
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_ReportingCurrency : glo_reporting_currency
CREATE VIEW C_CL_StRpTrialBalanceItemQuery AS
SELECT
Ledger,
CompanyCode,
FiscalYear,
SourceLedger,
AccountingDocument,
LedgerGLLineItem,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
AccountingDocumentItem,
ReconciliationAccountType,
GLAccount,
GLAccountLongName,
ChartOfAccounts,
AlternativeGLAccount,
CountryChartOfAccounts,
Customer,
Supplier,
AccountingDocumentType,
FinancialAccountType,
SpecialGLCode,
FiscalPeriod,
PostingDate,
DocumentDate,
cast( NumberOfDocuments as ficl_number_of_acctg_documents ) AS NumberOfDocuments,
cast( NumberOfDocumentItems as ficl_number_of_acctg_doc_items ) AS NumberOfDocumentItems,
ReportingCurrency,
cast( 0 as ficl_bs_debit_amount_rptg_crcy ) AS GLAcctDebitAmtInRptgCrcy,
cast( 0 as ficl_bs_credit_amnt_rptg_crcy ) AS GLAcctCreditAmtInRptgCrcy,
cast( 0 as ficl_dbtr_endg_balamt_rptgcrcy ) AS DebtorEndingBalAmtInRptgCrcy,
cast( 0 as ficl_crdtr_endg_bal_rptg_crcy ) AS CreditorEndingBalAmtInRptgCrcy,
cast( 0 as glo_asset_amount_rptg_crcy ) AS AssetAmountInReportingCurrency,
cast( 0 as glo_liability_amount_rptg_crcy ) AS LiabilityAmountInRptgCrcy,
cast( 0 as glo_profit_amount_rptg_crcy ) AS ProfitAmtInReportingCurrency,
cast( 0 as glo_loss_amount_rptg_crcy ) AS LossAmountInReportingCurrency,
DebitStartingBalAmtInRptgCrcy,
CreditStartingBalAmtInRptgCrcy,
StartingBalanceAmtInRptgCrcy,
cast( 0 as glo_dbtr_strtgbalamt_rptgcrcy ) AS DebtorStartingBalAmtInRptgCrcy,
cast( 0 as glo_crdtr_strtgbalamt_rptgcrcy ) AS CreditorStrtgBalAmtInRptgCrcy,
DebitAmountInReportingCurrency,
CreditAmountInReportingCrcy,
cast( AmountInReportingCurrency as fis_balance_amount preserving type ) AS AmountInReportingCurrency,
cast( 0 as glo_debtor_bal_amt_rptg_crcy ) AS DebtorBalAmtInReportingCrcy,
cast( 0 as glo_creditor_bal_amt_rptg_crcy ) AS CreditorBalAmtInReportingCrcy,
DebitEndingBalAmtInRptgCrcy,
CreditEndingBalAmtInRptgCrcy,
EndingBalanceAmtInRptgCrcy
FROM C_CL_StRpTrialBalanceItemCube
;
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