I_RelCashFlowTP

DDL: I_RELCASHFLOWTP SQL: IRCFTP Type: view COMPOSITE

Release Cash Flows

I_RelCashFlowTP is a Composite CDS View that provides data about "Release Cash Flows" in SAP S/4HANA. It reads from 1 data source (I_RelCashFlowMD) and exposes 40 fields with key fields OriginSystem, OriginApplication, OriginDocument, OriginTransaction, OriginTransactionQualifier. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RelCashFlowMD flow from

Parameters (2)

NameTypeDefault
P_DisplayCurrency vdm_v_display_currency
P_ExchangeRateType kurst

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_BankAccount _BankAccount $projection.BankAccountInternalID = _BankAccount.BankAccountInternalID
[0..1] I_Currency _TransactionCurrency $projection.TransactionCurrency = _TransactionCurrency.Currency
[0..1] I_Currency _BankAccountCurrency $projection.bankaccountcurrency = _BankAccountCurrency.Currency
[0..1] I_Currency _DisplayCurrency $projection.DisplayCurrency = _DisplayCurrency.Currency
[0..1] I_CashPlanningGroup _PlanningGroup $projection.CashPlanningGroup = _PlanningGroup.CashPlanningGroup
[0..1] I_PlanningLevel _PlanningLevel $projection.PlanningLevel = _PlanningLevel.PlanningLevel
[0..1] I_LiquidityItem _LiquidityItem $projection.LiquidityItem = _LiquidityItem.LiquidityItem

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IRCFTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Release Cash Flows view
VDM.viewType #COMPOSITE view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view

Fields (40)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem I_RelCashFlowMD OriginSystem LogSys: Formula
KEY OriginApplication I_RelCashFlowMD OriginApplication Origin Application
KEY OriginDocument I_RelCashFlowMD OriginDocument
KEY OriginTransaction I_RelCashFlowMD OriginTransaction
KEY OriginTransactionQualifier I_RelCashFlowMD OriginTransactionQualifier
KEY CashFlow I_RelCashFlowMD CashFlow
KEY ValidFrom I_RelCashFlowMD ValidFrom Vers.Valid From
KEY ValidTo I_RelCashFlowMD ValidTo Vers.Valid To
CashReleaseStatus I_RelCashFlowMD CashReleaseStatus
CompanyCode I_RelCashFlowMD CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
CertaintyLevel I_RelCashFlowMD CertaintyLevel
TransactionDate I_RelCashFlowMD TransactionDate Value Date
TransactionCurrency I_RelCashFlowMD TransactionCurrency Transaction Currency
AmountInTransactionCurrency I_RelCashFlowMD AmountInTransactionCurrency Pt Crcy Amt
LiquidityItem I_RelCashFlowMD LiquidityItem Liquidity Item
LiquidityItemName
PlanningLevel I_RelCashFlowMD PlanningLevel Planning Level
PlanningLevelName
CashPlanningGroup I_RelCashFlowMD CashPlanningGroup Planning Group
CashPlanningGroupName
BankAccountInternalID I_RelCashFlowMD BankAccountInternalID Technical ID
BankAccount
BankAccountDescription
Bank _BankAccount Bank Bank Number
BankName
BankAccountType _BankAccount BankAccountType Account Type
BankAccountTypeText
BankCountry _BankAccount BankCountry Bank Ctry/Rgn. Key
CountryName
BankAccountCurrency _BankAccount BankAccountCurrency Currency
DisplayCurrency
_CompanyCode _CompanyCode
_BankAccount _BankAccount
_TransactionCurrency _TransactionCurrency
_BankAccountCurrency _BankAccountCurrency
_DisplayCurrency _DisplayCurrency
_PlanningGroup _PlanningGroup
_PlanningLevel _PlanningLevel
_LiquidityItem _LiquidityItem

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 I_RelCashFlowTP.
-- 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: IRCFTP
-- Parameters: P_DisplayCurrency : vdm_v_display_currency, P_ExchangeRateType : kurst

CREATE VIEW I_RelCashFlowTP AS
SELECT
  flow.OriginSystem AS OriginSystem,
  flow.OriginApplication AS OriginApplication,
  flow.OriginDocument AS OriginDocument,
  flow.OriginTransaction AS OriginTransaction,
  flow.OriginTransactionQualifier AS OriginTransactionQualifier,
  flow.CashFlow AS CashFlow,
  flow.ValidFrom AS ValidFrom,
  flow.ValidTo AS ValidTo,
  flow.CashReleaseStatus AS CashReleaseStatus,
  flow.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  flow.CertaintyLevel AS CertaintyLevel,
  flow.TransactionDate AS TransactionDate,
  flow.TransactionCurrency AS TransactionCurrency,
  flow.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  flow.LiquidityItem AS LiquidityItem,
  _LiquidityItem._Text[1:Language = $session.system_language].LiquidityItemName AS LiquidityItemName,
  flow.PlanningLevel AS PlanningLevel,
  _PlanningLevel._Text[1:Language = $session.system_language].PlanningLevelName AS PlanningLevelName,
  flow.CashPlanningGroup AS CashPlanningGroup,
  _PlanningGroup._Text[1:Language = $session.system_language].CashPlanningGroupName AS CashPlanningGroupName,
  flow.BankAccountInternalID AS BankAccountInternalID,
  coalesce(_BankAccount.BankAccountNumber,'') AS BankAccount,
  _BankAccount._Text[1:Language = $session.system_language].BankAccountDescription AS BankAccountDescription,
  _BankAccount.Bank AS Bank,
  _BankAccount._Bank.BankName AS BankName,
  _BankAccount.BankAccountType AS BankAccountType,
  _BankAccount._BankAccountType[1:Language = $session.system_language].BankAccountTypeText AS BankAccountTypeText,
  _BankAccount.BankCountry AS BankCountry,
  _BankAccount._BankCountry._Text[1:Language = $session.system_language].CountryName AS CountryName,
  _BankAccount.BankAccountCurrency AS BankAccountCurrency,
  cast( $parameters.P_DisplayCurrency as vdm_v_display_currency ) AS DisplayCurrency
FROM I_RelCashFlowMD AS flow
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_BankAccount AS _BankAccount ON BankAccountInternalID = _BankAccount.BankAccountInternalID  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _TransactionCurrency ON TransactionCurrency = _TransactionCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _BankAccountCurrency ON bankaccountcurrency = _BankAccountCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DisplayCurrency ON DisplayCurrency = _DisplayCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_CashPlanningGroup AS _PlanningGroup ON CashPlanningGroup = _PlanningGroup.CashPlanningGroup  -- association [0..1]
LEFT OUTER JOIN I_PlanningLevel AS _PlanningLevel ON PlanningLevel = _PlanningLevel.PlanningLevel  -- association [0..1]
LEFT OUTER JOIN I_LiquidityItem AS _LiquidityItem ON LiquidityItem = _LiquidityItem.LiquidityItem  -- association [0..1]
;