P_CashFlowCombn

DDL: P_CASHFLOWCOMBN SQL: PCSHFLWCOMBN Type: view BASIC

P_CashFlowCombn is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (P_CashRequestFollowingFlows, P_FqmflowCASH) and exposes 138 fields with key fields OriginSystem, OriginApplication, OriginDocument, OriginTransaction, OriginTransQualifier.

Data Sources (2)

SourceAliasJoin Type
P_CashRequestFollowingFlows cshrq union_all
P_FqmflowCASH flwex from

Annotations (7)

NameValueLevelField
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PCSHFLWCOMBN view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view

Fields (138)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem P_FqmflowCASH OriginSystem LogSys: Formula
KEY OriginApplication P_FqmflowCASH OriginApplication Origin Application
KEY OriginDocument P_FqmflowCASH OriginDocument Source Doc. ID
KEY OriginTransaction P_FqmflowCASH OriginTransaction Source Trans. ID
KEY OriginTransQualifier P_FqmflowCASH OriginTransQualifier Trans. Qualifier
KEY CashFlow P_FqmflowCASH CashFlow Source Flow ID
KEY ValidFrom P_FqmflowCASH ValidFrom Vers.Valid From
KEY ValidTo P_FqmflowCASH ValidTo Vers.Valid To
flow_id P_FqmflowCASH flow_id Flow ID
IsValid P_FqmflowCASH IsValid Truth Value
CreatedByUser P_FqmflowCASH CreatedByUser User Name
CreationDateTime P_FqmflowCASH CreationDateTime Timestamp
LastChangedByUser P_FqmflowCASH LastChangedByUser User Name
LastChangeDateTime P_FqmflowCASH LastChangeDateTime Timestamp
Owner P_FqmflowCASH Owner Vehicle Owner
CompanyCode P_FqmflowCASH CompanyCode Receiver Company Code
TransactionDate P_FqmflowCASH TransactionDate Value Date
CertaintyLevel P_FqmflowCASH CertaintyLevel Certainty Level
TransactionCurrency P_FqmflowCASH Currency Transaction Currency
AmountInTransactionCurrency P_FqmflowCASH Amount Pt Crcy Amt
CompanyCodeCurrency P_FqmflowCASH BaseCurrency Local Currency
AmountInCompanyCodeCurrency P_FqmflowCASH BaseAmount Local Crcy Amt
rel_status P_FqmflowCASH rel_status Release Status
AccountingDocument P_FqmflowCASH AccountingDocument Journal Entry
AccountingDocumentItem P_FqmflowCASH AccountingDocumentItem Posting View Item
FiscalYear P_FqmflowCASH FiscalYear G/L Fiscal Year
FiscalPeriod P_FqmflowCASH FiscalPeriod Tax period
AccountingDocumentType P_FqmflowCASH AccountingDocumentType Journal Entry Type
GLAccount P_FqmflowCASH GLAccount General Ledger
FinancialAccountType P_FqmflowCASH FinancialAccountType Fin. Account Type
CashPlanningGroup P_FqmflowCASH PlanningGroup Planning Group
PlanningLevel P_FqmflowCASH PlanningLevel Planning Level
PaymentMethod P_FqmflowCASH PaymentMethodCode Pymt Meth.
DocumentItemText P_FqmflowCASH DocumentItemText Text
PostingDate P_FqmflowCASH PostingDate Posting Date for GR
ValueDate P_FqmflowCASH ValueDate Value Date
fi_due_date P_FqmflowCASH fi_due_date Due Date
HouseBank P_FqmflowCASH HouseBank House Bank
HouseBankAccount P_FqmflowCASH HouseBankAccount House Bank Account
BankAccountInternalID P_FqmflowCASH BankAccountId Technical ID
Customer P_FqmflowCASH Customer Sold-to Party
Vendor P_FqmflowCASH Vendor Vendor
BusinessPartner P_FqmflowCASH Partner Issuing Authority
PartnerCompany P_FqmflowCASH PartnerCompany Trading Partner
Material P_FqmflowCASH Material Vehicle Model
BusinessArea P_FqmflowCASH BusinessArea Business Area
ProfitCenter P_FqmflowCASH ProfitCenter Profit Center
WBSElementInternalID P_FqmflowCASH Project WBS Internal ID
CostCenter P_FqmflowCASH CostCenter Cost Center
Segment P_FqmflowCASH Segment Segment number
LiquidityItem P_FqmflowCASH LiquidityItem Liquidity Item
SourceCompanyCode P_FqmflowCASH AssignedCompanyCode
Fund P_FqmflowCASH Fund Sender Fund
GrantID P_FqmflowCASH GrantID Sender Grant
ContractNumber P_FqmflowCASH ContractNumber ContractNum
ProductType P_FqmflowCASH ProductType Product Type Group
FinancialTransactionType P_FqmflowCASH FinancialTransactionType Transact. Type
SecurityClass P_FqmflowCASH SecurityClass Security Class
TrmSecurityAccount P_FqmflowCASH TrmSecurityAccount Securities Acct
Portfolio P_FqmflowCASH Portfolio Portfolio
BankStatementShortKey P_FqmflowCASH BankStatementShortKey Internal Ref.
BankStatementItem P_FqmflowCASH BankStatementItem Memo Record No.
cmm_state P_FqmflowCASH cmm_state State
datsendasExpirationDate
CashRequestStatus cashrequest_status Request Status
InstrumentCategory instrument_category Instrument Cat.
BuySellIndicator buy_sell_indicator Buy/Sell
CashRequestAssignment cq_assignment Assignment
CashRequestCharacteristics cq_characteristics Characteristics
KEY OriginApplication OriginApplication Origin Application
KEY OriginDocument OriginDocument Source Doc. ID
KEY OriginTransaction OriginTransaction Source Trans. ID
KEY OriginTransQualifier OriginTransQualifier Trans. Qualifier
KEY CashFlow CashFlow Source Flow ID
KEY ValidFrom ValidFrom Vers.Valid From
KEY ValidTo ValidTo Vers.Valid To
flow_id flow_id Flow ID
IsValid IsValid Truth Value
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
Owner Owner Vehicle Owner
CompanyCode CompanyCode Receiver Company Code
TransactionDate TransactionDate Value Date
CertaintyLevel CertaintyLevel Certainty Level
TransactionCurrency TransactionCurrency Transaction Currency
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Local Crcy Amt
rel_status rel_status Release Status
AccountingDocument AccountingDocument Journal Entry
AccountingDocumentItem AccountingDocumentItem Posting View Item
FiscalYear FiscalYear G/L Fiscal Year
FiscalPeriod FiscalPeriod Tax period
AccountingDocumentType AccountingDocumentType Journal Entry Type
GLAccount GLAccount General Ledger
FinancialAccountType FinancialAccountType Fin. Account Type
CashPlanningGroup CashPlanningGroup Planning Group
PlanningLevel PlanningLevel Planning Level
PaymentMethod PaymentMethod Pymt Meth.
DocumentItemText DocumentItemText Text
PostingDate PostingDate Posting Date for GR
ValueDate ValueDate Value Date
fi_due_date Due Date
HouseBank HouseBank House Bank
HouseBankAccount HouseBankAccount House Bank Account
BankAccountInternalID BankAccountInternalID Technical ID
Customer Customer Sold-to Party
Vendor Vendor Vendor
BusinessPartner BusinessPartner Issuing Authority
PartnerCompany PartnerCompany Trading Partner
Material Material Vehicle Model
BusinessArea BusinessArea Business Area
ProfitCenter ProfitCenter Profit Center
WBSElementInternalID WBSElementInternalID WBS Internal ID
CostCenter CostCenter Cost Center
Segment Segment Segment number
LiquidityItem LiquidityItem Liquidity Item
SourceCompanyCode SourceCompanyCode
Fund Fund Sender Fund
GrantID GrantID Sender Grant
ContractNumber ContractNumber ContractNum
ProductType ProductType Product Type Group
FinancialTransactionType FinancialTransactionType Transact. Type
SecurityClass SecurityClass Security Class
TrmSecurityAccount TrmSecurityAccount Securities Acct
Portfolio Portfolio Portfolio
BankStatementShortKey BankStatementShortKey Internal Ref.
BankStatementItem BankStatementItem Memo Record No.
cmm_state cmm_state State
ExpirationDate
CashRequestStatus CashRequestStatus Request Status
InstrumentCategory InstrumentCategory Instrument Cat.
BuySellIndicator BuySellIndicator Buy/Sell
CashRequestAssignment CashRequestAssignment Assignment
CashRequestCharacteristics CashRequestCharacteristics Characteristics
CashRequestInternalReference CashRequestInternalReference Internal Ref.

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_CashFlowCombn.
-- 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: PCSHFLWCOMBN

