I_RU_FinStmntCashFlowLogItem

DDL: I_RU_FINSTMNTCASHFLOWLOGITEM Type: view_entity COMPOSITE

Data Source for Cash Flow Stmnt

I_RU_FinStmntCashFlowLogItem is a Composite CDS View that provides data about "Data Source for Cash Flow Stmnt" in SAP S/4HANA. It reads from 1 data source (I_RU_CashFlowStmntRptgItems) and exposes 84 fields with key fields FinancialStatementLeafItem, StatryRptgEntity, StatryRptCategory, StatryRptRunID, CashFlowStatementHierVersion. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RU_CashFlowStmntRptgItems firud from

Parameters (5)

NameTypeDefault
P_StatryRptRunID srf_report_run_id
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_CashFlowStatementHierVersion firu_cf_version
P_SourceLedger fins_ledger_pers

Associations (5)

CardinalityTargetAliasCondition
[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] I_PartnerInAccountingDocument _Partner _Partner.CompanyCode = firud.CompanyCode and _Partner.AccountingDocument = firud.AccountingDocument and _Partner.FiscalYear = firud.FiscalYear
[1..1] I_OperationalAcctgDocItem _OperationalAcctgDocItem _OperationalAcctgDocItem.FiscalYear = $projection.FiscalYear and _OperationalAcctgDocItem.CompanyCode = $projection.CompanyCode and _OperationalAcctgDocItem.AccountingDocument = $projection.AccountingDocument and _OperationalAcctgDocItem.AccountingDocumentItem = $projection.accountingdocumentitem

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Data Source for Cash Flow Stmnt view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (84)

KeyFieldSource TableSource FieldDescription
KEY FinancialStatementLeafItem I_RU_CashFlowStmntRptgItems FinancialStatementLeafItem Node
KEY StatryRptgEntity I_RU_CashFlowStmntRptgItems StatryRptgEntity Reporting Entity
KEY StatryRptCategory I_RU_CashFlowStmntRptgItems StatryRptCategory Report ID
KEY StatryRptRunID I_RU_CashFlowStmntRptgItems StatryRptRunID Report Run ID
KEY CashFlowStatementHierVersion I_RU_CashFlowStmntRptgItems CashFlowStatementHierVersion XML Vers.
KEY CompanyCode I_RU_CashFlowStmntRptgItems CompanyCode Receiver Company Code
KEY AccountingDocument I_RU_CashFlowStmntRptgItems AccountingDocument Journal Entry
KEY LedgerGLLineItem I_RU_CashFlowStmntRptgItems LedgerGLLineItem Journal Entry Item
KEY FiscalYear
KEY ClearedInvoiceNumber I_RU_CashFlowStmntRptgItems ClearedInvoiceNumber Invoice Number
KEY ClearedInvoiceYear I_RU_CashFlowStmntRptgItems ClearedInvoiceYear Orig.Inv.Year
KEY CashFlowStmntReportingPeriod I_RU_CashFlowStmntRptgItems CashFlowStmntReportingPeriod
Currency I_RU_CashFlowStmntRptgItems Currency Valuation Crcy
PeriodBalAmtInDspCrcy I_RU_CashFlowStmntRptgItems PeriodBalAmtInDspCrcy
StartingBalAmtInDspCrcy I_RU_CashFlowStmntRptgItems StartingBalAmtInDspCrcy
EndingBalAmtInDspCrcy I_RU_CashFlowStmntRptgItems EndingBalAmtInDspCrcy
DocumentDate _GLAccountLineItem DocumentDate Journal Entry Date
PostingDate I_RU_CashFlowStmntRptgItems 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
WBSElementInternalID _GLAccountLineItem WBSElementInternalID WBS Internal ID
WBSElementExternalID
WBSDescription
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
SourceCompanyCode _GLAccountLineItem CompanyCode Receiver Company Code
SourceLedger
FiscalPeriod _GLAccountLineItem FiscalPeriod Tax period
ReferenceDocument _GLAccountLineItem ReferenceDocument Reference Document
_OperationalAcctgDocItem _OperationalAcctgDocItem
DocumentReferenceID
AccountingDocumentHeaderText
JrnlEntryCntrySpecificRef4
JrnlEntryCntrySpecificDate4
_GLAccountLineItem _GLAccountLineItem
_Item _Item
_Version _Version
_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 I_RU_FinStmntCashFlowLogItem.
-- 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_StatryRptRunID : srf_report_run_id, P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_CashFlowStatementHierVersion : firu_cf_version, P_SourceLedger : fins_ledger_pers

CREATE VIEW I_RU_FinStmntCashFlowLogItem AS
SELECT
  firud.FinancialStatementLeafItem AS FinancialStatementLeafItem,
  firud.StatryRptgEntity AS StatryRptgEntity,
  firud.StatryRptCategory AS StatryRptCategory,
  firud.StatryRptRunID AS StatryRptRunID,
  firud.CashFlowStatementHierVersion AS CashFlowStatementHierVersion,
  firud.CompanyCode AS CompanyCode,
  firud.AccountingDocument AS AccountingDocument,
  firud.LedgerGLLineItem AS LedgerGLLineItem,
  cast ( firud.FiscalYear as fis_gjahr_no_conv preserving type ) AS FiscalYear,
  firud.ClearedInvoiceNumber AS ClearedInvoiceNumber,
  firud.ClearedInvoiceYear AS ClearedInvoiceYear,
  firud.CashFlowStmntReportingPeriod AS CashFlowStmntReportingPeriod,
  firud.Currency AS Currency,
  firud.PeriodBalAmtInDspCrcy AS PeriodBalAmtInDspCrcy,
  firud.StartingBalAmtInDspCrcy AS StartingBalAmtInDspCrcy,
  firud.EndingBalAmtInDspCrcy AS EndingBalAmtInDspCrcy,
  _GLAccountLineItem.DocumentDate AS DocumentDate,
  firud.PostingDate AS 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,
  cast ( _GLAccountLineItem.WBSElement as ps_posid_edit preserving type ) AS WBSElement,
  _GLAccountLineItem.WBSElementInternalID AS WBSElementInternalID,
  _GLAccountLineItem._WBSElementBasicData.WBSElementExternalID AS WBSElementExternalID,
  _GLAccountLineItem._WBSElementBasicData.WBSDescription AS WBSDescription,
  _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 SourceCompanyCode,
  $parameters.P_SourceLedger AS SourceLedger,
  _GLAccountLineItem.FiscalPeriod AS FiscalPeriod,
  _GLAccountLineItem.ReferenceDocument AS ReferenceDocument,
  _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 I_RU_CashFlowStmntRptgItems AS firud
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 I_PartnerInAccountingDocument AS _Partner ON _Partner.CompanyCode = firud.CompanyCode AND _Partner.AccountingDocument = firud.AccountingDocument AND _Partner.FiscalYear = firud.FiscalYear  -- association [1..1]
LEFT OUTER JOIN I_OperationalAcctgDocItem AS _OperationalAcctgDocItem ON _OperationalAcctgDocItem.FiscalYear = FiscalYear AND _OperationalAcctgDocItem.CompanyCode = CompanyCode AND _OperationalAcctgDocItem.AccountingDocument = AccountingDocument AND _OperationalAcctgDocItem.AccountingDocumentItem = accountingdocumentitem  -- association [1..1]
;