I_CmmdtyHdgSpecExpsrDealDetail
Deal details with respect to exposure
I_CmmdtyHdgSpecExpsrDealDetail is a Composite CDS View that provides data about "Deal details with respect to exposure" in SAP S/4HANA. It has 2 associations to related views.
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_CommodityHedgePlanExposureID | cmm_exposure_id |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CommodityHedgeTransaction | _Transaction | $projection.CompanyCode = _Transaction.FinTransactionCompanyCode and $projection.CmmdtyHedgeConstellationDeal = _Transaction.FinTransactionDealIdentifier |
| [0..1] | I_CmmdtyHdgHdggArClfnIndicator | _HedgeClassInd | _Transaction.HdggArHedgingClassification = _HedgeClassInd.HdggArHedgingClassification |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEXPSRDEALDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Deal details with respect to exposure | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CmmdtyHdgConstellationExposure | CmmdtyHdgConstellationExposure | ||
| KEY | CmmdtyHedgeConstellationDeal | CmmdtyHedgeConstellationDeal | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| HdggArHedgingClassification | _Transaction | HdggArHedgingClassification | Hedging Classificatn | |
| FinancialInstrumentProductType | _Transaction | FinancialInstrumentProductType | ||
| CmmdtyHdgCnstltnIntCompanyCode | I_CmmdtyHdgConstellationDetail | CmmdtyHdgCnstltnIntCompanyCode | ||
| CmmdtyHdgCnstltnIntDealNumber | I_CmmdtyHdgConstellationDetail | CmmdtyHdgCnstltnIntDealNumber | ||
| CmmdtyHdgCnstltnMirrorCoCode | I_CmmdtyHdgConstellationDetail | CmmdtyHdgCnstltnMirrorCoCode | ||
| CmmdtyHdgCnstltnMirrorDealID | I_CmmdtyHdgConstellationDetail | CmmdtyHdgCnstltnMirrorDealID | ||
| _Transaction | _Transaction | |||
| _HedgeClassInd | _HedgeClassInd |
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_CmmdtyHdgSpecExpsrDealDetail.
-- 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: IEXPSRDEALDETAIL
-- Parameters: P_CommodityHedgePlanExposureID : cmm_exposure_id
CREATE VIEW I_CmmdtyHdgSpecExpsrDealDetail AS
SELECT
CmmdtyHdgConstellationExposure,
CmmdtyHedgeConstellationDeal,
CompanyCode,
_Transaction.HdggArHedgingClassification AS HdggArHedgingClassification,
_Transaction.FinancialInstrumentProductType AS FinancialInstrumentProductType,
I_CmmdtyHdgConstellationDetail.CmmdtyHdgCnstltnIntCompanyCode AS CmmdtyHdgCnstltnIntCompanyCode,
I_CmmdtyHdgConstellationDetail.CmmdtyHdgCnstltnIntDealNumber AS CmmdtyHdgCnstltnIntDealNumber,
I_CmmdtyHdgConstellationDetail.CmmdtyHdgCnstltnMirrorCoCode AS CmmdtyHdgCnstltnMirrorCoCode,
I_CmmdtyHdgConstellationDetail.CmmdtyHdgCnstltnMirrorDealID AS CmmdtyHdgCnstltnMirrorDealID
LEFT OUTER JOIN I_CommodityHedgeTransaction AS _Transaction ON CompanyCode = _Transaction.FinTransactionCompanyCode AND CmmdtyHedgeConstellationDeal = _Transaction.FinTransactionDealIdentifier -- association [0..1]
LEFT OUTER JOIN I_CmmdtyHdgHdggArClfnIndicator AS _HedgeClassInd ON _Transaction.HdggArHedgingClassification = _HedgeClassInd.HdggArHedgingClassification -- 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