CREATE VIEW P_CashFlowCombn AS
SELECT
  flwex.OriginSystem AS OriginSystem,
  flwex.OriginApplication AS OriginApplication,
  flwex.OriginDocument AS OriginDocument,
  flwex.OriginTransaction AS OriginTransaction,
  flwex.OriginTransQualifier AS OriginTransQualifier,
  flwex.CashFlow AS CashFlow,
  flwex.ValidFrom AS ValidFrom,
  flwex.ValidTo AS ValidTo,
  flwex.flow_id AS flow_id,
  flwex.IsValid AS IsValid,
  flwex.CreatedByUser AS CreatedByUser,
  flwex.CreationDateTime AS CreationDateTime,
  flwex.LastChangedByUser AS LastChangedByUser,
  flwex.LastChangeDateTime AS LastChangeDateTime,
  flwex.Owner AS Owner,
  flwex.CompanyCode AS CompanyCode,
  flwex.TransactionDate AS TransactionDate,
  flwex.CertaintyLevel AS CertaintyLevel,
  flwex.Currency AS TransactionCurrency,
  flwex.Amount AS AmountInTransactionCurrency,
  flwex.BaseCurrency AS CompanyCodeCurrency,
  flwex.BaseAmount AS AmountInCompanyCodeCurrency,
  flwex.rel_status AS rel_status,
  flwex.AccountingDocument AS AccountingDocument,
  flwex.AccountingDocumentItem AS AccountingDocumentItem,
  flwex.FiscalYear AS FiscalYear,
  flwex.FiscalPeriod AS FiscalPeriod,
  flwex.AccountingDocumentType AS AccountingDocumentType,
  flwex.GLAccount AS GLAccount,
  flwex.FinancialAccountType AS FinancialAccountType,
  flwex.PlanningGroup AS CashPlanningGroup,
  flwex.PlanningLevel AS PlanningLevel,
  flwex.PaymentMethodCode AS PaymentMethod,
  flwex.DocumentItemText AS DocumentItemText,
  flwex.PostingDate AS PostingDate,
  flwex.ValueDate AS ValueDate,
  flwex.fi_due_date AS fi_due_date,
  flwex.HouseBank AS HouseBank,
  flwex.HouseBankAccount AS HouseBankAccount,
  flwex.BankAccountId AS BankAccountInternalID,
  flwex.Customer AS Customer,
  flwex.Vendor AS Vendor,
  flwex.Partner AS BusinessPartner,
  flwex.PartnerCompany AS PartnerCompany,
  flwex.Material AS Material,
  flwex.BusinessArea AS BusinessArea,
  flwex.ProfitCenter AS ProfitCenter,
  flwex.Project AS WBSElementInternalID,
  flwex.CostCenter AS CostCenter,
  flwex.Segment AS Segment,
  flwex.LiquidityItem AS LiquidityItem,
  flwex.AssignedCompanyCode AS SourceCompanyCode,
  flwex.Fund AS Fund,
  flwex.GrantID AS GrantID,
  flwex.ContractNumber AS ContractNumber,
  flwex.ProductType AS ProductType,
  flwex.FinancialTransactionType AS FinancialTransactionType,
  flwex.SecurityClass AS SecurityClass,
  flwex.TrmSecurityAccount AS TrmSecurityAccount,
  flwex.Portfolio AS Portfolio,
  flwex.BankStatementShortKey AS BankStatementShortKey,
  flwex.BankStatementItem AS BankStatementItem,
  flwex.cmm_state AS cmm_state,
  case when ( flwex.CertaintyLevel = 'MEMO' or flwex.CertaintyLevel = 'INTRAM' ) and flwex.fi_due_date > '00000000' then flwex.fi_due_date else cast('99991231' as abap.dats) end as ExpirationDate AS datsendasExpirationDate,
  cashrequest_status AS CashRequestStatus,
  instrument_category AS InstrumentCategory,
  buy_sell_indicator AS BuySellIndicator,
  cq_assignment AS CashRequestAssignment,
  cq_characteristics AS CashRequestCharacteristics,
  cast('99991231' as abap.dats) AS ExpirationDate,
  CashRequestInternalReference
FROM P_FqmflowCASH AS flwex
-- UNION ALL with additional select branch(es): P_CashRequestFollowingFlows
;