I_VN_TrialBalanceItemCube
VN Trial Balance Analytical - Cube
I_VN_TrialBalanceItemCube is a Composite CDS View (Cube) that provides data about "VN Trial Balance Analytical - Cube" in SAP S/4HANA. It reads from 1 data source (P_VN_TrialBalanceItem) and exposes 55 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CompanyCode, AccountingDocument. Part of development package GLO_FIN_IS_VN_TRIAL_BALANCE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_VN_TrialBalanceItem | P_VN_TrialBalanceItem | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_FromPostingDate | fis_budat_from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | VN Trial Balance Analytical - Cube | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | Ledger | Ledger | |
| FiscalPeriod | FiscalPeriod | Tax period | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| CountryChartOfAccounts | CountryChartOfAccounts | Chart of Accts | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| SalesDocument | SalesDocument | SD Document | ||
| SalesDocumentItem | SalesDocumentItem | Sales Document Item | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item | ||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DebitStartingBalAmtInCCCrcy | DebitStartingBalAmtInCCCrcy | |||
| CreditStartingBalAmtInCCCrcy | CreditStartingBalAmtInCCCrcy | |||
| DebitAmountInCoCodeCrcy | DebitAmountInCoCodeCrcy | Debit Amount in Company Code Currency | ||
| CreditAmountInCoCodeCrcy | CreditAmountInCoCodeCrcy | Credit Amount in Company Code Currency | ||
| DebitEndingBalAmtInCCCrcy | DebitEndingBalAmtInCCCrcy | |||
| CreditEndingBalAmtInCCCrcy | CreditEndingBalAmtInCCCrcy | |||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DebitStartingBalAmtInTransCrcy | DebitStartingBalAmtInTransCrcy | |||
| CrdtStartingBalAmtInTransCrcy | CrdtStartingBalAmtInTransCrcy | |||
| DebitAmountInTransCrcy | DebitAmountInTransCrcy | Debit Amt in DC | ||
| CreditAmountInTransCrcy | CreditAmountInTransCrcy | Credit Amt in DC | ||
| DebitEndingBalAmtInTransCrcy | DebitEndingBalAmtInTransCrcy | |||
| CreditEndingBalAmtInTransCrcy | CreditEndingBalAmtInTransCrcy | |||
| GlobalCurrency | GlobalCurrency | GM Billing Element: Global Currency | ||
| DebitStartingBalAmtInGlobCrcy | DebitStartingBalAmtInGlobCrcy | |||
| CreditStartingBalAmtInGlobCrcy | CreditStartingBalAmtInGlobCrcy | |||
| DebitAmountInGlobalCrcy | DebitAmountInGlobalCrcy | |||
| CreditAmountInGlobalCrcy | CreditAmountInGlobalCrcy | |||
| DebitEndingBalAmtInGlobalCrcy | DebitEndingBalAmtInGlobalCrcy | |||
| CreditEndingBalAmtInGlobalCrcy | CreditEndingBalAmtInGlobalCrcy | |||
| SupplierName | _SupplierText | SupplierName | Supplier Name | |
| CustomerName | _CustomerText | CustomerName | Name of Customer | |
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | Company Name | |
| SegmentName | ||||
| ProfitCenterName | ||||
| AccountingDocumentTypeName | ||||
| AlternativeGLAccountName | ||||
| GLAccountName |
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 I_VN_TrialBalanceItemCube.
-- 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_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_FromPostingDate : fis_budat_from
CREATE VIEW I_VN_TrialBalanceItemCube AS
SELECT
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
CompanyCode,
AccountingDocument,
FiscalYear,
LedgerGLLineItem,
Ledger,
FiscalPeriod,
PostingDate,
DocumentDate,
DebitCreditCode,
AccountingDocumentType,
ChartOfAccounts,
GLAccount,
CountryChartOfAccounts,
AlternativeGLAccount,
ProfitCenter,
ControllingArea,
Segment,
Supplier,
Customer,
SalesDocument,
SalesDocumentItem,
PurchasingDocument,
PurchasingDocumentItem,
CompanyCodeCurrency,
DebitStartingBalAmtInCCCrcy,
CreditStartingBalAmtInCCCrcy,
DebitAmountInCoCodeCrcy,
CreditAmountInCoCodeCrcy,
DebitEndingBalAmtInCCCrcy,
CreditEndingBalAmtInCCCrcy,
TransactionCurrency,
DebitStartingBalAmtInTransCrcy,
CrdtStartingBalAmtInTransCrcy,
DebitAmountInTransCrcy,
CreditAmountInTransCrcy,
DebitEndingBalAmtInTransCrcy,
CreditEndingBalAmtInTransCrcy,
GlobalCurrency,
DebitStartingBalAmtInGlobCrcy,
CreditStartingBalAmtInGlobCrcy,
DebitAmountInGlobalCrcy,
CreditAmountInGlobalCrcy,
DebitEndingBalAmtInGlobalCrcy,
CreditEndingBalAmtInGlobalCrcy,
_SupplierText.SupplierName AS SupplierName,
_CustomerText.CustomerName AS CustomerName,
_CompanyCodeText.CompanyCodeName AS CompanyCodeName,
_SegmentText[1:Language = $session.system_language].SegmentName AS SegmentName,
_ProfitCenterText[1:Language = $session.system_language].ProfitCenterName AS ProfitCenterName,
_AccountingDocumentTypeText[1:Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
cast(_AlternativeGLAccountText[1:Language = $session.system_language].GLAccountName as fis_altkt_txt50) AS AlternativeGLAccountName,
_GLAccountTxt[1:Language = $session.system_language].GLAccountName AS GLAccountName
FROM P_VN_TrialBalanceItem
;
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