P_DerivativePosAdptrLayer

DDL: P_DERIVATIVEPOSADPTRLAYER SQL: PVFINDAL Type: view COMPOSITE

P_DerivativePosAdptrLayer is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_DerivativePosDODTechLayer, P_DerivativePosTechLayer, P_DrvtvPosEndOfDayTechLayer) and exposes 205 fields with key fields CompanyCode, CommodityPriceExposure, CommodityExposureCategory, CommodityPriceSubExposure, CommodityPriceExposureVersion. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
P_DerivativePosDODTechLayer P_DerivativePosDODTechLayer union
P_DerivativePosTechLayer P_DerivativePosTechLayer union
P_DrvtvPosEndOfDayTechLayer P_DrvtvPosEndOfDayTechLayer from

Parameters (3)

NameTypeDefault
P_DisplayView cds_view_uom
P_EvaluationDate cds_evaluation_date
P_ComparisionDate cds_evaluation_date

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.CommodityPriceExposureUnit = _UnitOfMeasure.UnitOfMeasure

Annotations (9)

NameValueLevelField
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PVFINDAL view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.preserveKey true view

Fields (205)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode DerivativePositionEOD CompanyCode Receiver Company Code
KEY CommodityPriceExposure DerivativePositionEOD CommodityPriceExposure Exposure ID
KEY CommodityExposureCategory DerivativePositionEOD CommodityExposureCategory
KEY CommodityPriceSubExposure DerivativePositionEOD CommodityPriceSubExposure
KEY CommodityPriceExposureVersion DerivativePositionEOD CommodityPriceExposureVersion Exposure Version
ValidityStartDateTime DerivativePositionEOD ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime DerivativePositionEOD ValidityEndDateTime Valid To Timestamp
ValidityStartDate DerivativePositionEOD ValidityStartDate Validity Start Date
ValidityStartTime DerivativePositionEOD ValidityStartTime Valid From Time
ValidityEndDate DerivativePositionEOD ValidityEndDate ValidTo
ValidityEndTime DerivativePositionEOD ValidityEndTime Valid To Time
ValidityStartCharTimestamp DerivativePositionEOD ValidityStartCharTimestamp
ValidityEndCharTimestamp DerivativePositionEOD ValidityEndCharTimestamp
MaximumVersion DerivativePositionEOD MaximumVersion Highest Version
RiskAnalyzerVersionUUID DerivativePositionEOD RiskAnalyzerVersionUUID Version GUID
ExposureDueDate DerivativePositionEOD ExposureDueDate
ReportingDate DerivativePositionEOD ReportingDate
Commodity DerivativePositionEOD Commodity Commodity Code
CashFlowDirection DerivativePositionEOD CashFlowDirection
TreasuryPositionLongShortCode DerivativePositionEOD TreasuryPositionLongShortCode
DerivativeContrSpecification DerivativePositionEOD DerivativeContrSpecification DCS ID
MarketIdentifierCode DerivativePositionEOD MarketIdentifierCode MIC
QuotationPriceType DerivativePositionEOD QuotationPriceType Price Type
TimeToMaturity DerivativePositionEOD TimeToMaturity Time to Maturity
CmmdtyForwardIndexTiming DerivativePositionEOD CmmdtyForwardIndexTiming
MaturityKeyDate DerivativePositionEOD MaturityKeyDate Maturity Key Date
DerivativeContractMaturityCode DerivativePositionEOD DerivativeContractMaturityCode Contr. Maturity Code
FinancialInstrProductCategory DerivativePositionEOD FinancialInstrProductCategory
FinancialAssetsMgmtProductType DerivativePositionEOD FinancialAssetsMgmtProductType
FinInstrTransactionCategory DerivativePositionEOD FinInstrTransactionCategory
FinancialInstrumentProductType DerivativePositionEOD FinancialInstrumentProductType
FinancialInstrActivityCategory DerivativePositionEOD FinancialInstrActivityCategory
FinancialObject DerivativePositionEOD FinancialObject
HasError DerivativePositionEOD HasError TRUE
TermStartDate DerivativePositionEOD TermStartDate
TermEndDate DerivativePositionEOD TermEndDate
DeliveryDate DerivativePositionEOD DeliveryDate Delivery Date
NumberOfCommodityContracts DerivativePositionEOD NumberOfCommodityContracts
CommodityPriceFixationStatus DerivativePositionEOD CommodityPriceFixationStatus
TreasuryPositionAccount DerivativePositionEOD TreasuryPositionAccount
DerivativeContract DerivativePositionEOD DerivativeContract
QuotationCurrency DerivativePositionEOD QuotationCurrency
PaymentCurrency DerivativePositionEOD PaymentCurrency Payment Currency
OptionStrikePrice DerivativePositionEOD OptionStrikePrice
OptionStrikeCurrency DerivativePositionEOD OptionStrikeCurrency
OptionPutCallCode DerivativePositionEOD OptionPutCallCode
OptionExerciseType DerivativePositionEOD OptionExerciseType
EndOfDayBusinessEntityKey DerivativePositionEOD EndOfDayBusinessEntityKey
ReportingMonth DerivativePositionEOD ReportingMonth
ReportingYear DerivativePositionEOD ReportingYear
EvaluationDate DerivativePositionEOD EvaluationDate
EndOfDaySnapshotDate DerivativePositionEOD EndOfDaySnapshotDate
EndOfDaySnapshotDateTime DerivativePositionEOD EndOfDaySnapshotDateTime
ConsumptionType DerivativePositionEOD ConsumptionType
DisplayView DerivativePositionEOD DisplayView
FinInstrExternalReference DerivativePositionEOD FinInstrExternalReference
TradedDrvtvContrSpecification DerivativePositionEOD TradedDrvtvContrSpecification
ParDrvtvContractSpecification DerivativePositionEOD ParDrvtvContractSpecification
RiskViewIsNotRelevant DerivativePositionEOD RiskViewIsNotRelevant
FinancialTransactionPortfolio DerivativePositionEOD FinancialTransactionPortfolio
CmmdtyHdgPlanExposureHedgeBook DerivativePositionEOD CmmdtyHdgPlanExposureHedgeBook Hedge Book
CommodityHedgePlanExposureID DerivativePositionEOD CommodityHedgePlanExposureID Plan Exposure ID
_CompanyCode DerivativePositionEOD _CompanyCode
_DerivativeContrSpecification DerivativePositionEOD _DerivativeContrSpecification
_FinAssetsMgmtProductType DerivativePositionEOD _FinAssetsMgmtProductType
_MarketIdentifierCode DerivativePositionEOD _MarketIdentifierCode
_PhysicalCommodity DerivativePositionEOD _PhysicalCommodity
P_EvaluationDate
P_ComparisionDate
CompanyCode Receiver Company Code
KEY CommodityPriceExposure DerivativePositionDoD CommodityPriceExposure Exposure ID
KEY CommodityExposureCategory DerivativePositionDoD CommodityExposureCategory
KEY CommodityPriceSubExposure DerivativePositionDoD CommodityPriceSubExposure
KEY CommodityPriceExposureVersion DerivativePositionDoD CommodityPriceExposureVersion Exposure Version
ValidityStartDateTime DerivativePositionDoD ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime DerivativePositionDoD ValidityEndDateTime Valid To Timestamp
ValidityStartDate DerivativePositionDoD ValidityStartDate Validity Start Date
ValidityStartTime DerivativePositionDoD ValidityStartTime Valid From Time
ValidityEndDate DerivativePositionDoD ValidityEndDate ValidTo
ValidityEndTime DerivativePositionDoD ValidityEndTime Valid To Time
ValidityStartCharTimestamp DerivativePositionDoD ValidityStartCharTimestamp
ValidityEndCharTimestamp DerivativePositionDoD ValidityEndCharTimestamp
MaximumVersion DerivativePositionDoD MaximumVersion Highest Version
RiskAnalyzerVersionUUID DerivativePositionDoD RiskAnalyzerVersionUUID Version GUID
ExposureDueDate DerivativePositionDoD ExposureDueDate
ReportingDate DerivativePositionDoD ReportingDate
Commodity DerivativePositionDoD Commodity Commodity Code
CashFlowDirection DerivativePositionDoD CashFlowDirection
TreasuryPositionLongShortCode DerivativePositionDoD TreasuryPositionLongShortCode
DerivativeContrSpecification DerivativePositionDoD DerivativeContrSpecification DCS ID
MarketIdentifierCode DerivativePositionDoD MarketIdentifierCode MIC
QuotationPriceType DerivativePositionDoD QuotationPriceType Price Type
TimeToMaturity DerivativePositionDoD TimeToMaturity Time to Maturity
CmmdtyForwardIndexTiming DerivativePositionDoD CmmdtyForwardIndexTiming
MaturityKeyDate DerivativePositionDoD MaturityKeyDate Maturity Key Date
DerivativeContractMaturityCode DerivativePositionDoD DerivativeContractMaturityCode Contr. Maturity Code
FinancialInstrProductCategory DerivativePositionDoD FinancialInstrProductCategory
FinancialAssetsMgmtProductType DerivativePositionDoD FinancialAssetsMgmtProductType
FinInstrTransactionCategory DerivativePositionDoD FinInstrTransactionCategory
FinancialInstrumentProductType DerivativePositionDoD FinancialInstrumentProductType
FinancialInstrActivityCategory DerivativePositionDoD FinancialInstrActivityCategory
FinancialObject DerivativePositionDoD FinancialObject
HasError DerivativePositionDoD HasError TRUE
TermStartDate DerivativePositionDoD TermStartDate
TermEndDate DerivativePositionDoD TermEndDate
DeliveryDate DerivativePositionDoD DeliveryDate Delivery Date
NumberOfCommodityContracts DerivativePositionDoD NumberOfCommodityContracts
CommodityPriceFixationStatus DerivativePositionDoD CommodityPriceFixationStatus
TreasuryPositionAccount DerivativePositionDoD TreasuryPositionAccount
DerivativeContract DerivativePositionDoD DerivativeContract
QuotationCurrency DerivativePositionDoD QuotationCurrency
PaymentCurrency DerivativePositionDoD PaymentCurrency Payment Currency
OptionStrikePrice DerivativePositionDoD OptionStrikePrice
OptionStrikeCurrency DerivativePositionDoD OptionStrikeCurrency
OptionPutCallCode DerivativePositionDoD OptionPutCallCode
OptionExerciseType DerivativePositionDoD OptionExerciseType
EndOfDayBusinessEntityKey DerivativePositionDoD EndOfDayBusinessEntityKey
ReportingMonth DerivativePositionDoD ReportingMonth
ReportingYear DerivativePositionDoD ReportingYear
EvaluationDate DerivativePositionDoD EvaluationDate
EndOfDaySnapshotDate DerivativePositionDoD EndOfDaySnapshotDate
EndOfDaySnapshotDateTime DerivativePositionDoD EndOfDaySnapshotDateTime
ConsumptionType DerivativePositionDoD ConsumptionType
DisplayView DerivativePositionDoD DisplayView
FinInstrExternalReference DerivativePositionDoD FinInstrExternalReference
TradedDrvtvContrSpecification DerivativePositionDoD TradedDrvtvContrSpecification
ParDrvtvContractSpecification DerivativePositionDoD ParDrvtvContractSpecification
RiskViewIsNotRelevant DerivativePositionDoD RiskViewIsNotRelevant
FinancialTransactionPortfolio DerivativePositionDoD FinancialTransactionPortfolio
CmmdtyHdgPlanExposureHedgeBook DerivativePositionDoD CmmdtyHdgPlanExposureHedgeBook Hedge Book
CommodityHedgePlanExposureID DerivativePositionDoD CommodityHedgePlanExposureID Plan Exposure ID
_CompanyCode DerivativePositionDoD _CompanyCode
_DerivativeContrSpecification DerivativePositionDoD _DerivativeContrSpecification
_FinAssetsMgmtProductType DerivativePositionDoD _FinAssetsMgmtProductType
_MarketIdentifierCode DerivativePositionDoD _MarketIdentifierCode
_PhysicalCommodity DerivativePositionDoD _PhysicalCommodity
P_EvaluationDate
CompanyCode Receiver Company Code
KEY CommodityPriceExposure DerivativePositionCurrent CommodityPriceExposure Exposure ID
KEY CommodityExposureCategory DerivativePositionCurrent CommodityExposureCategory
KEY CommodityPriceSubExposure DerivativePositionCurrent CommodityPriceSubExposure
KEY CommodityPriceExposureVersion DerivativePositionCurrent CommodityPriceExposureVersion Exposure Version
ValidityStartDateTime DerivativePositionCurrent ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime DerivativePositionCurrent ValidityEndDateTime Valid To Timestamp
ValidityStartDate DerivativePositionCurrent ValidityStartDate Validity Start Date
ValidityStartTime DerivativePositionCurrent ValidityStartTime Valid From Time
ValidityEndDate DerivativePositionCurrent ValidityEndDate ValidTo
ValidityEndTime DerivativePositionCurrent ValidityEndTime Valid To Time
ValidityStartCharTimestamp DerivativePositionCurrent ValidityStartCharTimestamp
ValidityEndCharTimestamp DerivativePositionCurrent ValidityEndCharTimestamp
MaximumVersion DerivativePositionCurrent MaximumVersion Highest Version
RiskAnalyzerVersionUUID DerivativePositionCurrent RiskAnalyzerVersionUUID Version GUID
ExposureDueDate DerivativePositionCurrent ExposureDueDate
ReportingDate DerivativePositionCurrent ReportingDate
Commodity DerivativePositionCurrent Commodity Commodity Code
CashFlowDirection DerivativePositionCurrent CashFlowDirection
TreasuryPositionLongShortCode DerivativePositionCurrent TreasuryPositionLongShortCode
DerivativeContrSpecification DerivativePositionCurrent DerivativeContrSpecification DCS ID
MarketIdentifierCode DerivativePositionCurrent MarketIdentifierCode MIC
QuotationPriceType DerivativePositionCurrent QuotationPriceType Price Type
TimeToMaturity DerivativePositionCurrent TimeToMaturity Time to Maturity
CmmdtyForwardIndexTiming DerivativePositionCurrent CmmdtyForwardIndexTiming
MaturityKeyDate DerivativePositionCurrent MaturityKeyDate Maturity Key Date
DerivativeContractMaturityCode DerivativePositionCurrent DerivativeContractMaturityCode Contr. Maturity Code
FinancialInstrProductCategory DerivativePositionCurrent FinancialInstrProductCategory
FinancialAssetsMgmtProductType DerivativePositionCurrent FinancialAssetsMgmtProductType
FinInstrTransactionCategory DerivativePositionCurrent FinInstrTransactionCategory
FinancialInstrumentProductType DerivativePositionCurrent FinancialInstrumentProductType
FinancialInstrActivityCategory DerivativePositionCurrent FinancialInstrActivityCategory
FinancialObject DerivativePositionCurrent FinancialObject
HasError DerivativePositionCurrent HasError TRUE
TermStartDate DerivativePositionCurrent TermStartDate
TermEndDate DerivativePositionCurrent TermEndDate
DeliveryDate DerivativePositionCurrent DeliveryDate Delivery Date
NumberOfCommodityContracts DerivativePositionCurrent NumberOfCommodityContracts
CommodityPriceFixationStatus DerivativePositionCurrent CommodityPriceFixationStatus
TreasuryPositionAccount DerivativePositionCurrent TreasuryPositionAccount
DerivativeContract DerivativePositionCurrent DerivativeContract
QuotationCurrency DerivativePositionCurrent QuotationCurrency
PaymentCurrency DerivativePositionCurrent PaymentCurrency Payment Currency
OptionStrikePrice DerivativePositionCurrent OptionStrikePrice
OptionStrikeCurrency DerivativePositionCurrent OptionStrikeCurrency
OptionPutCallCode DerivativePositionCurrent OptionPutCallCode
OptionExerciseType DerivativePositionCurrent OptionExerciseType
EndOfDayBusinessEntityKey DerivativePositionCurrent EndOfDayBusinessEntityKey
ReportingMonth DerivativePositionCurrent ReportingMonth
ReportingYear DerivativePositionCurrent ReportingYear
EvaluationDate DerivativePositionCurrent EvaluationDate
EndOfDaySnapshotDate DerivativePositionCurrent EndOfDaySnapshotDate
EndOfDaySnapshotDateTime DerivativePositionCurrent EndOfDaySnapshotDateTime
ConsumptionType DerivativePositionCurrent ConsumptionType
DisplayView DerivativePositionCurrent DisplayView
FinInstrExternalReference DerivativePositionCurrent FinInstrExternalReference
TradedDrvtvContrSpecification DerivativePositionCurrent TradedDrvtvContrSpecification
ParDrvtvContractSpecification DerivativePositionCurrent ParDrvtvContractSpecification
RiskViewIsNotRelevant DerivativePositionCurrent RiskViewIsNotRelevant
FinancialTransactionPortfolio DerivativePositionCurrent FinancialTransactionPortfolio
CmmdtyHdgPlanExposureHedgeBook DerivativePositionCurrent CmmdtyHdgPlanExposureHedgeBook Hedge Book
CommodityHedgePlanExposureID DerivativePositionCurrent CommodityHedgePlanExposureID Plan Exposure ID
_CompanyCode DerivativePositionCurrent _CompanyCode
_DerivativeContrSpecification DerivativePositionCurrent _DerivativeContrSpecification
_FinAssetsMgmtProductType DerivativePositionCurrent _FinAssetsMgmtProductType
_MarketIdentifierCode DerivativePositionCurrent _MarketIdentifierCode
_PhysicalCommodity DerivativePositionCurrent _PhysicalCommodity
_UnitOfMeasure _UnitOfMeasure

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_DerivativePosAdptrLayer.
-- 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: PVFINDAL
-- Parameters: P_DisplayView : cds_view_uom, P_EvaluationDate : cds_evaluation_date, P_ComparisionDate : cds_evaluation_date

