P_FORECASTBALANCE_90DAYS

DDL: P_FORECASTBALANCE_90DAYS SQL: PFCSBAL90 Type: view COMPOSITE

Liquidity Forecast Balance in 90 Days

P_FORECASTBALANCE_90DAYS is a Composite CDS View that provides data about "Liquidity Forecast Balance in 90 Days" in SAP S/4HANA. It reads from 2 data sources (P_CASHFLOWFORECASTBAL, P_CashPositionCashFlow) and exposes 8 fields with key fields CompanyCode, TransactionDate, TransactionCurrency, TransactionDate, TransactionCurrency.

Data Sources (2)

SourceAliasJoin Type
P_CASHFLOWFORECASTBAL P_CASHFLOWFORECASTBAL from
P_CashPositionCashFlow P_CashPositionCashFlow union

Parameters (2)

NameTypeDefault
P_KeyDate vdm_v_key_date
P_CashPoolBalCalcPrfl prof_name

Annotations (11)

NameValueLevelField
VDM.private true view
AbapCatalog.sqlViewName PFCSBAL90 view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Liquidity Forecast Balance in 90 Days view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode _Flow CompanyCode Receiver Company Code
KEY TransactionDate _Flow TransactionDate Value Date
KEY TransactionCurrency _Flow TransactionCurrency Transaction Currency
P_KeyDate
CompanyCodeasCompanyCode
KEY TransactionDate Value Date
KEY TransactionCurrency _csflow TransactionCurrency Transaction Currency
AmountInTransactionCurrency

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_FORECASTBALANCE_90DAYS.
-- 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: PFCSBAL90
-- Parameters: P_KeyDate : vdm_v_key_date, P_CashPoolBalCalcPrfl : prof_name

CREATE VIEW P_FORECASTBALANCE_90DAYS AS
SELECT
  _Flow.CompanyCode AS CompanyCode,
  _Flow.TransactionDate AS TransactionDate,
  _Flow.TransactionCurrency AS TransactionCurrency,
  sum(_Flow.AmountInTransactionCurrency) as AmountInTransactionCurrency AS P_KeyDate,
  sum(_csflow.AmountInTransactionCurrency) AS AmountInTransactionCurrency
FROM P_CASHFLOWFORECASTBAL
-- UNION with additional select branch(es): P_CashPositionCashFlow
;