I_CmmdtyHedgeTransFlowActivity
Financial Transaction Flow
I_CmmdtyHedgeTransFlowActivity is a Composite CDS View that provides data about "Financial Transaction Flow" in SAP S/4HANA. It reads from 7 data sources and exposes 33 fields with key fields CmmdtyHedgeConstellationUUID, CmmdtyHedgeCnstltnRecordType, CmmdtyHedgeConstellationDeal, CmmdtyHdgConstellationDealType. Part of development package FIN_CMM_CMDTY_HEDGE_MANAGEMENT.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_CompanyCodeStdVH | CompanyCode | inner |
| I_CommodityHedgePlanExposure | Exposures | inner |
| I_FinTransActivity | FinTransActivity | inner |
| P_CmmdtyHdgExpsrRqdVersion | P_CmmdtyHdgExpsrRqdVersion | inner |
| vtbfha | Transaction | inner |
| I_CmmdtyHdgTransFlowDetails | TransactionFlow | inner |
| I_FinancialInstrProdTypeText | TransProductType | inner |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_CmmdtyHdgUtilznPlnExposureID | cmm_exposure_id | |
| P_CmmdtyHdgUtilznEvalDate | sydatum | |
| P_CmmdtyHdgUtilznIsCnstltnData | xfeld | |
| P_CmmdtyHdgUtilznAreOverHedged | xfeld | |
| P_CmmdtyHdgPlanExposureVersion | cmm_exposure_version |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICMHDGTRANS | view | |
| AbapCatalog.dataMaintenance | #RESTRICTED | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Financial Transaction Flow | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmmdtyHedgeConstellationUUID | HdgConstlnDeals | CmmdtyHedgeConstellationUUID | |
| KEY | CmmdtyHedgeCnstltnRecordType | HdgConstlnDeals | CmmdtyHedgeCnstltnRecordType | |
| KEY | CmmdtyHedgeConstellationDeal | HdgConstlnDeals | CmmdtyHedgeConstellationDeal | Transaction |
| KEY | CmmdtyHdgConstellationDealType | HdgConstlnDeals | CmmdtyHdgConstellationDealType | |
| CmmdtyHdgConstellationExposure | HdgConstlnDeals | CmmdtyHdgConstellationExposure | ||
| CmmdtyHdgCnstltnValdFrmDteTime | HdgConstlnDeals | CmmdtyHdgCnstltnValdFrmDteTime | ||
| CmmdtyHdgCnstltnExpsrVersion | HdgConstlnDeals | CmmdtyHdgCnstltnExpsrVersion | ||
| CmmdtyHdgCnstltnExposureItem | HdgConstlnDeals | CmmdtyHdgCnstltnExposureItem | ||
| CmmdtyHdgCnstltnFrgnExchHdgReq | HdgConstlnDeals | CmmdtyHdgCnstltnFrgnExchHdgReq | ||
| TermStartDate | I_CmmdtyHdgTransFlowDetails | FinTransactionPricingStartDate | ||
| TermEndDate | I_CmmdtyHdgTransFlowDetails | FinTransactionPricingEndDate | ||
| Counterparty | vtbfha | kontrh | Partner | |
| FinancialInstrumentProductType | vtbfha | sgsart | Product Type | |
| FinancialInstrProdTypeName | I_FinancialInstrProdTypeText | FinancialInstrProdTypeName | ||
| FinancialInstrProdTypeWithName | ||||
| Quantity | I_CmmdtyHdgTransFlowDetails | Quantity | Value | |
| CmmdtyHdgSingleUnitOfQuantity | ||||
| CmmdtyHedgePlnExposureQuantity | ||||
| CmmdtyHdgPlnExpsrQuantityUnit | I_CommodityHedgePlanExposure | CmmdtyHdgPlnExpsrQuantityUnit | Unit of Measure | |
| UnitOfMeasure | I_CmmdtyHdgTransFlowDetails | UnitOfMeasure | Unit Protected Qty | |
| CommodityHedgePlanExposureUUID | I_CommodityHedgePlanExposure | CommodityHedgePlanExposureUUID | UUID | |
| CompanyCode | HdgConstlnDeals | CompanyCode | Receiver Company Code | |
| CompanyCodeName | I_CompanyCodeStdVH | CompanyCodeName | Company Name | |
| CmmdtyHdgCnstltnCoCodeWithName | ||||
| CmmdtyHedgePlanExposureDCSID | I_CommodityHedgePlanExposure | CmmdtyHedgePlanExposureDCSID | DCS ID | |
| CmmdtyHdgPlanExpsrMktIDCode | I_CommodityHedgePlanExposure | CmmdtyHdgPlanExpsrMktIDCode | MIC | |
| CmmdtyHdgPlanExposureDirection | I_CommodityHedgePlanExposure | CmmdtyHdgPlanExposureDirection | Buy or Sell | |
| CmmdtyHdgPlanExposureHedgeBook | I_CommodityHedgePlanExposure | CmmdtyHdgPlanExposureHedgeBook | Hedge Book | |
| CmmdtyHdgPlnExpsrPerdStartDate | I_CommodityHedgePlanExposure | CmmdtyHdgPlnExpsrPerdStartDate | Period Start | |
| CmmdtyHdgPlnExpsrPeriodClass | I_CommodityHedgePlanExposure | CmmdtyHdgPlnExpsrPeriodClass | Period Class | |
| CmmdtyHdgIsPrcgInDelivPeriod | I_CommodityHedgePlanExposure | CmmdtyHdgIsPrcgInDelivPeriod | ||
| CmmdtyHdgPlnExpsrCompanyCode | I_CommodityHedgePlanExposure | CmmdtyHdgPlnExpsrCompanyCode | Company Code | |
| CmmdtyHedgePlanExposureVersion | I_CommodityHedgePlanExposure | CmmdtyHedgePlanExposureVersion | Exposure Version No. |
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_CmmdtyHedgeTransFlowActivity.
-- 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: ICMHDGTRANS
-- Parameters: P_CmmdtyHdgUtilznPlnExposureID : cmm_exposure_id, P_CmmdtyHdgUtilznEvalDate : sydatum, P_CmmdtyHdgUtilznIsCnstltnData : xfeld, P_CmmdtyHdgUtilznAreOverHedged : xfeld, P_CmmdtyHdgPlanExposureVersion : cmm_exposure_version
CREATE VIEW I_CmmdtyHedgeTransFlowActivity AS
SELECT
HdgConstlnDeals.CmmdtyHedgeConstellationUUID AS CmmdtyHedgeConstellationUUID,
HdgConstlnDeals.CmmdtyHedgeCnstltnRecordType AS CmmdtyHedgeCnstltnRecordType,
HdgConstlnDeals.CmmdtyHedgeConstellationDeal AS CmmdtyHedgeConstellationDeal,
HdgConstlnDeals.CmmdtyHdgConstellationDealType AS CmmdtyHdgConstellationDealType,
HdgConstlnDeals.CmmdtyHdgConstellationExposure AS CmmdtyHdgConstellationExposure,
HdgConstlnDeals.CmmdtyHdgCnstltnValdFrmDteTime AS CmmdtyHdgCnstltnValdFrmDteTime,
HdgConstlnDeals.CmmdtyHdgCnstltnExpsrVersion AS CmmdtyHdgCnstltnExpsrVersion,
HdgConstlnDeals.CmmdtyHdgCnstltnExposureItem AS CmmdtyHdgCnstltnExposureItem,
HdgConstlnDeals.CmmdtyHdgCnstltnFrgnExchHdgReq AS CmmdtyHdgCnstltnFrgnExchHdgReq,
TransactionFlow.FinTransactionPricingStartDate AS TermStartDate,
TransactionFlow.FinTransactionPricingEndDate AS TermEndDate,
Transaction.kontrh AS Counterparty,
Transaction.sgsart AS FinancialInstrumentProductType,
TransProductType.FinancialInstrProdTypeName AS FinancialInstrProdTypeName,
concat(concat(concat( TransProductType.FinancialInstrProdTypeName, '('), Transaction.sgsart), ')') AS FinancialInstrProdTypeWithName,
TransactionFlow.Quantity AS Quantity,
cast( 1 as ftr_quan) AS CmmdtyHdgSingleUnitOfQuantity,
cast(Exposures.CmmdtyHedgePlnExposureQuantity as abap.fltp) AS CmmdtyHedgePlnExposureQuantity,
Exposures.CmmdtyHdgPlnExpsrQuantityUnit AS CmmdtyHdgPlnExpsrQuantityUnit,
TransactionFlow.UnitOfMeasure AS UnitOfMeasure,
Exposures.CommodityHedgePlanExposureUUID AS CommodityHedgePlanExposureUUID,
HdgConstlnDeals.CompanyCode AS CompanyCode,
CompanyCode.CompanyCodeName AS CompanyCodeName,
concat(concat(concat( CompanyCode.CompanyCodeName, '('), HdgConstlnDeals.CompanyCode), ')') AS CmmdtyHdgCnstltnCoCodeWithName,
Exposures.CmmdtyHedgePlanExposureDCSID AS CmmdtyHedgePlanExposureDCSID,
Exposures.CmmdtyHdgPlanExpsrMktIDCode AS CmmdtyHdgPlanExpsrMktIDCode,
Exposures.CmmdtyHdgPlanExposureDirection AS CmmdtyHdgPlanExposureDirection,
Exposures.CmmdtyHdgPlanExposureHedgeBook AS CmmdtyHdgPlanExposureHedgeBook,
Exposures.CmmdtyHdgPlnExpsrPerdStartDate AS CmmdtyHdgPlnExpsrPerdStartDate,
Exposures.CmmdtyHdgPlnExpsrPeriodClass AS CmmdtyHdgPlnExpsrPeriodClass,
Exposures.CmmdtyHdgIsPrcgInDelivPeriod AS CmmdtyHdgIsPrcgInDelivPeriod,
Exposures.CmmdtyHdgPlnExpsrCompanyCode AS CmmdtyHdgPlnExpsrCompanyCode,
Exposures.CmmdtyHedgePlanExposureVersion AS CmmdtyHedgePlanExposureVersion
INNER JOIN P_CmmdtyHdgExpsrRqdVersion ON /* join condition not captured in parsed metadata */
INNER JOIN I_CommodityHedgePlanExposure AS Exposures ON /* join condition not captured in parsed metadata */
INNER JOIN I_CmmdtyHdgTransFlowDetails AS TransactionFlow ON /* join condition not captured in parsed metadata */
INNER JOIN vtbfha AS Transaction ON /* join condition not captured in parsed metadata */
INNER JOIN I_FinTransActivity AS FinTransActivity ON /* join condition not captured in parsed metadata */
INNER JOIN I_FinancialInstrProdTypeText AS TransProductType ON /* join condition not captured in parsed metadata */
INNER JOIN I_CompanyCodeStdVH AS CompanyCode ON /* join condition not captured in parsed metadata */
;
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