I_CashFlowDetailedAnalysisCube
Cash Flow Detailed Analysis Cube
I_CashFlowDetailedAnalysisCube is a Composite CDS View (Cube) that provides data about "Cash Flow Detailed Analysis Cube" in SAP S/4HANA. It reads from 1 data source (P_CashFlowDetailedAnalysis) and exposes 47 fields. It has 11 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CashFlowDetailedAnalysis | P_CashFlowDetailedAnalysis | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_StartDate | sydate | |
| P_EndDate | sydate | |
| P_DisplayCurrency | vdm_v_display_currency | |
| P_KeyDate | vdm_v_key_date |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_LiquidityItem | _LiquidityItem | $projection.LiquidityItem = _LiquidityItem.LiquidityItem |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_CompanyCode | _SourceCompanyCode | $projection.SourceCompanyCode = _SourceCompanyCode.CompanyCode |
| [0..1] | I_BankAccount | _BankAccount | $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID |
| [0..1] | I_Currency | _Currency | $projection.TransactionCurrency = _Currency.Currency |
| [0..1] | I_CashPlanningGroup | _CashPlanningGroup | $projection.CashPlanningGroup = _CashPlanningGroup.CashPlanningGroup |
| [0..1] | I_PlanningLevel | _PlanningLevel | $projection.PlanningLevel = _PlanningLevel.PlanningLevel |
| [0..1] | I_WBSElement | _WBSElement | $projection.WBSElement = _WBSElement.WBSElement |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.controllingarea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..1] | I_Country | _Country | $projection.country = _Country.Country |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.controllingarea = _ControllingArea.ControllingArea |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICASHFDAC | view | |
| EndUserText.label | Cash Flow Detailed Analysis Cube | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Analytics.dataCategory | #CUBE | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| BankAccountInternalID | flow | BankAccountInternalID | Technical ID | |
| BusinessPartner | flow | BusinessPartner | Issuing Authority | |
| BusinessArea | flow | BusinessArea | Business Area | |
| CompanyCode | flow | CompanyCode | Receiver Company Code | |
| CompanyCodeName | _CompanyCode | CompanyCodeName | Company Name | |
| ControllingArea | _CompanyCode | ControllingArea | Controlling Area | |
| Country | _CompanyCode | Country | Venue: Ctry/Reg | |
| CostCenter | flow | CostCenter | Cost Center | |
| Customer | flow | Customer | Sold-to Party | |
| HouseBank | flow | HouseBank | House Bank | |
| HouseBankAccount | flow | HouseBankAccount | House Bank Account | |
| LiquidityItem | flow | LiquidityItem | Liquidity Item | |
| CashFlowDirection | _LiquidityItem | CashFlowDirection | ||
| PlanningUnit | ||||
| CashPlanningGroup | flow | CashPlanningGroup | Planning Group | |
| PlanningLevel | flow | PlanningLevel | Planning Level | |
| ProfitCenter | flow | ProfitCenter | Profit Center | |
| Segment | flow | Segment | Segment number | |
| PartnerCompany | flow | TradingPartner | Trading Partner | |
| Supplier | flow | Supplier | Supplier | |
| WBSElement | flow | WBSElement | WBS Internal ID | |
| ResponsibleCostCenter | _WBSElement | ResponsibleCostCenter | Responsible Cost Center | |
| ProjectInternalID | _WBSElement | ProjectInternalID | Project Def. | |
| CertaintyLevel | flow | CertaintyLevel | ||
| TransactionCurrency | flow | TransactionCurrency | Transaction Currency | |
| OriginalCurrency | flow | OriginalTransactionCurrency | Transaction Currency | |
| PayingCompanyCode | ||||
| SourceCompanyCode | flow | SourceCompanyCode | ||
| CalendarDay | flow | CalendarDay | Occur Day in a Month | |
| PostingPeriod | ||||
| CashOut | flow | CashOut | Cash Out | |
| CashIn | flow | CashIn | Cash In | |
| CashNet | Cash Net | |||
| DisplayCurrency | ||||
| CashOutConverted | flow | CashOutConverted | Cash Out (Converted) | |
| CashInConverted | flow | CashInConverted | Cash In (Converted) | |
| CashNetConverted | Cash Net (Converted) | |||
| _CompanyCode | _CompanyCode | |||
| _LiquidityItem | _LiquidityItem | |||
| _BankAccount | _BankAccount | |||
| _CashPlanningGroup | _CashPlanningGroup | |||
| _PlanningLevel | _PlanningLevel | |||
| _WBSElement | _WBSElement | |||
| _SourceCompanyCode | _SourceCompanyCode | |||
| _ProfitCenter | _ProfitCenter | |||
| _ControllingArea | _ControllingArea | |||
| _Country | _Country |
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_CashFlowDetailedAnalysisCube.
-- 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: ICASHFDAC
-- Parameters: P_StartDate : sydate, P_EndDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_KeyDate : vdm_v_key_date
CREATE VIEW I_CashFlowDetailedAnalysisCube AS
SELECT
flow.BankAccountInternalID AS BankAccountInternalID,
flow.BusinessPartner AS BusinessPartner,
flow.BusinessArea AS BusinessArea,
flow.CompanyCode AS CompanyCode,
_CompanyCode.CompanyCodeName AS CompanyCodeName,
_CompanyCode.ControllingArea AS ControllingArea,
_CompanyCode.Country AS Country,
flow.CostCenter AS CostCenter,
flow.Customer AS Customer,
flow.HouseBank AS HouseBank,
flow.HouseBankAccount AS HouseBankAccount,
flow.LiquidityItem AS LiquidityItem,
_LiquidityItem.CashFlowDirection AS CashFlowDirection,
flow.CashPlanningGroup AS CashPlanningGroup,
flow.PlanningLevel AS PlanningLevel,
flow.ProfitCenter AS ProfitCenter,
flow.Segment AS Segment,
flow.TradingPartner AS PartnerCompany,
flow.Supplier AS Supplier,
flow.WBSElement AS WBSElement,
_WBSElement.ResponsibleCostCenter AS ResponsibleCostCenter,
_WBSElement.ProjectInternalID AS ProjectInternalID,
flow.CertaintyLevel AS CertaintyLevel,
flow.TransactionCurrency AS TransactionCurrency,
flow.OriginalTransactionCurrency AS OriginalCurrency,
flow.SourceCompanyCode AS SourceCompanyCode,
flow.CalendarDay AS CalendarDay,
'' AS PostingPeriod,
flow.CashOut AS CashOut,
flow.CashIn AS CashIn,
flow.CashIn + flow.CashOut AS CashNet,
:P_DisplayCurrency AS DisplayCurrency,
flow.CashOutConverted AS CashOutConverted,
flow.CashInConverted AS CashInConverted,
flow.CashInConverted + flow.CashOutConverted AS CashNetConverted
FROM P_CashFlowDetailedAnalysis
LEFT OUTER JOIN I_LiquidityItem AS _LiquidityItem ON LiquidityItem = _LiquidityItem.LiquidityItem -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _SourceCompanyCode ON SourceCompanyCode = _SourceCompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON TransactionCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_CashPlanningGroup AS _CashPlanningGroup ON CashPlanningGroup = _CashPlanningGroup.CashPlanningGroup -- association [0..1]
LEFT OUTER JOIN I_PlanningLevel AS _PlanningLevel ON PlanningLevel = _PlanningLevel.PlanningLevel -- association [0..1]
LEFT OUTER JOIN I_WBSElement AS _WBSElement ON WBSElement = _WBSElement.WBSElement -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON controllingarea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_Country AS _Country ON country = _Country.Country -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON controllingarea = _ControllingArea.ControllingArea -- 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