CREATE VIEW P_DerivativePosAdptrLayer AS
SELECT
  DerivativePositionEOD.CompanyCode AS CompanyCode,
  DerivativePositionEOD.CommodityPriceExposure AS CommodityPriceExposure,
  DerivativePositionEOD.CommodityExposureCategory AS CommodityExposureCategory,
  DerivativePositionEOD.CommodityPriceSubExposure AS CommodityPriceSubExposure,
  DerivativePositionEOD.CommodityPriceExposureVersion AS CommodityPriceExposureVersion,
  DerivativePositionEOD.ValidityStartDateTime AS ValidityStartDateTime,
  DerivativePositionEOD.ValidityEndDateTime AS ValidityEndDateTime,
  DerivativePositionEOD.ValidityStartDate AS ValidityStartDate,
  DerivativePositionEOD.ValidityStartTime AS ValidityStartTime,
  DerivativePositionEOD.ValidityEndDate AS ValidityEndDate,
  DerivativePositionEOD.ValidityEndTime AS ValidityEndTime,
  DerivativePositionEOD.ValidityStartCharTimestamp AS ValidityStartCharTimestamp,
  DerivativePositionEOD.ValidityEndCharTimestamp AS ValidityEndCharTimestamp,
  DerivativePositionEOD.MaximumVersion AS MaximumVersion,
  DerivativePositionEOD.RiskAnalyzerVersionUUID AS RiskAnalyzerVersionUUID,
  DerivativePositionEOD.ExposureDueDate AS ExposureDueDate,
  DerivativePositionEOD.ReportingDate AS ReportingDate,
  DerivativePositionEOD.Commodity AS Commodity,
  DerivativePositionEOD.CashFlowDirection AS CashFlowDirection,
  DerivativePositionEOD.TreasuryPositionLongShortCode AS TreasuryPositionLongShortCode,
  DerivativePositionEOD.DerivativeContrSpecification AS DerivativeContrSpecification,
  DerivativePositionEOD.MarketIdentifierCode AS MarketIdentifierCode,
  DerivativePositionEOD.QuotationPriceType AS QuotationPriceType,
  DerivativePositionEOD.TimeToMaturity AS TimeToMaturity,
  DerivativePositionEOD.CmmdtyForwardIndexTiming AS CmmdtyForwardIndexTiming,
  DerivativePositionEOD.MaturityKeyDate AS MaturityKeyDate,
  DerivativePositionEOD.DerivativeContractMaturityCode AS DerivativeContractMaturityCode,
  DerivativePositionEOD.FinancialInstrProductCategory AS FinancialInstrProductCategory,
  DerivativePositionEOD.FinancialAssetsMgmtProductType AS FinancialAssetsMgmtProductType,
  DerivativePositionEOD.FinInstrTransactionCategory AS FinInstrTransactionCategory,
  DerivativePositionEOD.FinancialInstrumentProductType AS FinancialInstrumentProductType,
  DerivativePositionEOD.FinancialInstrActivityCategory AS FinancialInstrActivityCategory,
  DerivativePositionEOD.FinancialObject AS FinancialObject,
  DerivativePositionEOD.HasError AS HasError,
  DerivativePositionEOD.TermStartDate AS TermStartDate,
  DerivativePositionEOD.TermEndDate AS TermEndDate,
  DerivativePositionEOD.DeliveryDate AS DeliveryDate,
  DerivativePositionEOD.NumberOfCommodityContracts AS NumberOfCommodityContracts,
  DerivativePositionEOD.CommodityPriceFixationStatus AS CommodityPriceFixationStatus,
  DerivativePositionEOD.TreasuryPositionAccount AS TreasuryPositionAccount,
  DerivativePositionEOD.DerivativeContract AS DerivativeContract,
  DerivativePositionEOD.QuotationCurrency AS QuotationCurrency,
  DerivativePositionEOD.PaymentCurrency AS PaymentCurrency,
  DerivativePositionEOD.OptionStrikePrice AS OptionStrikePrice,
  DerivativePositionEOD.OptionStrikeCurrency AS OptionStrikeCurrency,
  DerivativePositionEOD.OptionPutCallCode AS OptionPutCallCode,
  DerivativePositionEOD.OptionExerciseType AS OptionExerciseType,
  DerivativePositionEOD.EndOfDayBusinessEntityKey AS EndOfDayBusinessEntityKey,
  DerivativePositionEOD.ReportingMonth AS ReportingMonth,
  DerivativePositionEOD.ReportingYear AS ReportingYear,
  DerivativePositionEOD.EvaluationDate AS EvaluationDate,
  DerivativePositionEOD.EndOfDaySnapshotDate AS EndOfDaySnapshotDate,
  DerivativePositionEOD.EndOfDaySnapshotDateTime AS EndOfDaySnapshotDateTime,
  DerivativePositionEOD.ConsumptionType AS ConsumptionType,
  DerivativePositionEOD.DisplayView AS DisplayView,
  DerivativePositionEOD.FinInstrExternalReference AS FinInstrExternalReference,
  DerivativePositionEOD.TradedDrvtvContrSpecification AS TradedDrvtvContrSpecification,
  DerivativePositionEOD.ParDrvtvContractSpecification AS ParDrvtvContractSpecification,
  DerivativePositionEOD.RiskViewIsNotRelevant AS RiskViewIsNotRelevant,
  DerivativePositionEOD.FinancialTransactionPortfolio AS FinancialTransactionPortfolio,
  DerivativePositionEOD.CmmdtyHdgPlanExposureHedgeBook AS CmmdtyHdgPlanExposureHedgeBook,
  DerivativePositionEOD.CommodityHedgePlanExposureID AS CommodityHedgePlanExposureID,
  DerivativePositionEOD._CompanyCode AS _CompanyCode,
  DerivativePositionEOD._DerivativeContrSpecification AS _DerivativeContrSpecification,
  DerivativePositionEOD._FinAssetsMgmtProductType AS _FinAssetsMgmtProductType,
  DerivativePositionEOD._MarketIdentifierCode AS _MarketIdentifierCode,
  DerivativePositionEOD._PhysicalCommodity AS _PhysicalCommodity,
  P_SNAPSHOT1: $parameters.P_ComparisionDate AS P_ComparisionDate
FROM P_DrvtvPosEndOfDayTechLayer
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON CommodityPriceExposureUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
-- UNION with additional select branch(es): P_DerivativePosDODTechLayer, P_DerivativePosTechLayer
;