I_CmmdtyPrcgQtanRuleDefinition

DDL: I_CMMDTYPRCGQTANRULEDEFINITION Type: view_entity BASIC

Quotation Rule

I_CmmdtyPrcgQtanRuleDefinition is a Basic CDS View that provides data about "Quotation Rule" in SAP S/4HANA. It reads from 1 data source (cpec_quotrule) and exposes 21 fields with key fields OriginSystem, PrcgCndnTermQuotationRule, CmmdtyPrcgValdtyStartDateTime.

Data Sources (1)

SourceAliasJoin Type
cpec_quotrule cpec_quotrule from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Quotation Rule view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.entityBuffer.definitionAllowed true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY OriginSystem logsys Source system
KEY PrcgCndnTermQuotationRule quotationrule Quotation Rule
KEY CmmdtyPrcgValdtyStartDateTime
PricingConditionQuotationKey quotkey Quotation Key
DerivativeContrSpecification dcsid DCSID
MarketIdentifierCode mic MIC
TimeToMaturity tenor Time to Maturity
PriceQuotationType pricetype Price Type
CommodityCurveType curve_type Cty Curve Type
AltvDrvtvContractSpecification curve_dcsid DCS ID
AltvMarketIdentifierCode curve_mic MIC
MaturitySelectionType dcs_selection_type Maturity Sel. Type
CmmdtyForwardIndexTiming timing Timing
TrmMaturitySelRefDateRoutine keydate_refdate_rout Maturity Ref.Date
PrcgCndnTrmMaturitySelRoutine keydate_selection_rout Maturity Sel. Rt.
CndnTrmPerdDetnDteOffstRoutine keydate_offset_rout Date Offset Routine
DteOffsetRoutineTimeUnitAmount keydate_offset_units No. Time Units
DCSPeriodType dcs_period_type Period Type
BasisType basis_type Basis Type
PricingCndnTermQuotationGroup quotgroup Quotation Group
DerivativeContractSpecCategory Derivative Category

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_CmmdtyPrcgQtanRuleDefinition.
-- 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_CmmdtyPrcgQtanRuleDefinition AS
SELECT
  logsys AS OriginSystem,
  quotationrule AS PrcgCndnTermQuotationRule,
  cast( cpec_quotrule.validfrom as cpet_validfrom_cds preserving type ) AS CmmdtyPrcgValdtyStartDateTime,
  quotkey AS PricingConditionQuotationKey,
  dcsid AS DerivativeContrSpecification,
  mic AS MarketIdentifierCode,
  tenor AS TimeToMaturity,
  pricetype AS PriceQuotationType,
  curve_type AS CommodityCurveType,
  curve_dcsid AS AltvDrvtvContractSpecification,
  curve_mic AS AltvMarketIdentifierCode,
  dcs_selection_type AS MaturitySelectionType,
  timing AS CmmdtyForwardIndexTiming,
  keydate_refdate_rout AS TrmMaturitySelRefDateRoutine,
  keydate_selection_rout AS PrcgCndnTrmMaturitySelRoutine,
  keydate_offset_rout AS CndnTrmPerdDetnDteOffstRoutine,
  keydate_offset_units AS DteOffsetRoutineTimeUnitAmount,
  dcs_period_type AS DCSPeriodType,
  basis_type AS BasisType,
  quotgroup AS PricingCndnTermQuotationGroup,
  cast( dcs_type as cds_dcs_category ) AS DerivativeContractSpecCategory
FROM cpec_quotrule
;