I_DrvtvPosInterfaceLayer

DDL: I_DRVTVPOSINTERFACELAYER SQL: IVFINDIL Type: view COMPOSITE Package: FTR_COMMODITY_CDS

Derivative Position Interface Layer Extension

I_DrvtvPosInterfaceLayer is a Composite CDS View that provides data about "Derivative Position Interface Layer Extension" in SAP S/4HANA. It reads from 1 data source (P_DerivativePosInterfaceLayer) and exposes 80 fields with key fields CompanyCode, CommodityPriceExposure, CommodityExposureCategory, CommodityPriceSubExposure, CommodityPriceExposureVersion. It has 1 association to related views. Part of development package FTR_COMMODITY_CDS.

Data Sources (1)

SourceAliasJoin Type
P_DerivativePosInterfaceLayer P_DerivativePosInterfaceLayer from

Parameters (7)

NameTypeDefault
P_DisplayView cds_view_uom
P_EvaluationDate cds_evaluation_date
P_EndOfDaySnapshotToDate cds_evaluation_date
P_MTMDataSelectionType cmm_vlogp_consumptiontype
P_OptionDeltaMethod cds_option_delta_method
P_OptionDeltaThreshold cds_option_delta_threshold
P_CommodityViewSelectionType cmm_view_type

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_FinancialInstrCharacteristic _Extension $projection.CompanyCode = _Extension.CompanyCode and $projection.CommodityPriceExposure = _Extension.CommodityPriceExposure and $projection.CommodityExposureCategory = _Extension.CommodityExposureCategory and $projection.CommodityPriceSubExposure = _Extension.CommodityPriceSubExposure and $projection.CommodityPriceExposureVersion = _Extension.CommodityPriceExposureVersion

Annotations (10)

NameValueLevelField
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IVFINDIL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Derivative Position Interface Layer Extension view

Fields (80)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY CommodityPriceExposure CommodityPriceExposure Exposure ID
KEY CommodityExposureCategory CommodityExposureCategory
KEY CommodityPriceSubExposure CommodityPriceSubExposure
KEY CommodityPriceExposureVersion CommodityPriceExposureVersion Exposure Version
CommodityViewTypeText CommodityViewTypeText
CommodityViewSelectionType CommodityViewSelectionType
ValidityStartDateTime ValidityStartDateTime Valid From Timestamp
ValidityEndDateTime ValidityEndDateTime Valid To Timestamp
ValidityStartDate ValidityStartDate Validity Start Date
ValidityStartTime ValidityStartTime Valid From Time
ValidityEndDate ValidityEndDate ValidTo
ValidityEndTime ValidityEndTime Valid To Time
MaximumVersion MaximumVersion Highest Version
RiskAnalyzerVersionUUID RiskAnalyzerVersionUUID Version GUID
ExposureDueDate ExposureDueDate
ReportingDate ReportingDate
Commodity Commodity Commodity Code
CashFlowDirection CashFlowDirection
TreasuryPositionLongShortCode TreasuryPositionLongShortCode
DerivativeContrSpecification DerivativeContrSpecification DCS ID
MarketIdentifierCode MarketIdentifierCode MIC
TimeToMaturity TimeToMaturity Time to Maturity
CmmdtyForwardIndexTiming CmmdtyForwardIndexTiming
MaturityKeyDate MaturityKeyDate Maturity Key Date
DerivativeContractMaturityCode DerivativeContractMaturityCode Contr. Maturity Code
FinancialInstrProductCategory FinancialInstrProductCategory
FinancialAssetsMgmtProductType FinancialAssetsMgmtProductType
FinInstrTransactionCategory FinInstrTransactionCategory
FinancialInstrumentProductType FinancialInstrumentProductType
FinancialInstrActivityCategory FinancialInstrActivityCategory
FinancialObject FinancialObject
HasError HasError TRUE
SystemMessageNumber SystemMessageNumber Message Number
TermStartDate TermStartDate
TermEndDate TermEndDate
DeliveryDate DeliveryDate Delivery Date
NumberOfCommodityContracts NumberOfCommodityContracts
CommodityPriceFixationStatus CommodityPriceFixationStatus
TreasuryPositionAccount TreasuryPositionAccount
DerivativeContract DerivativeContract
OptionStrikePrice OptionStrikePrice
OptionStrikeCurrency OptionStrikeCurrency
OptionPutCallCode OptionPutCallCode
OptionExerciseType OptionExerciseType
OptionDeltaFactorKeyFigure OptionDeltaFactorKeyFigure
ExternalKeyFigureValue ExternalKeyFigureValue
OptionDeltaFactor OptionDeltaFactor
EndOfDayBusinessEntityKey EndOfDayBusinessEntityKey
ReportingMonth ReportingMonth
ReportingYear ReportingYear
EvaluationDate EvaluationDate
EndOfDaySnapshotDate EndOfDaySnapshotDate
EndOfDaySnapshotDateTime EndOfDaySnapshotDateTime
MTMDataSelectionType ConsumptionType
DisplayView DisplayView
CommodityPriceExposureQuantity CommodityPriceExposureQuantity
CommodityPriceExposureUnit CommodityPriceExposureUnit
PricedFinancialPositionQty PricedFinancialPositionQty
UnpricedFinancialPositionQty UnpricedFinancialPositionQty
DueInPastUnpricedFinPosQty DueInPastUnpricedFinPosQty
DueMktOnClsUnpricedFinPosQty DueMktOnClsUnpricedFinPosQty
DueInFutureUnpricedFinPosQty DueInFutureUnpricedFinPosQty
UnpricedContrPriceExposureQty
UndeliveredMarketPrExposureQty
OutrightPriceExposureQty
FinancialPositionQty FinancialPositionQty
FinInstrExternalReference FinInstrExternalReference
TradedDrvtvContrSpecification TradedDrvtvContrSpecification
ParDrvtvContractSpecification ParDrvtvContractSpecification
RiskViewIsNotRelevant RiskViewIsNotRelevant
FinancialTransactionPortfolio FinancialTransactionPortfolio
CmmdtyHdgPlanExposureHedgeBook CmmdtyHdgPlanExposureHedgeBook Hedge Book
CommodityHedgePlanExposureID CommodityHedgePlanExposureID Plan Exposure ID
_CompanyCode _CompanyCode
_DerivativeContrSpecification _DerivativeContrSpecification
_FinAssetsMgmtProductType _FinAssetsMgmtProductType
_MarketIdentifierCode _MarketIdentifierCode
_PhysicalCommodity _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 I_DrvtvPosInterfaceLayer.
-- 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: IVFINDIL
-- Parameters: P_DisplayView : cds_view_uom, P_EvaluationDate : cds_evaluation_date, P_EndOfDaySnapshotToDate : cds_evaluation_date, P_MTMDataSelectionType : cmm_vlogp_consumptiontype, P_OptionDeltaMethod : cds_option_delta_method, P_OptionDeltaThreshold : cds_option_delta_threshold, P_CommodityViewSelectionType : cmm_view_type

