I_CmmdtyHdgTransFlowDetails
Constellation Deals flow details
I_CmmdtyHdgTransFlowDetails is a Composite CDS View that provides data about "Constellation Deals flow details" in SAP S/4HANA. It reads from 4 data sources (vtbfha, vtbfha, I_CmmdtyFinTransactionFlow, I_CmmdtyFinTransFlowUnfixed) and exposes 12 fields with key fields CompanyCode, CmmdtyHedgeConstellationDeal, CmmdtyHedgeConstellationDeal. It has 1 association to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| vtbfha | _Transaction | left_outer |
| vtbfha | _Transaction | left_outer |
| I_CmmdtyFinTransactionFlow | fhapo | inner |
| I_CmmdtyFinTransFlowUnfixed | fhapo_unfixed | inner |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmmdtyFinTransFlowUnfixed | fhapo_unfixed | fhapo_unfixed.CompanyCode = fhapo.CompanyCode and fhapo_unfixed.FinancialTransaction = fhapo.FinancialTransaction and fhapo_unfixed.FinancialInstrumentActivity = fhapo.FinancialInstrumentActivity and fhapo_unfixed.FinTransCreationDate = fhapo.FinTransCreationDate and fhapo_unfixed.FinTransFlowCreationTime = fhapo.FinTransFlowCreationTime and ( fhapo_unfixed.FinTransReferenceFlowUUID = fhapo.FinancialTransactionFlowUUID or fhapo_unfixed.FinancialTransactionFlowUUID = fhapo.FinTransReferenceFlowUUID ) and ( fhapo_unfixed.FinTransFlowCategory = '50' or fhapo_unfixed.FinTransFlowCategory = '51' ) |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ITRANSFLWDETS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Constellation Deals flow details | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_CmmdtyFinTransactionFlow | CompanyCode | Receiver Company Code |
| KEY | CmmdtyHedgeConstellationDeal | I_CmmdtyFinTransactionFlow | FinancialTransaction | Transaction |
| FinTransCreationDate | I_CmmdtyFinTransactionFlow | FinTransCreationDate | Entry Date | |
| LastChangeDate | I_CmmdtyFinTransactionFlow | LastChangeDate | Time Stamp | |
| FinTransFlowPaytAmt | I_CmmdtyFinTransactionFlow | FinancialTransactionAmount | Payment Amnt in PyC | |
| FinTransFlowPaytAmtCrcy | I_CmmdtyFinTransactionFlow | FinTransFlowPaytAmtCrcy | Payment Currency | |
| UnitOfMeasure | I_CmmdtyFinTransactionFlow | UnitOfMeasure | Unit Protected Qty | |
| CompanyCodeasCompanyCode | ||||
| KEY | CmmdtyHedgeConstellationDeal | I_CmmdtyFinTransFlowUnfixed | FinancialTransaction | Transaction |
| LastChangeDateendasLastChangeDate | ||||
| UnitOfMeasureendasUnitOfMeasure | ||||
| QuantityendasQuantity |
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_CmmdtyHdgTransFlowDetails.
-- 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 I_CmmdtyHdgTransFlowDetails AS
SELECT
fhapo.CompanyCode AS CompanyCode,
fhapo.FinancialTransaction AS CmmdtyHedgeConstellationDeal,
fhapo.FinTransCreationDate AS FinTransCreationDate,
fhapo.LastChangeDate AS LastChangeDate,
fhapo.FinancialTransactionAmount AS FinTransFlowPaytAmt,
fhapo.FinTransFlowPaytAmtCrcy AS FinTransFlowPaytAmtCrcy,
fhapo.UnitOfMeasure AS UnitOfMeasure,
fhapo.Quantity as Quantity AS CompanyCodeasCompanyCode,
case when fhapo.FinancialTransaction is not null then fhapo.LastChangeDate else fhapo_unfixed.LastChangeDate end as LastChangeDate AS LastChangeDateendasLastChangeDate,
case when fhapo.FinancialTransaction is not null then fhapo.UnitOfMeasure else fhapo_unfixed.UnitOfMeasure end as UnitOfMeasure AS UnitOfMeasureendasUnitOfMeasure,
case when fhapo.FinancialTransaction is not null then fhapo.Quantity else fhapo_unfixed.Quantity end as Quantity AS QuantityendasQuantity
INNER JOIN I_CmmdtyFinTransactionFlow AS fhapo ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN vtbfha AS _Transaction ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyFinTransFlowUnfixed AS fhapo_unfixed ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CmmdtyFinTransFlowUnfixed AS fhapo_unfixed ON fhapo_unfixed.CompanyCode = fhapo.CompanyCode AND fhapo_unfixed.FinancialTransaction = fhapo.FinancialTransaction AND fhapo_unfixed.FinancialInstrumentActivity = fhapo.FinancialInstrumentActivity AND fhapo_unfixed.FinTransCreationDate = fhapo.FinTransCreationDate AND fhapo_unfixed.FinTransFlowCreationTime = fhapo.FinTransFlowCreationTime AND ( fhapo_unfixed.FinTransReferenceFlowUUID = fhapo.FinancialTransactionFlowUUID OR fhapo_unfixed.FinancialTransactionFlowUUID = fhapo.FinTransReferenceFlowUUID ) AND ( fhapo_unfixed.FinTransFlowCategory = '50' OR fhapo_unfixed.FinTransFlowCategory = '51' ) -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA