P_TrsyCashMgmtFieldDerivation

DDL: P_TRSYCASHMGMTFIELDDERIVATION Type: view_entity COMPOSITE

Treasury Flow

P_TrsyCashMgmtFieldDerivation is a Composite CDS View that provides data about "Treasury Flow" in SAP S/4HANA. It reads from 1 data source (R_FinTransDistributorFlow) and exposes 11 fields with key fields BusinessTransactionDocUUID, TreasuryTransactionFlow. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
R_FinTransDistributorFlow trdtflow from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_FinancialTransaction _FinancialTransaction $projection.FinancialTransaction = _FinancialTransaction.FinancialTransaction and $projection.CompanyCode = _FinancialTransaction.CompanyCode

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #COMPOSITE view
VDM.private true view
EndUserText.label Treasury Flow view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY BusinessTransactionDocUUID R_FinTransDistributorFlow BusinessTransactionDocUUID DB Object ID
KEY TreasuryTransactionFlow R_FinTransDistributorFlow TreasuryTransactionFlow Flow Number
CompanyCode CompanyCode Receiver Company Code
FinancialTransaction FinancialTransaction Transaction
FinancialInstrumentProductType FinancialInstrumentProductType Product Type
FinancialInstrTransactionType FinancialInstrTransactionType Transactn Type
Portfolio DifferentiationPortfolio Portfolio
TreasuryUpdateType TreasuryUpdateType Update Type
HedgingClassification _FinancialTransaction HedgingClassification
FinancialInstrActivityCategory
PlanningLevel

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_TrsyCashMgmtFieldDerivation.
-- 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.

CREATE VIEW P_TrsyCashMgmtFieldDerivation AS
SELECT
  trdtflow.BusinessTransactionDocUUID AS BusinessTransactionDocUUID,
  trdtflow.TreasuryTransactionFlow AS TreasuryTransactionFlow,
  CompanyCode,
  FinancialTransaction,
  FinancialInstrumentProductType,
  FinancialInstrTransactionType,
  DifferentiationPortfolio AS Portfolio,
  TreasuryUpdateType,
  _FinancialTransaction.HedgingClassification AS HedgingClassification,
  _FinancialTransaction._CurrentActivity.FinancialInstrActivityCategory AS FinancialInstrActivityCategory,
  cast( ' ' as fdlev preserving type ) AS PlanningLevel
FROM R_FinTransDistributorFlow AS trdtflow
LEFT OUTER JOIN I_FinancialTransaction AS _FinancialTransaction ON FinancialTransaction = _FinancialTransaction.FinancialTransaction AND CompanyCode = _FinancialTransaction.CompanyCode  -- association [0..1]
;