C_StRpJournalEntryItemCube
Jrnl Entry Item Cube for Stat.Reporting
C_StRpJournalEntryItemCube is a Consumption CDS View (Cube) that provides data about "Jrnl Entry Item Cube for Stat.Reporting" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 60 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | I_JournalEntryItem | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_StRpJournalEntryLog | _ReportedItemsLog | _ReportedItemsLog.CompanyCode = $projection.CompanyCode and _ReportedItemsLog.AccountingDocument = $projection.AccountingDocument and _ReportedItemsLog.FiscalYear = $projection.FiscalYear |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSRGLACJRNLENITC | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Jrnl Entry Item Cube for Stat.Reporting | view | |
| Metadata.allowExtensions | true | view |
Fields (60)
| 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 | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | StatryRptCategory | _ReportedItemsLog | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | _ReportedItemsLog | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | _ReportedItemsLog | StatryRptRunID | Report Run ID |
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| GLAccountLongName | ||||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| PostingKey | PostingKey | Posting Key | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| SpecialGLCode | SpecialGLCode | Special G/L Ind | ||
| AccountingDocumentCategory | AccountingDocumentCategory | Journal Entry Category | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| DocumentItemText | DocumentItemText | Text | ||
| DocumentReferenceID | _JournalEntry | DocumentReferenceID | Reference | |
| TransactionDate | ||||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | User which created overhead document | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DebitAmountInTransCrcy | DebitAmountInTransCrcy | Debit Amt in DC | ||
| CreditAmountInTransCrcy | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DebitAmountInCoCodeCrcy | DebitAmountInCoCodeCrcy | Debit Amount in Company Code Currency | ||
| CreditAmountInCoCodeCrcy | ||||
| ClearingDate | ClearingDate | Clearing Date | ||
| ClearingAccountingDocument | ClearingAccountingDocument | Clearing Journal Entry | ||
| ClearingDocFiscalYear | ClearingDocFiscalYear | Fiscal Year of Clearing Journal Entry | ||
| ClearingJournalEntry | ClearingJournalEntry | Clrng doc. | ||
| ClearingJournalEntryFiscalYear | ClearingJournalEntryFiscalYear | Fiscal Year of Clearing Journal Entry | ||
| _Ledger | _Ledger | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _SourceLedger | _SourceLedger | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _PostingKey | _PostingKey | |||
| _FinancialAccountType | _FinancialAccountType | |||
| _SpecialGLCode | _SpecialGLCode | |||
| _AccountingDocumentCategory | _AccountingDocumentCategory | |||
| _DebitCreditCode | _DebitCreditCode | |||
| _TransactionCurrency | _TransactionCurrency | |||
| _CompanyCodeCurrency | _CompanyCodeCurrency | |||
| _ClearingJrnlEntryFiscalYear | _ClearingJrnlEntryFiscalYear | |||
| _ClearingJournalEntry | _ClearingJournalEntry | |||
| _ClearingAccountingDocument | _ClearingAccountingDocument | |||
| _ReportedItemsLog | _ReportedItemsLog |
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_StRpJournalEntryItemCube.
-- 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: CSRGLACJRNLENITC
CREATE VIEW C_StRpJournalEntryItemCube AS
SELECT
Ledger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
SourceLedger,
_ReportedItemsLog.StatryRptCategory AS StatryRptCategory,
_ReportedItemsLog.StatryRptgEntity AS StatryRptgEntity,
_ReportedItemsLog.StatryRptRunID AS StatryRptRunID,
AccountingDocumentItem,
PostingDate,
DocumentDate,
ChartOfAccounts,
GLAccount,
_GLAccountInChartOfAccounts._Text[1: Language = $session.system_language].GLAccountLongName AS GLAccountLongName,
Supplier,
Customer,
AccountingDocumentType,
PostingKey,
FinancialAccountType,
SpecialGLCode,
AccountingDocumentCategory,
DebitCreditCode,
AssignmentReference,
DocumentItemText,
_JournalEntry.DocumentReferenceID AS DocumentReferenceID,
cast( coalesce( _JournalEntry.JrnlEntryCntrySpecificDate1, '' ) as datum ) AS TransactionDate,
AccountingDocCreatedByUser,
TransactionCurrency,
DebitAmountInTransCrcy,
-CreditAmountInTransCrcy AS CreditAmountInTransCrcy,
CompanyCodeCurrency,
DebitAmountInCoCodeCrcy,
-CreditAmountInCoCodeCrcy AS CreditAmountInCoCodeCrcy,
ClearingDate,
ClearingAccountingDocument,
ClearingDocFiscalYear,
ClearingJournalEntry,
ClearingJournalEntryFiscalYear
FROM I_JournalEntryItem
LEFT OUTER JOIN I_StRpJournalEntryLog AS _ReportedItemsLog ON _ReportedItemsLog.CompanyCode = CompanyCode AND _ReportedItemsLog.AccountingDocument = AccountingDocument AND _ReportedItemsLog.FiscalYear = FiscalYear -- association [0..*]
;
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