P_DerivativePosOptnDelta
Derivative Position Option Delta Factor
P_DerivativePosOptnDelta is a Composite CDS View that provides data about "Derivative Position Option Delta Factor" in SAP S/4HANA. It reads from 3 data sources (P_DerivativePosAdptrLayer, P_VerFinEvalOptnDeltaUnion, vtbfha) and exposes 72 fields. Part of development package FTR_COMMODITY_CDS.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_DerivativePosAdptrLayer | P_DerivativePosAdptrLayer | from |
| P_VerFinEvalOptnDeltaUnion | P_VerFinEvalOptnDeltaUnion | left_outer |
| vtbfha | vtbfha | left_outer |
Parameters (5)
| Name | Type | Default |
|---|---|---|
| P_DisplayView | cds_view_uom | |
| P_EvaluationDate | cds_evaluation_date | |
| P_ComparisionDate | cds_evaluation_date | |
| P_OptionDeltaMethod | cds_option_delta_method | |
| P_OptionDeltaThreshold | cds_option_delta_threshold |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | POPTDELTAPOS | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (72)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | vfind | CompanyCode | Receiver Company Code | |
| CommodityPriceExposure | vfind | CommodityPriceExposure | Exposure ID | |
| CommodityExposureCategory | vfind | CommodityExposureCategory | ||
| CommodityPriceSubExposure | vfind | CommodityPriceSubExposure | ||
| CommodityPriceExposureVersion | vfind | CommodityPriceExposureVersion | Exposure Version | |
| ValidityStartDateTime | vfind | ValidityStartDateTime | Valid From Timestamp | |
| ValidityEndDateTime | vfind | ValidityEndDateTime | Valid To Timestamp | |
| ValidityStartDate | vfind | ValidityStartDate | Validity Start Date | |
| ValidityStartTime | vfind | ValidityStartTime | Valid From Time | |
| ValidityEndDate | vfind | ValidityEndDate | ValidTo | |
| ValidityEndTime | vfind | ValidityEndTime | Valid To Time | |
| ValidityStartCharTimestamp | vfind | ValidityStartCharTimestamp | ||
| ValidityEndCharTimestamp | vfind | ValidityEndCharTimestamp | ||
| MaximumVersion | vfind | MaximumVersion | Highest Version | |
| RiskAnalyzerVersionUUID | vfind | RiskAnalyzerVersionUUID | Version GUID | |
| ExposureDueDate | vfind | ExposureDueDate | ||
| ReportingDate | vfind | ReportingDate | ||
| Commodity | vfind | Commodity | Commodity Code | |
| CashFlowDirection | vfind | CashFlowDirection | ||
| TreasuryPositionLongShortCode | vfind | TreasuryPositionLongShortCode | ||
| DerivativeContrSpecification | vfind | DerivativeContrSpecification | DCS ID | |
| MarketIdentifierCode | vfind | MarketIdentifierCode | MIC | |
| QuotationPriceType | vfind | QuotationPriceType | Price Type | |
| TimeToMaturity | vfind | TimeToMaturity | Time to Maturity | |
| CmmdtyForwardIndexTiming | vfind | CmmdtyForwardIndexTiming | ||
| MaturityKeyDate | vfind | MaturityKeyDate | Maturity Key Date | |
| DerivativeContractMaturityCode | vfind | DerivativeContractMaturityCode | Contr. Maturity Code | |
| FinancialInstrProductCategory | vfind | FinancialInstrProductCategory | ||
| FinancialAssetsMgmtProductType | vfind | FinancialAssetsMgmtProductType | ||
| FinInstrTransactionCategory | vfind | FinInstrTransactionCategory | ||
| FinancialInstrumentProductType | vfind | FinancialInstrumentProductType | ||
| FinancialInstrActivityCategory | vfind | FinancialInstrActivityCategory | ||
| FinancialObject | vfind | FinancialObject | ||
| HasError | vfind | HasError | TRUE | |
| TermStartDate | vfind | TermStartDate | ||
| TermEndDate | vfind | TermEndDate | ||
| DeliveryDate | vfind | DeliveryDate | Delivery Date | |
| NumberOfCommodityContracts | vfind | NumberOfCommodityContracts | ||
| TreasuryPositionAccount | vfind | TreasuryPositionAccount | ||
| DerivativeContract | vfind | DerivativeContract | ||
| QuotationCurrency | vfind | QuotationCurrency | ||
| PaymentCurrency | vfind | PaymentCurrency | Payment Currency | |
| OptionStrikePrice | vfind | OptionStrikePrice | ||
| OptionStrikeCurrency | vfind | OptionStrikeCurrency | ||
| OptionPutCallCode | vfind | OptionPutCallCode | ||
| OptionExerciseType | vfind | OptionExerciseType | ||
| EndOfDayBusinessEntityKey | vfind | EndOfDayBusinessEntityKey | ||
| ReportingMonth | vfind | ReportingMonth | ||
| ReportingYear | vfind | ReportingYear | ||
| EvaluationDate | vfind | EvaluationDate | ||
| EndOfDaySnapshotDate | vfind | EndOfDaySnapshotDate | ||
| EndOfDaySnapshotDateTime | vfind | EndOfDaySnapshotDateTime | ||
| ConsumptionType | vfind | ConsumptionType | ||
| FinInstrExternalReference | vfind | FinInstrExternalReference | ||
| TradedDrvtvContrSpecification | vfind | TradedDrvtvContrSpecification | ||
| ParDrvtvContractSpecification | vfind | ParDrvtvContractSpecification | ||
| RiskViewIsNotRelevant | vfind | RiskViewIsNotRelevant | ||
| DisplayView | vfind | DisplayView | ||
| OptionDeltaFactorKeyFigure | vfinr | OptionDeltaFactorKeyFigure | ||
| ExternalKeyFigureValue | vfinr | ExternalKeyFigureValue | ||
| OptionDeltaFactor | ||||
| CommodityPriceExposureUnit | vfind | CommodityPriceExposureUnit | ||
| FinancialTransactionPortfolio | vfind | FinancialTransactionPortfolio | ||
| CmmdtyHdgPlanExposureHedgeBook | vfind | CmmdtyHdgPlanExposureHedgeBook | Hedge Book | |
| CommodityHedgePlanExposureID | vfind | CommodityHedgePlanExposureID | Plan Exposure ID | |
| _CompanyCode | vfind | _CompanyCode | ||
| _DerivativeContrSpecification | vfind | _DerivativeContrSpecification | ||
| _FinAssetsMgmtProductType | vfind | _FinAssetsMgmtProductType | ||
| _MarketIdentifierCode | vfind | _MarketIdentifierCode | ||
| _PhysicalCommodity | vfind | _PhysicalCommodity | ||
| _UnitOfMeasure | vfind | _UnitOfMeasure | ||
| ProfitCenter | vtbfha | prctr | Profit Centers |
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_DerivativePosOptnDelta.
-- 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: POPTDELTAPOS
-- Parameters: P_DisplayView : cds_view_uom, P_EvaluationDate : cds_evaluation_date, P_ComparisionDate : cds_evaluation_date, P_OptionDeltaMethod : cds_option_delta_method, P_OptionDeltaThreshold : cds_option_delta_threshold
CREATE VIEW P_DerivativePosOptnDelta AS
SELECT
vfind.CompanyCode AS CompanyCode,
vfind.CommodityPriceExposure AS CommodityPriceExposure,
vfind.CommodityExposureCategory AS CommodityExposureCategory,
vfind.CommodityPriceSubExposure AS CommodityPriceSubExposure,
vfind.CommodityPriceExposureVersion AS CommodityPriceExposureVersion,
vfind.ValidityStartDateTime AS ValidityStartDateTime,
vfind.ValidityEndDateTime AS ValidityEndDateTime,
vfind.ValidityStartDate AS ValidityStartDate,
vfind.ValidityStartTime AS ValidityStartTime,
vfind.ValidityEndDate AS ValidityEndDate,
vfind.ValidityEndTime AS ValidityEndTime,
vfind.ValidityStartCharTimestamp AS ValidityStartCharTimestamp,
vfind.ValidityEndCharTimestamp AS ValidityEndCharTimestamp,
vfind.MaximumVersion AS MaximumVersion,
vfind.RiskAnalyzerVersionUUID AS RiskAnalyzerVersionUUID,
vfind.ExposureDueDate AS ExposureDueDate,
vfind.ReportingDate AS ReportingDate,
vfind.Commodity AS Commodity,
vfind.CashFlowDirection AS CashFlowDirection,
vfind.TreasuryPositionLongShortCode AS TreasuryPositionLongShortCode,
vfind.DerivativeContrSpecification AS DerivativeContrSpecification,
vfind.MarketIdentifierCode AS MarketIdentifierCode,
vfind.QuotationPriceType AS QuotationPriceType,
vfind.TimeToMaturity AS TimeToMaturity,
vfind.CmmdtyForwardIndexTiming AS CmmdtyForwardIndexTiming,
vfind.MaturityKeyDate AS MaturityKeyDate,
vfind.DerivativeContractMaturityCode AS DerivativeContractMaturityCode,
vfind.FinancialInstrProductCategory AS FinancialInstrProductCategory,
vfind.FinancialAssetsMgmtProductType AS FinancialAssetsMgmtProductType,
vfind.FinInstrTransactionCategory AS FinInstrTransactionCategory,
vfind.FinancialInstrumentProductType AS FinancialInstrumentProductType,
vfind.FinancialInstrActivityCategory AS FinancialInstrActivityCategory,
vfind.FinancialObject AS FinancialObject,
vfind.HasError AS HasError,
vfind.TermStartDate AS TermStartDate,
vfind.TermEndDate AS TermEndDate,
vfind.DeliveryDate AS DeliveryDate,
vfind.NumberOfCommodityContracts AS NumberOfCommodityContracts,
vfind.TreasuryPositionAccount AS TreasuryPositionAccount,
vfind.DerivativeContract AS DerivativeContract,
vfind.QuotationCurrency AS QuotationCurrency,
vfind.PaymentCurrency AS PaymentCurrency,
vfind.OptionStrikePrice AS OptionStrikePrice,
vfind.OptionStrikeCurrency AS OptionStrikeCurrency,
vfind.OptionPutCallCode AS OptionPutCallCode,
vfind.OptionExerciseType AS OptionExerciseType,
vfind.EndOfDayBusinessEntityKey AS EndOfDayBusinessEntityKey,
vfind.ReportingMonth AS ReportingMonth,
vfind.ReportingYear AS ReportingYear,
vfind.EvaluationDate AS EvaluationDate,
vfind.EndOfDaySnapshotDate AS EndOfDaySnapshotDate,
vfind.EndOfDaySnapshotDateTime AS EndOfDaySnapshotDateTime,
vfind.ConsumptionType AS ConsumptionType,
vfind.FinInstrExternalReference AS FinInstrExternalReference,
vfind.TradedDrvtvContrSpecification AS TradedDrvtvContrSpecification,
vfind.ParDrvtvContractSpecification AS ParDrvtvContractSpecification,
vfind.RiskViewIsNotRelevant AS RiskViewIsNotRelevant,
vfind.DisplayView AS DisplayView,
vfinr.OptionDeltaFactorKeyFigure AS OptionDeltaFactorKeyFigure,
vfinr.ExternalKeyFigureValue AS ExternalKeyFigureValue,
cast( vfinr.OptionDeltaFactorKeyFigure as cds_option_delta_factor ) AS OptionDeltaFactor,
vfind.CommodityPriceExposureUnit AS CommodityPriceExposureUnit,
vfind.FinancialTransactionPortfolio AS FinancialTransactionPortfolio,
vfind.CmmdtyHdgPlanExposureHedgeBook AS CmmdtyHdgPlanExposureHedgeBook,
vfind.CommodityHedgePlanExposureID AS CommodityHedgePlanExposureID,
vfind._CompanyCode AS _CompanyCode,
vfind._DerivativeContrSpecification AS _DerivativeContrSpecification,
vfind._FinAssetsMgmtProductType AS _FinAssetsMgmtProductType,
vfind._MarketIdentifierCode AS _MarketIdentifierCode,
vfind._PhysicalCommodity AS _PhysicalCommodity,
vfind._UnitOfMeasure AS _UnitOfMeasure,
vtbfha.prctr AS ProfitCenter
FROM P_DerivativePosAdptrLayer
LEFT OUTER JOIN P_VerFinEvalOptnDeltaUnion ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN vtbfha 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