P_ACTUALFLOW_PAST90DAYS

DDL: P_ACTUALFLOW_PAST90DAYS SQL: PACTFLOWP90 Type: view COMPOSITE

Actual Flows for Past 90 Days

P_ACTUALFLOW_PAST90DAYS is a Composite CDS View that provides data about "Actual Flows for Past 90 Days" in SAP S/4HANA. It reads from 5 data sources (fclm_crh, fclm_crl, I_ReconciliationStatus, P_ActualCashFlow, P_PlngLvlInCshPoolBalPrfl) and exposes 5 fields with key fields CompanyCode, LiquidityItem, TransactionDate, TransactionCurrency.

Data Sources (5)

SourceAliasJoin Type
fclm_crh _crh left_outer
fclm_crl _crl left_outer
I_ReconciliationStatus _recn left_outer
P_ActualCashFlow P_ActualCashFlow from
P_PlngLvlInCshPoolBalPrfl P_PlngLvlInCshPoolBalPrfl inner

Parameters (2)

NameTypeDefault
P_KeyDate vdm_v_key_date
P_CashPoolBalCalcPrfl prof_name

Annotations (11)

NameValueLevelField
VDM.private true view
AbapCatalog.sqlViewName PACTFLOWP90 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 Actual Flows for Past 90 Days view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode _flow CompanyCode Receiver Company Code
KEY LiquidityItem _flow LiquidityItem Liquidity Item
KEY TransactionDate _flow TransactionDate Value Date
KEY TransactionCurrency _flow 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_ACTUALFLOW_PAST90DAYS.
-- 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: PACTFLOWP90
-- Parameters: P_KeyDate : vdm_v_key_date, P_CashPoolBalCalcPrfl : prof_name

CREATE VIEW P_ACTUALFLOW_PAST90DAYS AS
SELECT
  _flow.CompanyCode AS CompanyCode,
  _flow.LiquidityItem AS LiquidityItem,
  _flow.TransactionDate AS TransactionDate,
  _flow.TransactionCurrency AS TransactionCurrency,
  sum(_flow.AmountInTransactionCurrency) AS AmountInTransactionCurrency
FROM P_ActualCashFlow
INNER JOIN P_PlngLvlInCshPoolBalPrfl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ReconciliationStatus AS _recn ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fclm_crl AS _crl ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN fclm_crh AS _crh ON /* join condition not captured in parsed metadata */
;