P_RU_FINSTMNTCASHFLOWLOGITEM2
Cash Flow Statement Raw Data
P_RU_FINSTMNTCASHFLOWLOGITEM2 is a Consumption CDS View that provides data about "Cash Flow Statement Raw Data" in SAP S/4HANA. It reads from 1 data source (P_RU_FINSTMNTCASHFLOWLOGITEM3) and exposes 85 fields with key fields FinancialStatementLeafItem, StatryRptgEntity, StatryRptCategory, StatryRptRunID, CashFlowStatementHierVersion. It has 4 associations to related views. Part of development package GLO_FIN_IS_RU_FIN_STMNT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_FINSTMNTCASHFLOWLOGITEM3 | P_RU_FINSTMNTCASHFLOWLOGITEM3 | from |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_StatryRptRunID | srf_report_run_id | |
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_FinancialStatementHierarchy | firu_cf_version | |
| P_SourceLedger | fins_ledger_pers |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_RU_FinStmntCashFlowItem | _Item | $projection.FinancialStatementLeafItem = _Item.Item and $projection.CashFlowStatementHierVersion = _Item.Version |
| [0..1] | I_RU_FinStmntCashFlowVersion | _Version | $projection.CashFlowStatementHierVersion = _Version.Version |
| [1..1] | I_GLAccountLineItem | _GLAccountLineItem | $projection.AccountingDocument = _GLAccountLineItem.AccountingDocument and $projection.FiscalYear = _GLAccountLineItem.FiscalYear and $projection.CompanyCode = _GLAccountLineItem.CompanyCode and _GLAccountLineItem.SourceLedger = $parameters.P_SourceLedger and _GLAccountLineItem.Ledger = $parameters.P_SourceLedger and $projection.LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem |
| [1..1] | P_RU_PartnerInAccDocument | _Partner | _Partner.CompanyCode = FIRUD.CompanyCode and _Partner.AccountingDocument = FIRUD.AccountingDocument and _Partner.FiscalYear = FIRUD.FiscalYear |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRUFSLOGITEMCF2 | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCK_DATA_INCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Cash Flow Statement Raw Data | view |
Fields (85)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FinancialStatementLeafItem | FinancialStatementLeafItem | Node | |
| KEY | StatryRptgEntity | StatryRptgEntity | Reporting Entity | |
| KEY | StatryRptCategory | StatryRptCategory | Report ID | |
| KEY | StatryRptRunID | StatryRptRunID | Report Run ID | |
| KEY | CashFlowStatementHierVersion | CashFlowStatementHierVersion | ||
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | ClearedInvoiceNumber | ClearedInvoiceNumber | ||
| KEY | ClearedInvoiceYear | ClearedInvoiceYear | ||
| KEY | ReportingPeriod | ReportingPeriod | Single-Character Flag | |
| Currency | Currency | Valuation Crcy | ||
| DocumentDate | _GLAccountLineItem | DocumentDate | Journal Entry Date | |
| PostingDate | PostingDate | Posting Date for GR | ||
| BusinessArea | _GLAccountLineItem | BusinessArea | Business Area | |
| ControllingArea | _GLAccountLineItem | ControllingArea | Controlling Area | |
| FunctionalArea | _GLAccountLineItem | FunctionalArea | Sendr Fctl Area | |
| ValuationArea | _GLAccountLineItem | ValuationArea | Valuation Area | |
| InventoryValuationType | _GLAccountLineItem | InventoryValuationType | Valuation Type | |
| CostCenter | _GLAccountLineItem | CostCenter | Cost Center | |
| ProfitCenter | _GLAccountLineItem | ProfitCenter | Profit Center | |
| Segment | _GLAccountLineItem | Segment | Segment number | |
| WBSElement | _GLAccountLineItem | WBSElement | WBS Internal ID | |
| WBSElementInternalID | _GLAccountLineItem | WBSElementInternalID | WBS Internal ID | |
| WBSElementExternalID | ||||
| AlternativeGLAccount | _GLAccountLineItem | AlternativeGLAccount | Group Account | |
| GLAccount | _GLAccountLineItem | GLAccount | General Ledger | |
| FundsCenter | _GLAccountLineItem | FundsCenter | Funds Center | |
| AssignmentReference | _GLAccountLineItem | AssignmentReference | Assignment Reference | |
| AssetClass | _GLAccountLineItem | AssetClass | Asset Class | |
| MasterFixedAsset | _GLAccountLineItem | MasterFixedAsset | Fixed Asset | |
| FixedAsset | _GLAccountLineItem | FixedAsset | Sub-number | |
| Customer | _Partner | Customer | Sold-to Party | |
| Supplier | _Partner | Supplier | Supplier | |
| Plant | _GLAccountLineItem | Plant | Valuation Area | |
| Material | _GLAccountLineItem | Material | Vehicle Model | |
| Product | _GLAccountLineItem | Product | Product Sold | |
| AccountingDocumentItem | _GLAccountLineItem | AccountingDocumentItem | Posting View Item | |
| AccountingDocumentType | _GLAccountLineItem | AccountingDocumentType | Journal Entry Type | |
| CountryChartOfAccounts | _GLAccountLineItem | CountryChartOfAccounts | Chart of Accts | |
| ChartOfAccounts | _GLAccountLineItem | ChartOfAccounts | Node Class | |
| FinancialManagementArea | _GLAccountLineItem | FinancialManagementArea | FM Area | |
| CompanyCode2 | _GLAccountLineItem | CompanyCode | Receiver Company Code | |
| SourceLedger | ||||
| FiscalPeriod | _GLAccountLineItem | FiscalPeriod | Tax period | |
| ReferenceDocument | _GLAccountLineItem | ReferenceDocument | Reference Document | |
| Item | _Item | Item | Task ID | |
| ParentItem | _Item | ParentItem | ||
| ItemType | _Item | ItemType | Object Type | |
| FinancialStmntCashFlowItemMode | _Item | FinancialStmntCashFlowItemMode | ||
| ItemSignIsReversed | _Item | ItemSignIsReversed | Change Item Sign | |
| ItemIsHiddenInReporting | _Item | ItemIsHiddenInReporting | ||
| DocumentReferenceID | ||||
| AccountingDocumentHeaderText | ||||
| JrnlEntryCntrySpecificRef4 | ||||
| JrnlEntryCntrySpecificDate4 | ||||
| _Item | _Item | |||
| _Version | _Version | |||
| _GLAccountLineItem | _GLAccountLineItem | |||
| _BusinessArea | _GLAccountLineItem | _BusinessArea | ||
| _ControllingArea | _GLAccountLineItem | _ControllingArea | ||
| _FunctionalArea | _GLAccountLineItem | _FunctionalArea | ||
| _InventoryValuationType | _GLAccountLineItem | _InventoryValuationType | ||
| _CostCenter | _GLAccountLineItem | _CostCenter | ||
| _ProfitCenter | _GLAccountLineItem | _ProfitCenter | ||
| _Segment | _GLAccountLineItem | _Segment | ||
| _WBSElement | _GLAccountLineItem | _WBSElement | ||
| _PurReqValuationArea | _GLAccountLineItem | _PurReqValuationArea | ||
| _FixedAsset | _GLAccountLineItem | _FixedAsset | ||
| _Customer | _Partner | _Customer | ||
| _Supplier | _Partner | _Supplier | ||
| _Plant | _GLAccountLineItem | _Plant | ||
| _Material | _GLAccountLineItem | _Material | ||
| _Product | _GLAccountLineItem | _Product | ||
| _AlternativeGLAccount | _GLAccountLineItem | _AlternativeGLAccount | ||
| _GLAccountInChartOfAccounts | _GLAccountLineItem | _GLAccountInChartOfAccounts | ||
| _FundsCenter | _GLAccountLineItem | _FundsCenter | ||
| _MasterFixedAsset | _GLAccountLineItem | _MasterFixedAsset | ||
| _FixedAssetText | _GLAccountLineItem | _FixedAssetText | ||
| _CompanyCode | _GLAccountLineItem | _CompanyCode | ||
| _ChartOfAccounts | _GLAccountLineItem | _ChartOfAccounts | ||
| _CountryChartOfAccounts | _GLAccountLineItem | _CountryChartOfAccounts | ||
| _FinancialManagementArea | _GLAccountLineItem | _FinancialManagementArea | ||
| _AccountingDocumentType | _GLAccountLineItem | _AccountingDocumentType |
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_FINSTMNTCASHFLOWLOGITEM2.
-- 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: PRUFSLOGITEMCF2
-- Parameters: P_StatryRptRunID : srf_report_run_id, P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_FinancialStatementHierarchy : firu_cf_version, P_SourceLedger : fins_ledger_pers
CREATE VIEW P_RU_FINSTMNTCASHFLOWLOGITEM2 AS
SELECT
FinancialStatementLeafItem,
StatryRptgEntity,
StatryRptCategory,
StatryRptRunID,
CashFlowStatementHierVersion,
CompanyCode,
AccountingDocument,
LedgerGLLineItem,
FiscalYear,
ClearedInvoiceNumber,
ClearedInvoiceYear,
ReportingPeriod,
Currency,
_GLAccountLineItem.DocumentDate AS DocumentDate,
PostingDate,
_GLAccountLineItem.BusinessArea AS BusinessArea,
_GLAccountLineItem.ControllingArea AS ControllingArea,
_GLAccountLineItem.FunctionalArea AS FunctionalArea,
_GLAccountLineItem.ValuationArea AS ValuationArea,
_GLAccountLineItem.InventoryValuationType AS InventoryValuationType,
_GLAccountLineItem.CostCenter AS CostCenter,
_GLAccountLineItem.ProfitCenter AS ProfitCenter,
_GLAccountLineItem.Segment AS Segment,
_GLAccountLineItem.WBSElement AS WBSElement,
_GLAccountLineItem.WBSElementInternalID AS WBSElementInternalID,
_GLAccountLineItem._WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
_GLAccountLineItem.AlternativeGLAccount AS AlternativeGLAccount,
_GLAccountLineItem.GLAccount AS GLAccount,
_GLAccountLineItem.FundsCenter AS FundsCenter,
_GLAccountLineItem.AssignmentReference AS AssignmentReference,
_GLAccountLineItem.AssetClass AS AssetClass,
_GLAccountLineItem.MasterFixedAsset AS MasterFixedAsset,
_GLAccountLineItem.FixedAsset AS FixedAsset,
_Partner.Customer AS Customer,
_Partner.Supplier AS Supplier,
_GLAccountLineItem.Plant AS Plant,
_GLAccountLineItem.Material AS Material,
_GLAccountLineItem.Product AS Product,
_GLAccountLineItem.AccountingDocumentItem AS AccountingDocumentItem,
_GLAccountLineItem.AccountingDocumentType AS AccountingDocumentType,
_GLAccountLineItem.CountryChartOfAccounts AS CountryChartOfAccounts,
_GLAccountLineItem.ChartOfAccounts AS ChartOfAccounts,
_GLAccountLineItem.FinancialManagementArea AS FinancialManagementArea,
_GLAccountLineItem.CompanyCode AS CompanyCode2,
$parameters.P_SourceLedger AS SourceLedger,
_GLAccountLineItem.FiscalPeriod AS FiscalPeriod,
_GLAccountLineItem.ReferenceDocument AS ReferenceDocument,
_Item.Item AS Item,
_Item.ParentItem AS ParentItem,
_Item.ItemType AS ItemType,
_Item.FinancialStmntCashFlowItemMode AS FinancialStmntCashFlowItemMode,
_Item.ItemSignIsReversed AS ItemSignIsReversed,
_Item.ItemIsHiddenInReporting AS ItemIsHiddenInReporting,
_GLAccountLineItem._JournalEntry.DocumentReferenceID AS DocumentReferenceID,
_GLAccountLineItem._JournalEntry.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
_GLAccountLineItem._JournalEntry.JrnlEntryCntrySpecificRef4 AS JrnlEntryCntrySpecificRef4,
_GLAccountLineItem._JournalEntry.JrnlEntryCntrySpecificDate4 AS JrnlEntryCntrySpecificDate4,
_GLAccountLineItem._BusinessArea AS _BusinessArea,
_GLAccountLineItem._ControllingArea AS _ControllingArea,
_GLAccountLineItem._FunctionalArea AS _FunctionalArea,
_GLAccountLineItem._InventoryValuationType AS _InventoryValuationType,
_GLAccountLineItem._CostCenter AS _CostCenter,
_GLAccountLineItem._ProfitCenter AS _ProfitCenter,
_GLAccountLineItem._Segment AS _Segment,
_GLAccountLineItem._WBSElement AS _WBSElement,
_GLAccountLineItem._PurReqValuationArea AS _PurReqValuationArea,
_GLAccountLineItem._FixedAsset AS _FixedAsset,
_Partner._Customer AS _Customer,
_Partner._Supplier AS _Supplier,
_GLAccountLineItem._Plant AS _Plant,
_GLAccountLineItem._Material AS _Material,
_GLAccountLineItem._Product AS _Product,
_GLAccountLineItem._AlternativeGLAccount AS _AlternativeGLAccount,
_GLAccountLineItem._GLAccountInChartOfAccounts AS _GLAccountInChartOfAccounts,
_GLAccountLineItem._FundsCenter AS _FundsCenter,
_GLAccountLineItem._MasterFixedAsset AS _MasterFixedAsset,
_GLAccountLineItem._FixedAssetText AS _FixedAssetText,
_GLAccountLineItem._CompanyCode AS _CompanyCode,
_GLAccountLineItem._ChartOfAccounts AS _ChartOfAccounts,
_GLAccountLineItem._CountryChartOfAccounts AS _CountryChartOfAccounts,
_GLAccountLineItem._FinancialManagementArea AS _FinancialManagementArea,
_GLAccountLineItem._AccountingDocumentType AS _AccountingDocumentType
FROM P_RU_FINSTMNTCASHFLOWLOGITEM3
LEFT OUTER JOIN I_RU_FinStmntCashFlowItem AS _Item ON FinancialStatementLeafItem = _Item.Item AND CashFlowStatementHierVersion = _Item.Version -- association [0..1]
LEFT OUTER JOIN I_RU_FinStmntCashFlowVersion AS _Version ON CashFlowStatementHierVersion = _Version.Version -- association [0..1]
LEFT OUTER JOIN I_GLAccountLineItem AS _GLAccountLineItem ON AccountingDocument = _GLAccountLineItem.AccountingDocument AND FiscalYear = _GLAccountLineItem.FiscalYear AND CompanyCode = _GLAccountLineItem.CompanyCode AND _GLAccountLineItem.SourceLedger = $parameters.P_SourceLedger AND _GLAccountLineItem.Ledger = $parameters.P_SourceLedger AND LedgerGLLineItem = _GLAccountLineItem.LedgerGLLineItem -- association [1..1]
LEFT OUTER JOIN P_RU_PartnerInAccDocument AS _Partner ON _Partner.CompanyCode = FIRUD.CompanyCode AND _Partner.AccountingDocument = FIRUD.AccountingDocument AND _Partner.FiscalYear = FIRUD.FiscalYear -- 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