I_CmmdtyPrcgQtanRuleDefinition
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)
| Source | Alias | Join Type |
|---|---|---|
| cpec_quotrule | cpec_quotrule | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
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