P_CashFlowDetailedAnalysis

DDL: P_CASHFLOWDETAILEDANALYSIS SQL: PCASHFDA Type: view COMPOSITE

P_CashFlowDetailedAnalysis is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CashFlow) and exposes 30 fields.

Data Sources (1)

SourceAliasJoin Type
I_CashFlow flow from

Parameters (4)

NameTypeDefault
P_StartDate sydate
P_EndDate sydate
P_DisplayCurrency vdm_v_display_currency
P_KeyDate vdm_v_key_date

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PCASHFDA view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private 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

Fields (30)

KeyFieldSource TableSource FieldDescription
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
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
Supplier I_CashFlow Supplier Supplier
WBSElement
WBSElement
CertaintyLevel I_CashFlow CertaintyLevel
TransactionCurrency I_CashFlow BankAccountCurrency Currency
OriginalTransactionCurrency I_CashFlow TransactionCurrency Transaction Currency
CompanyCountry
PayingCompanyCode
SourceCompanyCode I_CashFlow SourceCompanyCode
CalendarDay I_CashFlow TransactionDate Value Date
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 P_CashFlowDetailedAnalysis.
-- 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: PCASHFDA
-- Parameters: P_StartDate : sydate, P_EndDate : sydate, P_DisplayCurrency : vdm_v_display_currency, P_KeyDate : vdm_v_key_date

CREATE VIEW P_CashFlowDetailedAnalysis 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,
  flow.CashPlanningGroup AS CashPlanningGroup,
  flow.PlanningLevel AS PlanningLevel,
  flow.ProfitCenter AS ProfitCenter,
  flow.Segment AS Segment,
  flow.PartnerCompany AS TradingPartner,
  flow.Supplier AS Supplier,
  flow._WBSElement.WBSElement AS WBSElement,
  flow.CertaintyLevel AS CertaintyLevel,
  flow.BankAccountCurrency AS TransactionCurrency,
  flow.TransactionCurrency AS OriginalTransactionCurrency,
  flow._CompanyCode.Country AS CompanyCountry,
  flow.SourceCompanyCode AS SourceCompanyCode,
  flow.TransactionDate AS CalendarDay,
  flow.FiscalYear AS FiscalYear,
  flow._CompanyCode.FiscalYearVariant AS FiscalYearVariant,
  '' AS PostingPeriod,
  flow.ExpirationDate AS ExpirationDate
FROM I_CashFlow AS flow
;