I_CmmdtyVersFinTransac

DDL: I_CMMDTYVERSFINTRANSAC Type: view_entity BASIC

CMM VFIND Interface layer

I_CmmdtyVersFinTransac is a Basic CDS View that provides data about "CMM VFIND Interface layer" in SAP S/4HANA. It reads from 1 data source (cmm_vfind) and exposes 69 fields with key fields CompanyCode, CommodityPriceExposure, CommodityExposureCategory, CommodityPriceSubExposure, CommodityPriceExposureVersion.

Data Sources (1)

SourceAliasJoin Type
cmm_vfind vfind from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label CMM VFIND Interface layer view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (69)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode cmm_vfind company_code Company Code
KEY CommodityPriceExposure cmm_vfind exposure_id Raw Exposure ID
KEY CommodityExposureCategory cmm_vfind exposure_cat Exposure Cat
KEY CommodityPriceSubExposure cmm_vfind exposure_subkey Expo Subkey
KEY CommodityPriceExposureVersion cmm_vfind version XML Vers.
SourceLogicalSystem I_SAPClient LogicalSystem Logical System
ValidityStartDateTime cmm_vfind valid_from_tst Valid-From Tstmp
ValidityEndDateTime cmm_vfind valid_to_tst Valid-To Tstmp
ValidityStartDate cmm_vfind valid_from_date Validity From Date
ValidityStartTime cmm_vfind valid_from_time Valid-From Time
ValidityEndDate cmm_vfind valid_to_date Validity To Date
ValidityEndTime cmm_vfind valid_to_time Valid-To Time
MaximumVersion cmm_vfind version_max Max. Version
RiskAnalyzerVersionUUID cmm_vfind version_guid Version GUID
FinancialInstrProductCategory cmm_vfind product_cat Prod. Category
FinancialAssetsMgmtProductType cmm_vfind product_type Product Type
FinInstrTransactionCategory cmm_vfind f_trans_cat Transaction Cat
FinancialInstrumentProductType cmm_vfind trans_type TransType
FinancialInstrActivityCategory cmm_vfind trans_act_type Activity Cat.
TermStartDate cmm_vfind start_term Term Start
TermEndDate cmm_vfind end_term Term End
FinancialObject cmm_vfind objnr Val. Obj. No.
PnLEventType cmm_vfind event_type Type of Event
HasError cmm_vfind has_error Error in Data Record
IsNotRelevantForMTMRisk cmm_vfind is_not_relevant Reporting Relevant
CalculationPeriodStartDate cmm_vfind calc_start_date Calc. Start Date
CalculationPeriodEndDate cmm_vfind calc_end_date Calc. End Date
FinInstrExternalReference cmm_vfind external_reference External Reference
FinancialTransactionPortfolio cmm_vfind portfolio Portfolio
ExposureDueDate cmm_vfind expos_due_date Exp. Due Date
ReportingDate cmm_vfind reporting_date Reporting Date
DeliveryDate cmm_vfind delivery_date Time Stamp
PricingCommodity cmm_vfind phys_comm_id Commodity
DirectionLongShort cmm_vfind side Side
TreasuryPositionLongShortCode cmm_vfind direction Long/Short Position
DerivativeContrSpecification cmm_vfind dcs DCS ID
MarketIdentifierCode cmm_vfind mic MIC
QuotationPriceType cmm_vfind price_type Price Type
TimeToMaturity cmm_vfind tenor Time to Maturity
CmmdtyForwardIndexTiming cmm_vfind timing Timing
MaturityKeyDate cmm_vfind keydate Maturity Key Date
DerivativeContractMaturityCode cmm_vfind contract_code Contr. Maturity Code
OptionPutCallCode cmm_vfind option_direction Put/Call
OptionExerciseType cmm_vfind exercise_type Exercise Type
PriceFixationStatus cmm_vfind fixing_status Fixation Status
TreasuryPositionAccount cmm_vfind futures_account Futures Acct
DerivativeContract cmm_vfind derivative_contract_id Derivative Contract
NumberOfCommodityContracts cmm_vfind number_of_contracts Number of Contracts
CommodityPriceExposureQuantity cmm_vfind quantity Value
CommodityPriceExposureUnit cmm_vfind unit_of_measure Unit of Measure
CommodityPriceExposureBaseQty cmm_vfind base_quantity Base Quantity
CommodityPriceExposureBaseUnit cmm_vfind base_uom Weight UoM
CmmdtyPriceExpsrQtyInMassUnit
CmmdtyPriceExpsrMassUnit
CmmdtyPriceExpsrQtyInVolUnit
CmmdtyPriceExpsrVolumeUnit
CmmdtyPriceExpsrPaymentAmount
PaymentCurrency cmm_vfind payt_currency Payment Currency
QuotationCurrency cmm_vfind quot_currency Quotation Crcy
OptionStrikePrice cmm_vfind cty_strike_price Strike Price
OptionStrikeCurrency
TradedDrvtvContrSpecification cmm_vfind traded_dcs Traded DCS
ParDrvtvContractSpecification cmm_vfind parent_dcs Parent DCS ID
RiskViewIsNotRelevant cmm_vfind ignr_rsk_view Ignore for Risk View
EndOfDayBusinessEntityKey cmm_vfind entity_key Node Key
CmmdtyHdgPlanExposureHedgeBook cmm_vfind hedge_book Hedge Book
CommodityHedgePlanExposureID cmm_vfind plan_exposure_id Plan Exposure ID
ProfitCenter _FinancialTransaction ProfitCenter Profit Center
_FinancialTransaction _FinancialTransaction

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_CmmdtyVersFinTransac.
-- 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.