CREATE VIEW I_DrvtvPosInterfaceLayer AS
SELECT
  CompanyCode,
  CommodityPriceExposure,
  CommodityExposureCategory,
  CommodityPriceSubExposure,
  CommodityPriceExposureVersion,
  CommodityViewTypeText,
  CommodityViewSelectionType,
  ValidityStartDateTime,
  ValidityEndDateTime,
  ValidityStartDate,
  ValidityStartTime,
  ValidityEndDate,
  ValidityEndTime,
  MaximumVersion,
  RiskAnalyzerVersionUUID,
  ExposureDueDate,
  ReportingDate,
  Commodity,
  CashFlowDirection,
  TreasuryPositionLongShortCode,
  DerivativeContrSpecification,
  MarketIdentifierCode,
  TimeToMaturity,
  CmmdtyForwardIndexTiming,
  MaturityKeyDate,
  DerivativeContractMaturityCode,
  FinancialInstrProductCategory,
  FinancialAssetsMgmtProductType,
  FinInstrTransactionCategory,
  FinancialInstrumentProductType,
  FinancialInstrActivityCategory,
  FinancialObject,
  HasError,
  SystemMessageNumber,
  TermStartDate,
  TermEndDate,
  DeliveryDate,
  NumberOfCommodityContracts,
  CommodityPriceFixationStatus,
  TreasuryPositionAccount,
  DerivativeContract,
  OptionStrikePrice,
  OptionStrikeCurrency,
  OptionPutCallCode,
  OptionExerciseType,
  OptionDeltaFactorKeyFigure,
  ExternalKeyFigureValue,
  OptionDeltaFactor,
  EndOfDayBusinessEntityKey,
  ReportingMonth,
  ReportingYear,
  EvaluationDate,
  EndOfDaySnapshotDate,
  EndOfDaySnapshotDateTime,
  ConsumptionType AS MTMDataSelectionType,
  DisplayView,
  CommodityPriceExposureQuantity,
  CommodityPriceExposureUnit,
  PricedFinancialPositionQty,
  UnpricedFinancialPositionQty,
  DueInPastUnpricedFinPosQty,
  DueMktOnClsUnpricedFinPosQty,
  DueInFutureUnpricedFinPosQty,
  cast( ContractPriceExposure as cds_unpriced_cntrct_exp_qty) AS UnpricedContrPriceExposureQty,
  cast( MarketPriceExposure as cds_undlvrd_mkt_pr_exp_qty) AS UndeliveredMarketPrExposureQty,
  cast( OutrightExposureQty as cmm_outright_exposure_qty) AS OutrightPriceExposureQty,
  FinancialPositionQty,
  FinInstrExternalReference,
  TradedDrvtvContrSpecification,
  ParDrvtvContractSpecification,
  RiskViewIsNotRelevant,
  FinancialTransactionPortfolio,
  CmmdtyHdgPlanExposureHedgeBook,
  CommodityHedgePlanExposureID
FROM P_DerivativePosInterfaceLayer
LEFT OUTER JOIN E_FinancialInstrCharacteristic AS _Extension ON CompanyCode = _Extension.CompanyCode AND CommodityPriceExposure = _Extension.CommodityPriceExposure AND CommodityExposureCategory = _Extension.CommodityExposureCategory AND CommodityPriceSubExposure = _Extension.CommodityPriceSubExposure AND CommodityPriceExposureVersion = _Extension.CommodityPriceExposureVersion  -- association [1..1]
;