C_RU_FinancialStatementItemC_2
Financial Statement Item Cube
C_RU_FinancialStatementItemC_2 is a Consumption CDS View (Cube) that provides data about "Financial Statement Item Cube" in SAP S/4HANA. It reads from 1 data source (P_RU_FinancialStatementItem_2) and exposes 66 fields with key fields FinancialStatementHierarchy, HierarchyNode, HierarchyParentNode, ValidityEndDate, FinancialStatementFormType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_FinancialStatementItem_2 | P_RU_FinancialStatementItem_2 | from |
Parameters (11)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_FiscalYear | srf_report_year | |
| P_PreviousFiscalYear | srf_report_year | |
| P_FinancialStatementHierarchy | hryid | |
| P_FinancialStatementFormType | firu_finstat_formtype | |
| P_AlternativeGLAccountIsUsed | char1 | |
| P_FromPostingDate | fis_budat | |
| P_ToPostingDate | fis_budat | |
| P_Ledger | fins_ledger |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | $projection.CompanyCode = _GLAccountInCompanyCode.CompanyCode and $projection.GLAccount = _GLAccountInCompanyCode.GLAccount |
| [0..1] | I_GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | $projection.ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts and ( ( $projection.GLAccount = _GLAccountInChartOfAccounts.GLAccount and P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed <> '1' ) or ( $projection.AlternativeGLAccount = _GLAccountInChartOfAccounts.GLAccount and P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed = '1' ) ) |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CRUFINSTMNTITMC2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Analytics.dataCategory | #CUBE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| EndUserText.label | Financial Statement Item Cube | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.internalName | #LOCAL | view | |
| AbapCatalog.preserveKey | true | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | FinancialStatementHierarchy | Hierarchy ID | |
| KEY | HierarchyNode | HierarchyNode | Node | |
| KEY | HierarchyParentNode | HierarchyParentNode | Hier.node | |
| KEY | ValidityEndDate | ValidityEndDate | ValidTo | |
| KEY | FinancialStatementFormType | FinancialStatementFormType | ||
| KEY | Ledger | P_RU_FinancialStatementItem | Ledger | Ledger |
| KEY | CompanyCode | P_RU_FinancialStatementItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| FinancialStatementLeafItem | FinancialStatementLeafItem | Node | ||
| NodeType | NodeType | Object Type | ||
| FinStatementHierarchyNodeValue | FinStatementHierarchyNodeValue | Value | ||
| FunctionalAreaIsUsed | FunctionalAreaIsUsed | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | RealGLAccount | General Ledger | ||
| AlternativeGLAccount | AlternativeGLAccount | Group Account | ||
| Currency | Currency | Valuation Crcy | ||
| PeriodBalAmtInDspCrcy | PeriodBalAmtInDspCrcy | |||
| DebitAmountInDisplayCrcy | DebitAmountInDisplayCrcy | |||
| CreditAmountInDisplayCrcy | CreditAmountInDisplayCrcy | |||
| YearlyBalAmtInDspCrcy | YearlyBalAmtInDspCrcy | |||
| StartingBalAmtInDspCrcy | StartingBalAmtInDspCrcy | |||
| EndingBalAmtInDspCrcy | EndingBalAmtInDspCrcy | |||
| HierarchyNodeText | HierarchyNodeText | |||
| _FinancialStatementLeafItem | _FinancialStatementLeafItem | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| AlternativeGLAccountIsUsed | AlternativeGLAccountIsUsed | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| CostCenter | CostCenter | Cost Center | ||
| BusinessArea | BusinessArea | Business Area | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| AssetClass | AssetClass | Asset Class | ||
| AssignmentReference | AssignmentReference | Assignment Reference | ||
| Plant | Plant | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| Product | Product | Product Sold | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| FinancialStatementExplanation | FinancialStatementExplanation | |||
| Material | Material | Vehicle Model | ||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _BusinessArea | _BusinessArea | |||
| _ControllingArea | _ControllingArea | |||
| _CostCenter | _CostCenter | |||
| _Customer | _Customer | |||
| _FunctionalArea | _FunctionalArea | |||
| _InventoryValuationType | _InventoryValuationType | |||
| _Product | _Product | |||
| _ProfitCenter | _ProfitCenter | |||
| _PurReqValuationArea | _PurReqValuationArea | |||
| _Segment | _Segment | |||
| _Supplier | _Supplier | |||
| _Material | _Material |
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_RU_FinancialStatementItemC_2.
-- 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: CRUFINSTMNTITMC2
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_FiscalYear : srf_report_year, P_PreviousFiscalYear : srf_report_year, P_FinancialStatementHierarchy : hryid, P_FinancialStatementFormType : firu_finstat_formtype, P_AlternativeGLAccountIsUsed : char1, P_FromPostingDate : fis_budat, P_ToPostingDate : fis_budat, P_Ledger : fins_ledger
CREATE VIEW C_RU_FinancialStatementItemC_2 AS
SELECT
FinancialStatementHierarchy,
HierarchyNode,
HierarchyParentNode,
ValidityEndDate,
FinancialStatementFormType,
P_RU_FinancialStatementItem.Ledger AS Ledger,
P_RU_FinancialStatementItem.CompanyCode AS CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
FinancialStatementLeafItem,
NodeType,
FinStatementHierarchyNodeValue,
FunctionalAreaIsUsed,
PostingDate,
DebitCreditCode,
ChartOfAccounts,
RealGLAccount AS GLAccount,
AlternativeGLAccount,
Currency,
PeriodBalAmtInDspCrcy,
DebitAmountInDisplayCrcy,
CreditAmountInDisplayCrcy,
YearlyBalAmtInDspCrcy,
StartingBalAmtInDspCrcy,
EndingBalAmtInDspCrcy,
HierarchyNodeText,
AlternativeGLAccountIsUsed,
ControllingArea,
Segment,
ProfitCenter,
CostCenter,
BusinessArea,
Supplier,
Customer,
AccountingDocumentType,
FiscalPeriod,
MasterFixedAsset,
FixedAsset,
AssetClass,
AssignmentReference,
Plant,
InventoryValuationType,
ValuationArea,
Product,
FunctionalArea,
FinancialStatementExplanation,
Material
FROM P_RU_FinancialStatementItem_2
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON CompanyCode = _GLAccountInCompanyCode.CompanyCode AND GLAccount = _GLAccountInCompanyCode.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts ON ChartOfAccounts = _GLAccountInChartOfAccounts.ChartOfAccounts AND ( ( GLAccount = _GLAccountInChartOfAccounts.GLAccount AND P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed <> '1' ) OR ( AlternativeGLAccount = _GLAccountInChartOfAccounts.GLAccount AND P_RU_FinancialStatementItem.AlternativeGLAccountIsUsed = '1' ) ) -- 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