C_GR_StRpCustTrialBalItmQuery
Greece Customer Trial Balance – Query
C_GR_StRpCustTrialBalItmQuery is a Consumption CDS View that provides data about "Greece Customer Trial Balance – Query" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 45 fields. Part of development package GLO_FIN_IS_TB_GR.
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 (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CGRSRCUSTTRBLITQ | 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 | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Greece Customer Trial Balance – Query | view |
Fields (45)
| 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 | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| Customer | Customer | Sold-to Party | ||
| CustomerName | _Customer | BPCustomerName | Name of Customer | |
| CustomerCountry | _Customer | Country | Venue: Ctry/Reg | |
| CustomerVATRegistration | _Customer | VATRegistration | VAT Registration No. | |
| DebitTotalAmountInCoCodeCrcy | Total - debit | |||
| CreditTotalAmountInCoCodeCrcy | Total - credit | |||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountLongName | GLAccountLongName | Long Text | ||
| Supplier | Supplier | Supplier | ||
| 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 | ||
| CarryFwdBalAmtInCCCrcy | CarryFwdBalAmtInCCCrcy | |||
| DebitCarryFwdBalAmtInCCCrcy | DebitCarryFwdBalAmtInCCCrcy | |||
| CreditCarryFwdBalAmtInCCCrcy | CreditCarryFwdBalAmtInCCCrcy | |||
| DebitPrevPeriodYTDAmtInCCCrcy | DebitPrevPeriodYTDAmtInCCCrcy | |||
| CreditPrevPeriodYTDAmtInCCCrcy | CreditPrevPeriodYTDAmtInCCCrcy | |||
| StartingBalanceAmtInCoCodeCrcy | StartingBalanceAmtInCoCodeCrcy | |||
| DebitAmountInCoCodeCrcy | DebitAmountInCoCodeCrcy | Debit Amount in Company Code Currency | ||
| CreditAmountInCoCodeCrcy | CreditAmountInCoCodeCrcy | Credit Amount in Company Code Currency | ||
| YTDDebitAmtInCoCodeCrcy | YTDDebitAmtInCoCodeCrcy | |||
| YTDCrdtAmtInCoCodeCrcy | YTDCrdtAmtInCoCodeCrcy | |||
| EndingBalanceAmtInCoCodeCrcy | EndingBalanceAmtInCoCodeCrcy | |||
| DebitEndingBalAmtInCCCrcy | DebitEndingBalAmtInCCCrcy | |||
| CreditEndingBalAmtInCCCrcy | 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_GR_StRpCustTrialBalItmQuery.
-- 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: CGRSRCUSTTRBLITQ
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to
CREATE VIEW C_GR_StRpCustTrialBalItmQuery AS
SELECT
Ledger,
CompanyCode,
SourceLedger,
AccountingDocument,
LedgerGLLineItem,
FiscalPeriod,
PostingDate,
DocumentDate,
ChartOfAccounts,
Customer,
_Customer.BPCustomerName AS CustomerName,
_Customer.Country AS CustomerCountry,
_Customer.VATRegistration AS CustomerVATRegistration,
DebitAmountInCoCodeCrcy + DebitPrevPeriodYTDAmtInCCCrcy + DebitCarryFwdBalAmtInCCCrcy AS DebitTotalAmountInCoCodeCrcy,
CreditAmountInCoCodeCrcy + CreditPrevPeriodYTDAmtInCCCrcy + CreditCarryFwdBalAmtInCCCrcy AS CreditTotalAmountInCoCodeCrcy,
GLAccount,
GLAccountLongName,
Supplier,
FinancialAccountType,
SpecialGLCode,
AccountingDocumentType,
PostingKey,
AccountingDocumentCategory,
AccountingDocCreatedByUser,
DebitCreditCode,
CompanyCodeCurrency,
CarryFwdBalAmtInCCCrcy,
DebitCarryFwdBalAmtInCCCrcy,
CreditCarryFwdBalAmtInCCCrcy,
DebitPrevPeriodYTDAmtInCCCrcy,
CreditPrevPeriodYTDAmtInCCCrcy,
StartingBalanceAmtInCoCodeCrcy,
DebitAmountInCoCodeCrcy,
CreditAmountInCoCodeCrcy,
YTDDebitAmtInCoCodeCrcy,
YTDCrdtAmtInCoCodeCrcy,
EndingBalanceAmtInCoCodeCrcy,
DebitEndingBalAmtInCCCrcy,
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