P_Liquidityforecast_Future

DDL: P_LIQUIDITYFORECAST_FUTURE SQL: P_LFFUTURE Type: view COMPOSITE

P_Liquidityforecast_Future is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_Liquidityforecast_Flowtype, P_Cashflow_Base) and exposes 40 fields.

Data Sources (2)

SourceAliasJoin Type
I_Liquidityforecast_Flowtype flowtype left_outer
P_Cashflow_Base P_Cashflow_Base from

Parameters (4)

NameTypeDefault
P_StartDate vdm_v_start_date
P_EndDate vdm_v_end_date
P_Language sylangu
P_DisplayCurrency vdm_v_display_currency

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName P_LFFUTURE view
ClientDependent true view
VDM.private true view
VDM.viewType #COMPOSITE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view

Fields (40)

KeyFieldSource TableSource FieldDescription
CompanyCode flow CompanyCode Receiver Company Code
DomainValueName I_Liquidityforecast_Flowtype DomainValueName Short text
ControllingArea flow ControllingArea Controlling Area
Country flow Country Venue: Ctry/Reg
_CompanyCode flow _CompanyCode
LiquidityItem flow LiquidityItem Liquidity Item
_LiquidityItem flow _LiquidityItem
BankAccountInternalID flow BankAccountInternalID Technical ID
TransactionCurrency flow TransactionCurrency Transaction Currency
OriginalTransactionCurrency flow OriginalTransactionCurrency
BankAccountType flow BankAccountType Account Type
Bank flow Bank Bank Number
BankAccount flow BankAccount Bank acct
BankAccountDescription flow BankAccountDescription
BankAccountStatus flow BankAccountStatus Account Status
_BankAccount flow _BankAccount
AmountInTransactionCurrency
CertaintyLevel flow CertaintyLevel
GLAccount flow GLAccount General Ledger
_GLAccount flow _GLAccount
Customer flow Customer Sold-to Party
Supplier flow Supplier Supplier
BusinessPartner flow BusinessPartner Issuing Authority
BusinessArea flow BusinessArea Business Area
ProfitCenter flow ProfitCenter Profit Center
WBSElementInternalID flow WBSElementInternalID WBS Internal ID
WBSElement flow WBSElement WBS Internal ID
_WBSElement flow _WBSElement
PartnerCompany flow PartnerCompany Trading Partner
CostCenter flow CostCenter Cost Center
Segment flow Segment Segment number
CashPlanningGroup flow CashPlanningGroup Planning Group
_CashPlanningGroup flow _CashPlanningGroup
PlanningLevel flow PlanningLevel Planning Level
_PlanningLevel flow _PlanningLevel
HouseBank flow HouseBank House Bank
HouseBankAccount flow HouseBankAccount House Bank Account
SourceCompanyCode flow SourceCompanyCode
ResponsibleCostCenter flow ResponsibleCostCenter Responsible Cost Center
Project flow Project WBS Element

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_Liquidityforecast_Future.
-- 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: P_LFFUTURE
-- Parameters: P_StartDate : vdm_v_start_date, P_EndDate : vdm_v_end_date, P_Language : sylangu, P_DisplayCurrency : vdm_v_display_currency

CREATE VIEW P_Liquidityforecast_Future AS
SELECT
  flow.CompanyCode AS CompanyCode,
  flowtype.DomainValueName AS DomainValueName,
  flow.ControllingArea AS ControllingArea,
  flow.Country AS Country,
  flow._CompanyCode AS _CompanyCode,
  flow.LiquidityItem AS LiquidityItem,
  flow._LiquidityItem AS _LiquidityItem,
  flow.BankAccountInternalID AS BankAccountInternalID,
  flow.TransactionCurrency AS TransactionCurrency,
  flow.OriginalTransactionCurrency AS OriginalTransactionCurrency,
  flow.BankAccountType AS BankAccountType,
  flow.Bank AS Bank,
  flow.BankAccount AS BankAccount,
  flow.BankAccountDescription AS BankAccountDescription,
  flow.BankAccountStatus AS BankAccountStatus,
  flow._BankAccount AS _BankAccount,
  sum(flow.AmountInTransactionCurrency) AS AmountInTransactionCurrency,
  flow.CertaintyLevel AS CertaintyLevel,
  flow.GLAccount AS GLAccount,
  flow._GLAccount AS _GLAccount,
  flow.Customer AS Customer,
  flow.Supplier AS Supplier,
  flow.BusinessPartner AS BusinessPartner,
  flow.BusinessArea AS BusinessArea,
  flow.ProfitCenter AS ProfitCenter,
  flow.WBSElementInternalID AS WBSElementInternalID,
  flow.WBSElement AS WBSElement,
  flow._WBSElement AS _WBSElement,
  flow.PartnerCompany AS PartnerCompany,
  flow.CostCenter AS CostCenter,
  flow.Segment AS Segment,
  flow.CashPlanningGroup AS CashPlanningGroup,
  flow._CashPlanningGroup AS _CashPlanningGroup,
  flow.PlanningLevel AS PlanningLevel,
  flow._PlanningLevel AS _PlanningLevel,
  flow.HouseBank AS HouseBank,
  flow.HouseBankAccount AS HouseBankAccount,
  flow.SourceCompanyCode AS SourceCompanyCode,
  flow.ResponsibleCostCenter AS ResponsibleCostCenter,
  flow.Project AS Project
FROM P_Cashflow_Base
LEFT OUTER JOIN I_Liquidityforecast_Flowtype AS flowtype ON /* join condition not captured in parsed metadata */
;