C_CntrlPurContrCmmdtyTrmQtnTP

DDL: C_CNTRLPURCONTRCMMDTYTRMQTNTP Type: view CONSUMPTION

CCTR Cmmdty Term Quotation - Cons View

C_CntrlPurContrCmmdtyTrmQtnTP is a Consumption CDS View that provides data about "CCTR Cmmdty Term 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)

SourceAliasJoin Type
I_CntrlPurContrCmmdtyTrmQtnTP I_CntrlPurContrCmmdtyTrmQtnTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_CentralPurchaseContractTP _CentralPurchaseContractTP $projection.CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract
[1..1] C_CntrlPurContrCmmdtyTermTP _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)

NameValueLevelField
AbapCatalog.sqlViewName CCCTRTRMQTNTP 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 CCTR Cmmdty Term 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)

KeyFieldSource TableSource FieldDescription
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_CntrlPurContrCmmdtyTrmQtnTP.
-- 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_CntrlPurContrCmmdtyTrmQtnTP 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_CentralPurchaseContractTP AS _CentralPurchaseContractTP ON CentralPurchaseContract = _CentralPurchaseContractTP.CentralPurchaseContract  -- association [1..1]
LEFT OUTER JOIN C_CntrlPurContrCmmdtyTermTP 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]
;