C_PL_StRpGLAcctTrialBalItmQry
GL Account Trial Balance Query – Poland
C_PL_StRpGLAcctTrialBalItmQry is a Consumption CDS View that provides data about "GL Account Trial Balance Query – Poland" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 39 fields. Part of development package GLO_FIN_IS_PL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpTrialBalanceItemCube | I_StRpTrialBalanceItemCube | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to | |
| P_FromFiscalPeriod | fis_period_from | |
| P_ToFiscalPeriod | fis_period_to |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CPLSRGLACTRBLITQ | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.query | true | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | GL Account Trial Balance Query – Poland | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Ledger | Ledger | Ledger | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| SourceLedger | SourceLedger | Source Ledger | ||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ItemType | ItemType | Object Type | ||
| Supplier | Supplier | Supplier | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountLongName | GLAccountLongName | Long Text | ||
| Customer | Customer | Sold-to Party | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| SpecialGLCode | SpecialGLCode | Special G/L Ind | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| PostingKey | PostingKey | Posting Key | ||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DebitCarryFwdBalAmtInCCCrcy | ||||
| CreditCarryFwdBalAmtInCCCrcy | ||||
| DebitPrevPeriodYTDAmtInCCCrcy | DebitPrevPeriodYTDAmtInCCCrcy | |||
| CreditPrevPeriodYTDAmtInCCCrcy | CreditPrevPeriodYTDAmtInCCCrcy | |||
| DebitStartingBalAmtInCCCrcy | ||||
| CreditStartingBalAmtInCCCrcy | ||||
| DebitAmountInCoCodeCrcy | DebitAmountInCoCodeCrcy | Debit Amount in Company Code Currency | ||
| CreditAmountInCoCodeCrcy | CreditAmountInCoCodeCrcy | Credit Amount in Company Code Currency | ||
| YTDDebitAmtInCoCodeCrcy | YTDDebitAmtInCoCodeCrcy | |||
| YTDCrdtAmtInCoCodeCrcy | YTDCrdtAmtInCoCodeCrcy | |||
| DebitEndingBalAmtInCCCrcy | ||||
| CreditEndingBalAmtInCCCrcy | ||||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| DocumentItemText | DocumentItemText | Text | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| StatryRptgEntity | StatryRptgEntity | Reporting Entity | ||
| StatryRptCategory | StatryRptCategory | Report ID | ||
| StatryRptRunID | StatryRptRunID | Report Run ID |
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_PL_StRpGLAcctTrialBalItmQry.
-- 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: CPLSRGLACTRBLITQ
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to
CREATE VIEW C_PL_StRpGLAcctTrialBalItmQry AS
SELECT
Ledger,
CompanyCode,
SourceLedger,
AccountingDocument,
LedgerGLLineItem,
FiscalPeriod,
PostingDate,
DocumentDate,
ItemType,
Supplier,
GLAccount,
GLAccountLongName,
Customer,
FinancialAccountType,
SpecialGLCode,
AccountingDocumentType,
PostingKey,
AccountingDocumentCategory,
AccountingDocCreatedByUser,
DebitCreditCode,
CompanyCodeCurrency,
cast( 1 as glo_dr_cfwd_bal_hsl ) AS DebitCarryFwdBalAmtInCCCrcy,
cast( 1 as glo_cr_cfwd_bal_hsl ) AS CreditCarryFwdBalAmtInCCCrcy,
DebitPrevPeriodYTDAmtInCCCrcy,
CreditPrevPeriodYTDAmtInCCCrcy,
cast( 1 as glo_dr_strt_bal_hsl ) AS DebitStartingBalAmtInCCCrcy,
cast( 1 as glo_cr_strt_bal_hsl ) AS CreditStartingBalAmtInCCCrcy,
DebitAmountInCoCodeCrcy,
CreditAmountInCoCodeCrcy,
YTDDebitAmtInCoCodeCrcy,
YTDCrdtAmtInCoCodeCrcy,
cast( 1 as glo_dr_end_bal_hsl ) AS DebitEndingBalAmtInCCCrcy,
cast( 1 as glo_cr_end_bal_hsl ) AS CreditEndingBalAmtInCCCrcy,
AssignmentReference,
DocumentItemText,
TransactionCurrency,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID
FROM I_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