CREATE VIEW I_CmmdtyVersFinTransac AS
SELECT
  vfind.company_code AS CompanyCode,
  vfind.exposure_id AS CommodityPriceExposure,
  vfind.exposure_cat AS CommodityExposureCategory,
  vfind.exposure_subkey AS CommodityPriceSubExposure,
  vfind.version AS CommodityPriceExposureVersion,
  I_SAPClient.LogicalSystem AS SourceLogicalSystem,
  vfind.valid_from_tst AS ValidityStartDateTime,
  vfind.valid_to_tst AS ValidityEndDateTime,
  vfind.valid_from_date AS ValidityStartDate,
  vfind.valid_from_time AS ValidityStartTime,
  vfind.valid_to_date AS ValidityEndDate,
  vfind.valid_to_time AS ValidityEndTime,
  vfind.version_max AS MaximumVersion,
  vfind.version_guid AS RiskAnalyzerVersionUUID,
  vfind.product_cat AS FinancialInstrProductCategory,
  vfind.product_type AS FinancialAssetsMgmtProductType,
  vfind.f_trans_cat AS FinInstrTransactionCategory,
  vfind.trans_type AS FinancialInstrumentProductType,
  vfind.trans_act_type AS FinancialInstrActivityCategory,
  vfind.start_term AS TermStartDate,
  vfind.end_term AS TermEndDate,
  vfind.objnr AS FinancialObject,
  vfind.event_type AS PnLEventType,
  vfind.has_error AS HasError,
  vfind.is_not_relevant AS IsNotRelevantForMTMRisk,
  vfind.calc_start_date AS CalculationPeriodStartDate,
  vfind.calc_end_date AS CalculationPeriodEndDate,
  vfind.external_reference AS FinInstrExternalReference,
  vfind.portfolio AS FinancialTransactionPortfolio,
  vfind.expos_due_date AS ExposureDueDate,
  vfind.reporting_date AS ReportingDate,
  vfind.delivery_date AS DeliveryDate,
  vfind.phys_comm_id AS PricingCommodity,
  vfind.side AS DirectionLongShort,
  vfind.direction AS TreasuryPositionLongShortCode,
  vfind.dcs AS DerivativeContrSpecification,
  vfind.mic AS MarketIdentifierCode,
  vfind.price_type AS QuotationPriceType,
  vfind.tenor AS TimeToMaturity,
  vfind.timing AS CmmdtyForwardIndexTiming,
  vfind.keydate AS MaturityKeyDate,
  vfind.contract_code AS DerivativeContractMaturityCode,
  vfind.option_direction AS OptionPutCallCode,
  vfind.exercise_type AS OptionExerciseType,
  vfind.fixing_status AS PriceFixationStatus,
  vfind.futures_account AS TreasuryPositionAccount,
  vfind.derivative_contract_id AS DerivativeContract,
  vfind.number_of_contracts AS NumberOfCommodityContracts,
  vfind.quantity AS CommodityPriceExposureQuantity,
  vfind.unit_of_measure AS CommodityPriceExposureUnit,
  vfind.base_quantity AS CommodityPriceExposureBaseQty,
  vfind.base_uom AS CommodityPriceExposureBaseUnit,
  cast(vfind.mass_quantity as cds_qty_in_mass_uom ) AS CmmdtyPriceExpsrQtyInMassUnit,
  cast(vfind.mass_uom as cds_mass_uom ) AS CmmdtyPriceExpsrMassUnit,
  cast(vfind.volume_quantity as cds_qty_in_volume_uom ) AS CmmdtyPriceExpsrQtyInVolUnit,
  cast(vfind.volume_uom as cds_volume_uom ) AS CmmdtyPriceExpsrVolumeUnit,
  cast(vfind.amount as abap.dec( 13, 2 )) AS CmmdtyPriceExpsrPaymentAmount,
  vfind.payt_currency AS PaymentCurrency,
  vfind.quot_currency AS QuotationCurrency,
  vfind.cty_strike_price AS OptionStrikePrice,
  cast(vfind.cty_strike_curr_unit as abap.cuky( 5 )) AS OptionStrikeCurrency,
  vfind.traded_dcs AS TradedDrvtvContrSpecification,
  vfind.parent_dcs AS ParDrvtvContractSpecification,
  vfind.ignr_rsk_view AS RiskViewIsNotRelevant,
  vfind.entity_key AS EndOfDayBusinessEntityKey,
  vfind.hedge_book AS CmmdtyHdgPlanExposureHedgeBook,
  vfind.plan_exposure_id AS CommodityHedgePlanExposureID,
  _FinancialTransaction.ProfitCenter AS ProfitCenter
FROM cmm_vfind AS vfind
;