C_SupplierQuotationCompare

DDL: C_SUPPLIERQUOTATIONCOMPARE SQL: CSUPLRQTNCOMP Type: view CONSUMPTION

Supplier Quotation for Comparison

C_SupplierQuotationCompare is a Consumption CDS View that provides data about "Supplier Quotation for Comparison" in SAP S/4HANA. It reads from 1 data source (I_SupplierQuotationCompareTP) and exposes 22 fields with key fields RequestForQuotation, SupplierQuotation. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupplierQuotationCompareTP _SupplierQuotation from

Associations (5)

CardinalityTargetAliasCondition
[0..*] C_SupplierQuotationItemCompare _SupplierQuotationItem $projection.SupplierQuotation = _SupplierQuotationItem.SupplierQuotation and $projection.RequestForQuotation = _SupplierQuotationItem.RequestForQuotation
[1..1] C_RequestForQuotationCompare _RFQCompare $projection.RequestForQuotation = _RFQCompare.RequestForQuotation
[0..1] I_SuplrContactCard _SupplierContactCard _SupplierQuotation.Supplier = _SupplierContactCard.ContactCardID
[0..*] I_QtnLifecycleStatusText _QtnLifecycleStatusText _SupplierQuotation.QtnLifecycleStatus = _QtnLifecycleStatusText.QtnLifecycleStatus
[0..1] P_SuplrQtnCalcFields _SuplrQtnCalcFields _SupplierQuotation.SupplierQuotation = _SuplrQtnCalcFields.SupplierQuotation

Annotations (15)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey SupplierQuotation view
ObjectModel.semanticKey SupplierQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
EndUserText.label Supplier Quotation for Comparison view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName CSUPLRQTNCOMP view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation I_SupplierQuotationCompareTP RequestForQuotation RFQ
KEY SupplierQuotation I_SupplierQuotationCompareTP SupplierQuotation RFQ
Supplier I_SupplierQuotationCompareTP Supplier Supplier
SupplierName _SupplierContactCard FullName Name
AddressID _SupplierContactCard AddressID Ship-to address
FormattedAddress
CreationDate I_SupplierQuotationCompareTP CreationDate Time Stamp
DocumentCurrency I_SupplierQuotationCompareTP DocumentCurrency Document Currency
QuotationSubmissionDate I_SupplierQuotationCompareTP QuotationSubmissionDate Quotation Date
TotalNetAmount
QtnLifecycleStatus I_SupplierQuotationCompareTP QtnLifecycleStatus Status
NumberOfBestPricedItems
NumberOfFullyQuotedItems
NumberOfReqForQuotationItems
NoteTypeListText
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingDocumentType PurchasingDocumentType RFQ Type
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_SupplierQuotationItem _SupplierQuotationItem
_RFQCompare _RFQCompare
_QtnLifecycleStatusText _QtnLifecycleStatusText

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_SupplierQuotationCompare.
-- 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.
-- SQL view name: CSUPLRQTNCOMP

CREATE VIEW C_SupplierQuotationCompare AS
SELECT
  _SupplierQuotation.RequestForQuotation AS RequestForQuotation,
  _SupplierQuotation.SupplierQuotation AS SupplierQuotation,
  _SupplierQuotation.Supplier AS Supplier,
  _SupplierContactCard.FullName AS SupplierName,
  _SupplierContactCard.AddressID AS AddressID,
  cast('' as contactcardformattedaddress) AS FormattedAddress,
  _SupplierQuotation.CreationDate AS CreationDate,
  _SupplierQuotation.DocumentCurrency AS DocumentCurrency,
  _SupplierQuotation.QuotationSubmissionDate AS QuotationSubmissionDate,
  cast( 0 as vdm_total_net_amount ) AS TotalNetAmount,
  _SupplierQuotation.QtnLifecycleStatus AS QtnLifecycleStatus,
  cast( 0 as vdm_qtn_nrof_best_priced_itms ) AS NumberOfBestPricedItems,
  cast( 0 as vdm_qtn_fully_quoted_ratio ) AS NumberOfFullyQuotedItems,
  cast( 0 as vdm_nr_of_rfq_items ) AS NumberOfReqForQuotationItems,
  cast( '' as abap.sstring( 450 ) ) AS NoteTypeListText,
  PurchasingOrganization,
  PurchasingGroup,
  PurchasingDocumentType,
  IsEndOfPurposeBlocked
FROM I_SupplierQuotationCompareTP AS _SupplierQuotation
LEFT OUTER JOIN C_SupplierQuotationItemCompare AS _SupplierQuotationItem ON SupplierQuotation = _SupplierQuotationItem.SupplierQuotation AND RequestForQuotation = _SupplierQuotationItem.RequestForQuotation  -- association [0..*]
LEFT OUTER JOIN C_RequestForQuotationCompare AS _RFQCompare ON RequestForQuotation = _RFQCompare.RequestForQuotation  -- association [1..1]
LEFT OUTER JOIN I_SuplrContactCard AS _SupplierContactCard ON _SupplierQuotation.Supplier = _SupplierContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_QtnLifecycleStatusText AS _QtnLifecycleStatusText ON _SupplierQuotation.QtnLifecycleStatus = _QtnLifecycleStatusText.QtnLifecycleStatus  -- association [0..*]
LEFT OUTER JOIN P_SuplrQtnCalcFields AS _SuplrQtnCalcFields ON _SupplierQuotation.SupplierQuotation = _SuplrQtnCalcFields.SupplierQuotation  -- association [0..1]
;