PActualForecastCashFlow
Cash Flow
PActualForecastCashFlow is a CDS View that provides data about "Cash Flow" in SAP S/4HANA. It reads from 1 data source (I_CashFlow) and exposes 32 fields. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CashFlow | flow | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CalendarDate | _Date | $projection.CalendarDay = _Date.CalendarDate |
| [0..1] | PActivePlanningUnit | _PlanningUnit | $projection.CompanyCode = _PlanningUnit.CompanyCode |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCASHFLOW | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Cash Flow | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| BankAccountInternalID | I_CashFlow | BankAccountInternalID | Technical ID | |
| BusinessPartner | I_CashFlow | BusinessPartner | Issuing Authority | |
| BusinessArea | I_CashFlow | BusinessArea | Business Area | |
| CompanyCode | I_CashFlow | CompanyCode | Receiver Company Code | |
| CostCenter | I_CashFlow | CostCenter | Cost Center | |
| ControllingArea | ||||
| Customer | I_CashFlow | Customer | Sold-to Party | |
| HouseBank | I_CashFlow | HouseBank | House Bank | |
| HouseBankAccount | I_CashFlow | HouseBankAccount | House Bank Account | |
| LiquidityItem | I_CashFlow | LiquidityItem | Liquidity Item | |
| PlanningUnit | _PlanningUnit | PlanningUnit | ||
| CashPlanningGroup | I_CashFlow | CashPlanningGroup | Planning Group | |
| PlanningLevel | I_CashFlow | PlanningLevel | Planning Level | |
| ProfitCenter | I_CashFlow | ProfitCenter | Profit Center | |
| Segment | I_CashFlow | Segment | Segment number | |
| TradingPartner | I_CashFlow | PartnerCompany | Trading Partner | |
| Vendor | I_CashFlow | Supplier | Supplier | |
| WBSElement | ||||
| WBSElement | ||||
| CertaintyLevel | I_CashFlow | CertaintyLevel | ||
| CompanyCountry | ||||
| PayingCompanyCode | ||||
| AssignedCompanyCode | I_CashFlow | SourceCompanyCode | ||
| CalendarDay | I_CashFlow | TransactionDate | Value Date | |
| CalendarYearWeek | _Date | YearWeek | Year and Calendar Week | |
| CalendarYearMonth | _Date | YearMonth | Year Month | |
| CalendarYearQuarter | _Date | YearQuarter | Year Quarter | |
| CalendarYear | _Date | CalendarYear | Year | |
| FiscalYear | I_CashFlow | FiscalYear | G/L Fiscal Year | |
| FiscalYearVariant | ||||
| PostingPeriod | ||||
| ExpirationDate | I_CashFlow | ExpirationDate | Expiratn Date |
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 PActualForecastCashFlow.
-- 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: PCASHFLOW
CREATE VIEW PActualForecastCashFlow AS
SELECT
flow.BankAccountInternalID AS BankAccountInternalID,
flow.BusinessPartner AS BusinessPartner,
flow.BusinessArea AS BusinessArea,
flow.CompanyCode AS CompanyCode,
flow.CostCenter AS CostCenter,
flow._CompanyCode.ControllingArea AS ControllingArea,
flow.Customer AS Customer,
flow.HouseBank AS HouseBank,
flow.HouseBankAccount AS HouseBankAccount,
flow.LiquidityItem AS LiquidityItem,
_PlanningUnit.PlanningUnit AS PlanningUnit,
flow.CashPlanningGroup AS CashPlanningGroup,
flow.PlanningLevel AS PlanningLevel,
flow.ProfitCenter AS ProfitCenter,
flow.Segment AS Segment,
flow.PartnerCompany AS TradingPartner,
flow.Supplier AS Vendor,
flow._WBSElement.WBSElement AS WBSElement,
flow.CertaintyLevel AS CertaintyLevel,
flow._CompanyCode.Country AS CompanyCountry,
flow.SourceCompanyCode AS AssignedCompanyCode,
flow.TransactionDate AS CalendarDay,
_Date.YearWeek AS CalendarYearWeek,
_Date.YearMonth AS CalendarYearMonth,
_Date.YearQuarter AS CalendarYearQuarter,
_Date.CalendarYear AS CalendarYear,
flow.FiscalYear AS FiscalYear,
flow._CompanyCode.FiscalYearVariant AS FiscalYearVariant,
'' AS PostingPeriod,
flow.ExpirationDate AS ExpirationDate
FROM I_CashFlow AS flow
LEFT OUTER JOIN I_CalendarDate AS _Date ON CalendarDay = _Date.CalendarDate -- association [0..1]
LEFT OUTER JOIN PActivePlanningUnit AS _PlanningUnit ON CompanyCode = _PlanningUnit.CompanyCode -- association [0..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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