C_CashFlowSubItemTP

DDL: C_CASHFLOWSUBITEMTP SQL: CCCFISUBITEMTP Type: view CONSUMPTION

Cash Flow Sub Items

C_CashFlowSubItemTP is a Consumption CDS View that provides data about "Cash Flow Sub Items" in SAP S/4HANA. It reads from 1 data source (I_CashFlowSubItemTP) and exposes 49 fields with key fields OriginSystem, OriginTransactionValue, OriginApplication, OriginDocument, OriginFlowID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CashFlowSubItemTP flow from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_CashFlowItemTP _CashFlow $projection.OriginSystem = _CashFlow.OriginSystem and $projection.OriginTransactionValue = _CashFlow.OriginTransactionValue and $projection.OriginApplication = _CashFlow.OriginApplication and $projection.OriginDocument = _CashFlow.OriginDocument and $projection.OriginFlowID = _CashFlow.OriginFlowID and $projection.CashFlowSnapshotValue = _CashFlow.CashFlowSnapshotValue and $projection.TransactionDate = _CashFlow.TransactionDate and $projection.OriginTransactionQualifier = _CashFlow.OriginTransactionQualifier and $projection.CashFlowScopeForAccounting = _CashFlow.CashFlowScopeForAccounting
[0..1] C_CashFlowItemSupplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] C_CashFlowItemCustomer _Customer $projection.Customer = _Customer.Customer
[0..*] I_FundText _FundText $projection.FinancialManagementArea = _FundText.FinancialManagementArea and $projection.Fund = _FundText.Fund
[0..*] I_GrantText _GrantText $projection.GrantID = _GrantText.GrantID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName CCCFISUBITEMTP view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Cash Flow Sub Items view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.createEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.updateEnabled true view

Fields (49)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem I_CashFlowSubItemTP OriginSystem LogSys: Formula
KEY OriginTransactionValue I_CashFlowSubItemTP OriginTransactionValue
KEY OriginApplication I_CashFlowSubItemTP OriginApplication Origin Application
KEY OriginDocument I_CashFlowSubItemTP OriginDocument
KEY OriginFlowID I_CashFlowSubItemTP OriginFlowID
KEY CashFlowSnapshotValue I_CashFlowSubItemTP CashFlowSnapshotValue
KEY TransactionDate I_CashFlowSubItemTP TransactionDate Value Date
KEY CashFlowID I_CashFlowSubItemTP CashFlowID
KEY OriginTransactionQualifier I_CashFlowSubItemTP OriginTransactionQualifier
KEY CashFlowScopeForAccounting I_CashFlowSubItemTP CashFlowScopeForAccounting
CashFlow I_CashFlowSubItemTP CashFlow
CompanyCode I_CashFlowSubItemTP CompanyCode Receiver Company Code
CompanyCodeName
Supplier I_CashFlowSubItemTP Supplier Supplier
Customer I_CashFlowSubItemTP Customer Sold-to Party
AmountInTransactionCurrency I_CashFlowSubItemTP AmountInTransactionCurrency Pt Crcy Amt
TransactionCurrency I_CashFlowSubItemTP TransactionCurrency Transaction Currency
AmountInCompanyCodeCurrency
CompanyCodeCurrency I_CashFlowSubItemTP CompanyCodeCurrency Local Currency
LiquidityItem I_CashFlowSubItemTP LiquidityItem Liquidity Item
CostCenter I_CashFlowSubItemTP CostCenter Cost Center
ProfitCenter I_CashFlowSubItemTP ProfitCenter Profit Center
Segment I_CashFlowSubItemTP Segment Segment number
BusinessPartner I_CashFlowSubItemTP BusinessPartner Issuing Authority
BusinessArea I_CashFlowSubItemTP BusinessArea Business Area
Fund I_CashFlowSubItemTP Fund Sender Fund
FundName
FinancialManagementArea I_CashFlowSubItemTP FinancialManagementArea FM Area
GrantID I_CashFlowSubItemTP GrantID Sender Grant
GrantName
PartnerCompany I_CashFlowSubItemTP PartnerCompany Trading Partner
HouseBank I_CashFlowSubItemTP HouseBank House Bank
HouseBankAccount I_CashFlowSubItemTP HouseBankAccount House Bank Account
BankAccountInternalID I_CashFlowSubItemTP BankAccountInternalID Technical ID
BankAccountNumber
BankAccountDescription
ControllingArea _CompanyCode ControllingArea Controlling Area
ControllingAreaName
LiquidityItemDescription
WBSElementInternalID WBSElementInternalID WBS Internal ID
WBSElement WBSElement WBS Internal ID
WBSDescription _WBSElement WBSDescription WBS Element Name
AssetContract I_CashFlowSubItemTP AssetContract Asset Contract
_CashFlow _CashFlow
_Customer _Customer
_Supplier _Supplier
_CompanyCode _CompanyCode
_LiquidityItemText _LiquidityItemText
_WBSElement _WBSElement

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 C_CashFlowSubItemTP.
-- 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: CCCFISUBITEMTP

CREATE VIEW C_CashFlowSubItemTP AS
SELECT
  flow.OriginSystem AS OriginSystem,
  flow.OriginTransactionValue AS OriginTransactionValue,
  flow.OriginApplication AS OriginApplication,
  flow.OriginDocument AS OriginDocument,
  flow.OriginFlowID AS OriginFlowID,
  flow.CashFlowSnapshotValue AS CashFlowSnapshotValue,
  flow.TransactionDate AS TransactionDate,
  flow.CashFlowID AS CashFlowID,
  flow.OriginTransactionQualifier AS OriginTransactionQualifier,
  flow.CashFlowScopeForAccounting AS CashFlowScopeForAccounting,
  flow.CashFlow AS CashFlow,
  flow.CompanyCode AS CompanyCode,
  flow._CompanyCode.CompanyCodeName AS CompanyCodeName,
  flow.Supplier AS Supplier,
  flow.Customer AS Customer,
  flow.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  flow.TransactionCurrency AS TransactionCurrency,
  cast(flow.AmountInCompanyCodeCurrency as fclm_cp_local_amount preserving type ) AS AmountInCompanyCodeCurrency,
  flow.CompanyCodeCurrency AS CompanyCodeCurrency,
  flow.LiquidityItem AS LiquidityItem,
  flow.CostCenter AS CostCenter,
  flow.ProfitCenter AS ProfitCenter,
  flow.Segment AS Segment,
  flow.BusinessPartner AS BusinessPartner,
  flow.BusinessArea AS BusinessArea,
  flow.Fund AS Fund,
  _FundText[1:Language = $session.system_language].FundName AS FundName,
  flow.FinancialManagementArea AS FinancialManagementArea,
  flow.GrantID AS GrantID,
  _GrantText[1:Language = $session.system_language].GrantName AS GrantName,
  flow.PartnerCompany AS PartnerCompany,
  flow.HouseBank AS HouseBank,
  flow.HouseBankAccount AS HouseBankAccount,
  flow.BankAccountInternalID AS BankAccountInternalID,
  flow._BankAccount.BankAccountNumber AS BankAccountNumber,
  flow._BankAccount._Text[1:Language = $session.system_language].BankAccountDescription AS BankAccountDescription,
  _CompanyCode.ControllingArea AS ControllingArea,
  _CompanyCode._ControllingArea.ControllingAreaName AS ControllingAreaName,
  _LiquidityItemText[1:Language = $session.system_language].LongText AS LiquidityItemDescription,
  WBSElementInternalID,
  WBSElement,
  _WBSElement.WBSDescription AS WBSDescription,
  flow.AssetContract AS AssetContract
FROM I_CashFlowSubItemTP AS flow
LEFT OUTER JOIN C_CashFlowItemTP AS _CashFlow ON OriginSystem = _CashFlow.OriginSystem AND OriginTransactionValue = _CashFlow.OriginTransactionValue AND OriginApplication = _CashFlow.OriginApplication AND OriginDocument = _CashFlow.OriginDocument AND OriginFlowID = _CashFlow.OriginFlowID AND CashFlowSnapshotValue = _CashFlow.CashFlowSnapshotValue AND TransactionDate = _CashFlow.TransactionDate AND OriginTransactionQualifier = _CashFlow.OriginTransactionQualifier AND CashFlowScopeForAccounting = _CashFlow.CashFlowScopeForAccounting  -- association [1..1]
LEFT OUTER JOIN C_CashFlowItemSupplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN C_CashFlowItemCustomer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_FundText AS _FundText ON FinancialManagementArea = _FundText.FinancialManagementArea AND Fund = _FundText.Fund  -- association [0..*]
LEFT OUTER JOIN I_GrantText AS _GrantText ON GrantID = _GrantText.GrantID  -- association [0..*]
;