P_RU_FinancialStatementItem_2
Financial Statement for Russia
P_RU_FinancialStatementItem_2 is a Consumption CDS View that provides data about "Financial Statement for Russia" in SAP S/4HANA. It reads from 1 data source (P_RU_FinStmntRptgItems_2) and exposes 63 fields with key fields FinancialStatementHierarchy, HierarchyNode, HierarchyParentNode, ValidityEndDate, FinancialStatementFormType. It has 5 associations to related views. Part of development package GLO_FIN_IS_RU_FIN_STMNT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_FinStmntRptgItems_2 | P_RU_FinStmntRptgItems_2 | from |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id | |
| P_FinancialStatementHierarchy | hryid | |
| P_FinancialStatementFormType | firu_finstat_formtype | |
| P_AlternativeGLAccountIsUsed | char1 | |
| P_FromPostingDate | fis_budat | |
| P_ToPostingDate | fis_budat |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CompanyCode | _CompanyCode | ReportedItem.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_FiscalYearForCompanyCode | _FiscalYear | ReportedItem.FiscalYear = _FiscalYear.FiscalYear and ReportedItem.CompanyCode = _FiscalYear.CompanyCode |
| [0..1] | I_ChartOfAccounts | _ChartOfAccounts | ReportedItem.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts |
| [0..1] | I_GLAccountInCompanyCode | _GLAccountInCompanyCode | ReportedItem.CompanyCode = _GLAccountInCompanyCode.CompanyCode and ReportedItem.FinStatementHierarchyNodeValue = _GLAccountInCompanyCode.GLAccount |
| [1..1] | I_GLAccountLineItem | _GLAccountLineItem | ReportedItem.Ledger = _GLAccountLineItem.Ledger and ReportedItem.CompanyCode = _GLAccountLineItem.CompanyCode and ReportedItem.FiscalYear = _GLAccountLineItem.FiscalYear and ReportedItem.AccountingDocument = _GLAccountLineItem.AccountingDocument and ReportedItem.LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRUFINSTMNTITEM2 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Financial Statement for Russia | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementHierarchy | ReportedItem | FinancialStatementHierarchy | Hierarchy ID |
| KEY | HierarchyNode | ReportedItem | HierarchyNode | Node |
| KEY | HierarchyParentNode | ReportedItem | ParentNode | Parent Node |
| KEY | ValidityEndDate | ReportedItem | ValidityEndDate | ValidTo |
| KEY | FinancialStatementFormType | FinancialStatementFormType | ||
| KEY | Ledger | ReportedItem | Ledger | Ledger |
| KEY | CompanyCode | ReportedItem | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | ReportedItem | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | ReportedItem | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | ReportedItem | LedgerGLLineItem | Journal Entry Item |
| ParentNode | ReportedItem | ParentNode | Parent Node | |
| FinancialStatementLeafItem | Hierarchy | FinancialStatementLeafItem | Node | |
| NodeType | ReportedItem | NodeType | Object Type | |
| FinStatementHierarchyNodeValue | ReportedItem | FinStatementHierarchyNodeValue | Value | |
| FunctionalAreaIsUsed | Hierarchy | FunctionalAreaIsUsed | ||
| DebitCreditCode | ReportedItem | DebitCreditCode | Single-Character Flag | |
| PostingDate | ReportedItem | PostingDate | Posting Date for GR | |
| ChartOfAccounts | ReportedItem | ChartOfAccounts | Node Class | |
| AlternativeGLAccountIsUsed | ||||
| RealGLAccount | ReportedItem | GLAccount | General Ledger | |
| AlternativeGLAccount | ReportedItem | AlternativeGLAccount | Group Account | |
| Currency | ReportedItem | Currency | Valuation Crcy | |
| FinancialStatementExplanation | ||||
| _FinancialStatementLeafItem | _FinancialStatementLeafItem | |||
| _CompanyCode | _CompanyCode | |||
| _FiscalYear | _FiscalYear | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| HierarchyNodeText | _ParentText | HierarchyNodeText | ||
| ControllingArea | _GLAccountLineItem | ControllingArea | Controlling Area | |
| Segment | _GLAccountLineItem | Segment | Segment number | |
| ProfitCenter | _GLAccountLineItem | ProfitCenter | Profit Center | |
| CostCenter | _GLAccountLineItem | CostCenter | Cost Center | |
| BusinessArea | _GLAccountLineItem | BusinessArea | Business Area | |
| Supplier | _GLAccountLineItem | Supplier | Supplier | |
| Customer | _GLAccountLineItem | Customer | Sold-to Party | |
| AccountingDocumentType | _GLAccountLineItem | AccountingDocumentType | Journal Entry Type | |
| FiscalPeriod | _GLAccountLineItem | FiscalPeriod | Tax period | |
| MasterFixedAsset | _GLAccountLineItem | MasterFixedAsset | Fixed Asset | |
| FixedAsset | _GLAccountLineItem | FixedAsset | Sub-number | |
| AssetClass | _GLAccountLineItem | AssetClass | Asset Class | |
| AssignmentReference | _GLAccountLineItem | AssignmentReference | Assignment Reference | |
| Plant | _GLAccountLineItem | Plant | Valuation Area | |
| InventoryValuationType | _GLAccountLineItem | InventoryValuationType | Valuation Type | |
| ValuationArea | _GLAccountLineItem | ValuationArea | Valuation Area | |
| Product | _GLAccountLineItem | Product | Product Sold | |
| FunctionalArea | _GLAccountLineItem | FunctionalArea | Sendr Fctl Area | |
| Material | _GLAccountLineItem | Material | Vehicle Model | |
| _Customer | _GLAccountLineItem | _Customer | ||
| _Supplier | _GLAccountLineItem | _Supplier | ||
| _ProfitCenter | _GLAccountLineItem | _ProfitCenter | ||
| _CostCenter | _GLAccountLineItem | _CostCenter | ||
| _BusinessArea | _GLAccountLineItem | _BusinessArea | ||
| _FunctionalArea | _GLAccountLineItem | _FunctionalArea | ||
| _ControllingArea | _GLAccountLineItem | _ControllingArea | ||
| _Segment | _GLAccountLineItem | _Segment | ||
| _AccountingDocumentType | _GLAccountLineItem | _AccountingDocumentType | ||
| _InventoryValuationType | _GLAccountLineItem | _InventoryValuationType | ||
| _Product | _GLAccountLineItem | _Product | ||
| _PurReqValuationArea | _GLAccountLineItem | _PurReqValuationArea | ||
| _Material | _GLAccountLineItem | _Material | ||
| CustomerFinsAuthorizationGrp | ||||
| SupplierFinsAuthorizationGrp |
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 P_RU_FinancialStatementItem_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: PRUFINSTMNTITEM2
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_FinancialStatementHierarchy : hryid, P_FinancialStatementFormType : firu_finstat_formtype, P_AlternativeGLAccountIsUsed : char1, P_FromPostingDate : fis_budat, P_ToPostingDate : fis_budat
CREATE VIEW P_RU_FinancialStatementItem_2 AS
SELECT
ReportedItem.FinancialStatementHierarchy AS FinancialStatementHierarchy,
ReportedItem.HierarchyNode AS HierarchyNode,
ReportedItem.ParentNode AS HierarchyParentNode,
ReportedItem.ValidityEndDate AS ValidityEndDate,
FinancialStatementFormType,
ReportedItem.Ledger AS Ledger,
ReportedItem.CompanyCode AS CompanyCode,
ReportedItem.FiscalYear AS FiscalYear,
ReportedItem.AccountingDocument AS AccountingDocument,
ReportedItem.LedgerGLLineItem AS LedgerGLLineItem,
ReportedItem.ParentNode AS ParentNode,
Hierarchy.FinancialStatementLeafItem AS FinancialStatementLeafItem,
ReportedItem.NodeType AS NodeType,
ReportedItem.FinStatementHierarchyNodeValue AS FinStatementHierarchyNodeValue,
Hierarchy.FunctionalAreaIsUsed AS FunctionalAreaIsUsed,
ReportedItem.DebitCreditCode AS DebitCreditCode,
ReportedItem.PostingDate AS PostingDate,
ReportedItem.ChartOfAccounts AS ChartOfAccounts,
$parameters.P_AlternativeGLAccountIsUsed AS AlternativeGLAccountIsUsed,
ReportedItem.GLAccount AS RealGLAccount,
ReportedItem.AlternativeGLAccount AS AlternativeGLAccount,
ReportedItem.Currency AS Currency,
'' AS FinancialStatementExplanation,
_ParentText.HierarchyNodeText AS HierarchyNodeText,
_GLAccountLineItem.ControllingArea AS ControllingArea,
_GLAccountLineItem.Segment AS Segment,
_GLAccountLineItem.ProfitCenter AS ProfitCenter,
_GLAccountLineItem.CostCenter AS CostCenter,
_GLAccountLineItem.BusinessArea AS BusinessArea,
_GLAccountLineItem.Supplier AS Supplier,
_GLAccountLineItem.Customer AS Customer,
_GLAccountLineItem.AccountingDocumentType AS AccountingDocumentType,
_GLAccountLineItem.FiscalPeriod AS FiscalPeriod,
_GLAccountLineItem.MasterFixedAsset AS MasterFixedAsset,
_GLAccountLineItem.FixedAsset AS FixedAsset,
_GLAccountLineItem.AssetClass AS AssetClass,
_GLAccountLineItem.AssignmentReference AS AssignmentReference,
_GLAccountLineItem.Plant AS Plant,
_GLAccountLineItem.InventoryValuationType AS InventoryValuationType,
_GLAccountLineItem.ValuationArea AS ValuationArea,
_GLAccountLineItem.Product AS Product,
_GLAccountLineItem.FunctionalArea AS FunctionalArea,
_GLAccountLineItem.Material AS Material,
_GLAccountLineItem._Customer AS _Customer,
_GLAccountLineItem._Supplier AS _Supplier,
_GLAccountLineItem._ProfitCenter AS _ProfitCenter,
_GLAccountLineItem._CostCenter AS _CostCenter,
_GLAccountLineItem._BusinessArea AS _BusinessArea,
_GLAccountLineItem._FunctionalArea AS _FunctionalArea,
_GLAccountLineItem._ControllingArea AS _ControllingArea,
_GLAccountLineItem._Segment AS _Segment,
_GLAccountLineItem._AccountingDocumentType AS _AccountingDocumentType,
_GLAccountLineItem._InventoryValuationType AS _InventoryValuationType,
_GLAccountLineItem._Product AS _Product,
_GLAccountLineItem._PurReqValuationArea AS _PurReqValuationArea,
_GLAccountLineItem._Material AS _Material,
_GLAccountLineItem._Customer.AuthorizationGroup AS CustomerFinsAuthorizationGrp,
_GLAccountLineItem._Supplier.AuthorizationGroup AS SupplierFinsAuthorizationGrp
FROM P_RU_FinStmntRptgItems_2
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON ReportedItem.CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_FiscalYearForCompanyCode AS _FiscalYear ON ReportedItem.FiscalYear = _FiscalYear.FiscalYear AND ReportedItem.CompanyCode = _FiscalYear.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ChartOfAccounts AS _ChartOfAccounts ON ReportedItem.ChartOfAccounts = _ChartOfAccounts.ChartOfAccounts -- association [0..1]
LEFT OUTER JOIN I_GLAccountInCompanyCode AS _GLAccountInCompanyCode ON ReportedItem.CompanyCode = _GLAccountInCompanyCode.CompanyCode AND ReportedItem.FinStatementHierarchyNodeValue = _GLAccountInCompanyCode.GLAccount -- association [0..1]
LEFT OUTER JOIN I_GLAccountLineItem AS _GLAccountLineItem ON ReportedItem.Ledger = _GLAccountLineItem.Ledger AND ReportedItem.CompanyCode = _GLAccountLineItem.CompanyCode AND ReportedItem.FiscalYear = _GLAccountLineItem.FiscalYear AND ReportedItem.AccountingDocument = _GLAccountLineItem.AccountingDocument AND ReportedItem.LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem -- association [1..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