C_RO_StRpInventoryRegisterC
Romanian inventory register - Cube
C_RO_StRpInventoryRegisterC is a Consumption CDS View (Cube) that provides data about "Romanian inventory register - Cube" in SAP S/4HANA. It reads from 1 data source (I_StRpTrialBalanceItemCube) and exposes 48 fields with key fields Ledger, CompanyCode, FiscalYear, SourceLedger, AccountingDocument. It has 2 associations to related views.
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 |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_JournalEntry | _JournalEntry | $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and $projection.AccountingDocument = _JournalEntry.AccountingDocument |
| [0..1] | I_GLAccountLineItemRawData | _GLAccountRawItem | TB.CompanyCode = _GLAccountRawItem.CompanyCode and TB.FiscalYear = _GLAccountRawItem.FiscalYear and TB.AccountingDocument = _GLAccountRawItem.AccountingDocument and TB.SourceLedger = _GLAccountRawItem.SourceLedger and TB.LedgerGLLineItem = _GLAccountRawItem.LedgerGLLineItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Romanian inventory register - Cube | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.internalName | #LOCAL | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | TB | Ledger | Ledger |
| KEY | CompanyCode | TB | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | TB | FiscalYear | G/L Fiscal Year |
| KEY | SourceLedger | TB | SourceLedger | Source Ledger |
| KEY | AccountingDocument | TB | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | TB | LedgerGLLineItem | Journal Entry Item |
| KEY | StatryRptCategory | TB | StatryRptCategory | Report ID |
| KEY | StatryRptgEntity | TB | StatryRptgEntity | Reporting Entity |
| KEY | StatryRptRunID | TB | StatryRptRunID | Report Run ID |
| PostingDate | TB | PostingDate | Posting Date for GR | |
| DocumentDate | TB | DocumentDate | Journal Entry Date | |
| FiscalPeriod | TB | FiscalPeriod | Tax period | |
| DocumentItemText | TB | DocumentItemText | Text | |
| AccountingDocumentType | TB | AccountingDocumentType | Journal Entry Type | |
| DocumentReferenceID | _JournalEntry | DocumentReferenceID | Reference | |
| AccountingDocumentHeaderText | _JournalEntry | AccountingDocumentHeaderText | Doc.Header Text | |
| AccountingDocumentItem | TB | AccountingDocumentItem | Posting View Item | |
| GLAccountLongName | GLText | GLAccountLongName | Long Text | |
| AlternativeGLAccountName | GLTextAlt | GLAccountLongName | Long Text | |
| DebitCreditCode | TB | DebitCreditCode | Single-Character Flag | |
| ChartOfAccounts | TB | ChartOfAccounts | Node Class | |
| AlternativeGLAccount | TB | AlternativeGLAccount | Group Account | |
| CountryChartOfAccounts | TB | CountryChartOfAccounts | Chart of Accts | |
| GLAccount | TB | GLAccount | General Ledger | |
| Supplier | TB | Supplier | Supplier | |
| Customer | TB | Customer | Sold-to Party | |
| FinancialAccountType | TB | FinancialAccountType | Fin. Account Type | |
| CompanyCodeCurrency | TB | CompanyCodeCurrency | Local Currency | |
| OffsettingAccount | JournalEntryItem | OffsettingAccount | Offsetting Acct | |
| StartingBalanceAmtInCoCodeCrcy | TB | StartingBalanceAmtInCoCodeCrcy | ||
| AmountInCompanyCodeCurrency | TB | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| EndingBalanceAmtInCoCodeCrcy | TB | EndingBalanceAmtInCoCodeCrcy | ||
| TransactionCode | _JournalEntry | TransactionCode | Transaction Code | |
| AssignmentReference | TB | AssignmentReference | Assignment Reference | |
| Plant | JournalEntryItem | Plant | Valuation Area | |
| GLAccountGroup | ||||
| BusinessArea | TB | BusinessArea | Business Area | |
| _Supplier | TB | _Supplier | ||
| _Customer | TB | _Customer | ||
| _CompanyCode | TB | _CompanyCode | ||
| _GLAccountText | TB | _GLAccountText | ||
| _GLAccountInChartOfAccounts | TB | _GLAccountInChartOfAccounts | ||
| _GLAccountInCompanyCode | TB | _GLAccountInCompanyCode | ||
| _ChartOfAccounts | TB | _ChartOfAccounts | ||
| _CountryChartOfAccounts | TB | _CountryChartOfAccounts | ||
| _ReportedItemsLog | TB | _ReportedItemsLog | ||
| GLRecordType | _GLAccountRawItem | GLRecordType | Record Type | |
| _JournalEntry | _JournalEntry |
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_RO_StRpInventoryRegisterC.
-- 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_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_FromFiscalPeriod : fis_period_from, P_ToFiscalPeriod : fis_period_to
CREATE VIEW C_RO_StRpInventoryRegisterC AS
SELECT
TB.Ledger AS Ledger,
TB.CompanyCode AS CompanyCode,
TB.FiscalYear AS FiscalYear,
TB.SourceLedger AS SourceLedger,
TB.AccountingDocument AS AccountingDocument,
TB.LedgerGLLineItem AS LedgerGLLineItem,
TB.StatryRptCategory AS StatryRptCategory,
TB.StatryRptgEntity AS StatryRptgEntity,
TB.StatryRptRunID AS StatryRptRunID,
TB.PostingDate AS PostingDate,
TB.DocumentDate AS DocumentDate,
TB.FiscalPeriod AS FiscalPeriod,
TB.DocumentItemText AS DocumentItemText,
TB.AccountingDocumentType AS AccountingDocumentType,
_JournalEntry.DocumentReferenceID AS DocumentReferenceID,
_JournalEntry.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
TB.AccountingDocumentItem AS AccountingDocumentItem,
GLText.GLAccountLongName AS GLAccountLongName,
GLTextAlt.GLAccountLongName AS AlternativeGLAccountName,
TB.DebitCreditCode AS DebitCreditCode,
TB.ChartOfAccounts AS ChartOfAccounts,
TB.AlternativeGLAccount AS AlternativeGLAccount,
TB.CountryChartOfAccounts AS CountryChartOfAccounts,
TB.GLAccount AS GLAccount,
TB.Supplier AS Supplier,
TB.Customer AS Customer,
TB.FinancialAccountType AS FinancialAccountType,
TB.CompanyCodeCurrency AS CompanyCodeCurrency,
JournalEntryItem.OffsettingAccount AS OffsettingAccount,
TB.StartingBalanceAmtInCoCodeCrcy AS StartingBalanceAmtInCoCodeCrcy,
TB.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
TB.EndingBalanceAmtInCoCodeCrcy AS EndingBalanceAmtInCoCodeCrcy,
_JournalEntry.TransactionCode AS TransactionCode,
TB.AssignmentReference AS AssignmentReference,
JournalEntryItem.Plant AS Plant,
JournalEntryItem._GLAccountInChartOfAccounts.GLAccountGroup AS GLAccountGroup,
TB.BusinessArea AS BusinessArea,
TB._Supplier AS _Supplier,
TB._Customer AS _Customer,
TB._CompanyCode AS _CompanyCode,
TB._GLAccountText AS _GLAccountText,
TB._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
TB._GLAccountInCompanyCode AS _GLAccountInCompanyCode,
TB._ChartOfAccounts AS _ChartOfAccounts,
TB._CountryChartOfAccounts AS _CountryChartOfAccounts,
TB._ReportedItemsLog AS _ReportedItemsLog,
_GLAccountRawItem.GLRecordType AS GLRecordType
FROM I_StRpTrialBalanceItemCube
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND AccountingDocument = _JournalEntry.AccountingDocument -- association [0..1]
LEFT OUTER JOIN I_GLAccountLineItemRawData AS _GLAccountRawItem ON TB.CompanyCode = _GLAccountRawItem.CompanyCode AND TB.FiscalYear = _GLAccountRawItem.FiscalYear AND TB.AccountingDocument = _GLAccountRawItem.AccountingDocument AND TB.SourceLedger = _GLAccountRawItem.SourceLedger AND TB.LedgerGLLineItem = _GLAccountRawItem.LedgerGLLineItem -- association [0..1]
;
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