C_CntrlPurContrHierCmmdtyQtnTP
HCTR Cmmdty Trm Quotation - Cons View
C_CntrlPurContrHierCmmdtyQtnTP is a Consumption CDS View that provides data about "HCTR Cmmdty Trm Quotation - Cons View" in SAP S/4HANA. It reads from 1 data source (I_CntrlPurContrCmmdtyTrmQtnTP) and exposes 28 fields with key fields CentralPurchaseContract, CentralPurchaseContractItem, ConditionRecord, ConditionValidityEndDate, ConditionSequentialNumber. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CntrlPurContrCmmdtyTrmQtnTP | I_CntrlPurContrCmmdtyTrmQtnTP | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CntrlPurContrHierHdrTP | _CentralPurchaseContractTP | $projection.CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract |
| [1..1] | C_CntrlPurConHierCmmdtyTermTP | _CntrlPurContrCmmdtyTermTP | $projection.ConditionRecord = _CntrlPurContrCmmdtyTermTP.ConditionRecord and $projection.ConditionSequentialNumber = _CntrlPurContrCmmdtyTermTP.ConditionSequentialNumber and $projection.CentralPurchaseContract = _CntrlPurContrCmmdtyTermTP.CentralPurchaseContract and $projection.CentralPurchaseContractItem = _CntrlPurContrCmmdtyTermTP.CentralPurchaseContractItem and $projection.ConditionValidityEndDate = _CntrlPurContrCmmdtyTermTP.ConditionValidityEndDate and $projection.PricingConditionTerm = _CntrlPurContrCmmdtyTermTP.PricingConditionTerm |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CHCTRTRMQTNTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | HCTR Cmmdty Trm Quotation - Cons View | view | |
| Metadata.allowExtensions | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| feature | SW:LOG_CMM_PRC_SFWS_CCTR_CPE_DTLS | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralPurchaseContract | CentralPurchaseContract | Purchasing Doc. | |
| KEY | CentralPurchaseContractItem | CentralPurchaseContractItem | Item in Central Purchase Contract | |
| KEY | ConditionRecord | ConditionRecord | Cond.Record No. | |
| KEY | ConditionValidityEndDate | ConditionValidityEndDate | Valid To | |
| KEY | ConditionSequentialNumber | ConditionSequentialNumber | SequNo of Cond. | |
| KEY | PricingConditionTerm | PricingConditionTerm | Term Number | |
| KEY | PrcgCndnTermQuotationDateTime | PrcgCndnTermQuotationDateTime | Quotation Time Stamp | |
| PrcgConditionTermQuotationRate | PrcgConditionTermQuotationRate | Price Quotation | ||
| PrcgCndnTrmQtanRateCurrency | PrcgCndnTrmQtanRateCurrency | Qtn Currency | ||
| PrcgCndnTrmQtanRateQuantity | PrcgCndnTrmQtanRateQuantity | Quotation PU | ||
| PrcgCndnTrmQtanRateQtyUnit | PrcgCndnTrmQtanRateQtyUnit | Quotation UoM | ||
| MaturityKeyDate | MaturityKeyDate | Maturity Key Date | ||
| PrcgCndnTrmQtanSubstnDateTime | PrcgCndnTrmQtanSubstnDateTime | Subst Time Stamp | ||
| PricingConditionExchangeRate | PricingConditionExchangeRate | Conv.:Ex.Rate | ||
| PrcgCndnTrmQtanIsNonTradingDay | PrcgCndnTrmQtanIsNonTradingDay | Non-Trading Day | ||
| PrcgCndnTermQuotationIsMissing | PrcgCndnTermQuotationIsMissing | Quotation Missing | ||
| PrcgCndnTrmQtanIsSubstituted | PrcgCndnTrmQtanIsSubstituted | Substitute Qtn | ||
| PrcgCndnTrmQuotationIsIgnored | PrcgCndnTrmQuotationIsIgnored | Quotation Ignored | ||
| ConditionType | ConditionType | Condition type | ||
| PrcgCndnTermQuotationStatus | ||||
| PricingConditionSourceCurrency | _CntrlPurContrCmmdtyTermTP | PricingConditionSourceCurrency | Curr:Conv. from | |
| PricingConditionTargetCurrency | _CntrlPurContrCmmdtyTermTP | PricingConditionTargetCurrency | Curr.: Conv. to | |
| PrcgCndnTermQuotationDate | ||||
| PrcgCndnTermQuotationTime | ||||
| _CentralPurchaseContractTP | _CentralPurchaseContractTP | |||
| _CntrlPurContrCmmdtyTermTP | _CntrlPurContrCmmdtyTermTP | |||
| _PrcgCndnTrmQtanRateQtyUnit | _PrcgCndnTrmQtanRateQtyUnit | |||
| _QuotationCurrency | _QuotationCurrency |
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 C_CntrlPurContrHierCmmdtyQtnTP.
-- 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 C_CntrlPurContrHierCmmdtyQtnTP AS
SELECT
CentralPurchaseContract,
CentralPurchaseContractItem,
ConditionRecord,
ConditionValidityEndDate,
ConditionSequentialNumber,
PricingConditionTerm,
PrcgCndnTermQuotationDateTime,
PrcgConditionTermQuotationRate,
PrcgCndnTrmQtanRateCurrency,
PrcgCndnTrmQtanRateQuantity,
PrcgCndnTrmQtanRateQtyUnit,
MaturityKeyDate,
PrcgCndnTrmQtanSubstnDateTime,
PricingConditionExchangeRate,
PrcgCndnTrmQtanIsNonTradingDay,
PrcgCndnTermQuotationIsMissing,
PrcgCndnTrmQtanIsSubstituted,
PrcgCndnTrmQuotationIsIgnored,
ConditionType,
cast( 0 as cmm_quotation_status preserving type) AS PrcgCndnTermQuotationStatus,
_CntrlPurContrCmmdtyTermTP.PricingConditionSourceCurrency AS PricingConditionSourceCurrency,
_CntrlPurContrCmmdtyTermTP.PricingConditionTargetCurrency AS PricingConditionTargetCurrency,
cast( '' as tba_pricedate) AS PrcgCndnTermQuotationDate,
cast('' as tba_pricetime) AS PrcgCndnTermQuotationTime
FROM I_CntrlPurContrCmmdtyTrmQtnTP
LEFT OUTER JOIN C_CntrlPurContrHierHdrTP AS _CentralPurchaseContractTP ON CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract -- association [1..1]
LEFT OUTER JOIN C_CntrlPurConHierCmmdtyTermTP AS _CntrlPurContrCmmdtyTermTP ON ConditionRecord = _CntrlPurContrCmmdtyTermTP.ConditionRecord AND ConditionSequentialNumber = _CntrlPurContrCmmdtyTermTP.ConditionSequentialNumber AND CentralPurchaseContract = _CntrlPurContrCmmdtyTermTP.CentralPurchaseContract AND CentralPurchaseContractItem = _CntrlPurContrCmmdtyTermTP.CentralPurchaseContractItem AND ConditionValidityEndDate = _CntrlPurContrCmmdtyTermTP.ConditionValidityEndDate AND PricingConditionTerm = _CntrlPurContrCmmdtyTermTP.PricingConditionTerm -- association [1..1]
;
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