C_SuplrQuotationEnhWD

DDL: C_SUPLRQUOTATIONENHWD SQL: CMMQTNENHWD Type: view CONSUMPTION

Supplier Quotation Enhanced

C_SuplrQuotationEnhWD is a Consumption CDS View that provides data about "Supplier Quotation Enhanced" in SAP S/4HANA. It reads from 1 data source (I_SuplrQuotationEnhWD) and exposes 85 fields with key field SupplierQuotation. It has 17 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SuplrQuotationEnhWD I_SuplrQuotationEnhWD from

Associations (17)

CardinalityTargetAliasCondition
[1..*] C_SuplrQuotationItemEnhWD _SuplrQuotationItemEnhWD $projection.SupplierQuotation = _SuplrQuotationItemEnhWD.SupplierQuotation
[0..1] C_RequestForQuotationFacet _RequestForQuotation _RequestForQuotation.RequestForQuotation = $projection.RequestForQuotation
[0..1] C_PurchasingGroupValueHelp _PurchasingGroupValueHelp _PurchasingGroupValueHelp.PurchasingGroup = $projection.PurchasingGroup
[0..1] C_PurchasingOrgValueHelp _PurchasingOrgValueHelp _PurchasingOrgValueHelp.PurchasingOrganization = $projection.PurchasingOrganization
[0..1] C_MM_CompanyCodeValueHelp _CompanyCodeValueHelp _CompanyCodeValueHelp.CompanyCode = $projection.CompanyCode
[0..1] C_SuplrQtnTypeValueHelp _SuplrQtnTypeValueHelp _SuplrQtnTypeValueHelp.SuplrQtnType = $projection.PurchasingDocumentType
[0..1] C_RFQValueHelp _RFQValueHelp _RFQValueHelp.RequestForQuotation = $projection.RequestForQuotation
[0..1] C_BidderValueHelp _BidderValueHelp _BidderValueHelp.Supplier = $projection.Supplier and _BidderValueHelp.PurchasingOrganization = $projection.PurchasingOrganization
[0..1] C_QTNFollowOnDocumentVH _FollowOnDocVH _FollowOnDocVH.SupplierQuotationType = $projection.PurchasingDocumentType and _FollowOnDocVH.FollowOnDocumentType = $projection.FollowOnDocumentType and _FollowOnDocVH.FollowOnDocumentCategory = $projection.FollowOnDocumentCategory
[0..1] I_UserContactCard _ContactCard _ContactCard.ContactCardType = 'User' and _ContactCard.ContactCardID = $projection.CreatedByUser and _ContactCard.ContactCardRole = 'Creator'
[0..*] C_MM_PaymentTermValueHelp _PaymentTermsValueHelp _PaymentTermsValueHelp.PaymentTerms = $projection.PaymentTerms
[0..*] I_PaymentTermsText _PaymentTermsText $projection.PaymentTerms = _PaymentTermsText.PaymentTerms
[0..1] C_MM_IncotermValueHelp _IncotermsValueHelp _IncotermsValueHelp.IncotermsClassification = $projection.IncotermsClassification and _IncotermsValueHelp.IncotermsVersion = $projection.IncotermsVersion
[0..*] I_IncotermsClassificationText _IncotermsClassificationText $projection.IncotermsClassification = _IncotermsClassificationText.IncotermsClassification
[0..*] I_IncotermsVersionText _IncotermsVersionText $projection.IncotermsVersion = _IncotermsVersionText.IncotermsVersion
[0..*] C_SuplrQuotationChgDocItem _SuplrQuotationChgDocItem $projection.SupplierQuotation = _SuplrQuotationChgDocItem.ChangeDocObject
[1..*] C_SuplrQtnItemHierarchyTP _SuplrQtnItemHierarchyTP $projection.SupplierQuotation = _SuplrQtnItemHierarchyTP.SupplierQuotation

Annotations (23)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.compositionRoot true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.semanticKey SupplierQuotation view
ObjectModel.representativeKey SupplierQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Supplier Quotation Enhanced view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName CMMQTNENHWD view
Search.searchable true view
UI.headerInfo.typeName Supplier Quotation view
UI.headerInfo.typeNamePlural Supplier Quotations view
UI.headerInfo.typeImageUrl /sap/bc/ui5_ui5/sap/mm_qtn_mains1/images/SupplierQuotation.png view
UI.headerInfo.description.value SupplierQuotation view
UI.headerInfo.title.value _CatTextInCurrentLang.PurchasingDocumentCategoryName view

Fields (85)

KeyFieldSource TableSource FieldDescription
KEY SupplierQuotation I_SuplrQuotationEnhWD SupplierQuotation RFQ
PurchasingDocumentCategory I_SuplrQuotationEnhWD PurchasingDocumentCategory Doc. Category
PurchasingDocumentType I_SuplrQuotationEnhWD PurchasingDocumentType RFQ Type
RequestForQuotation I_SuplrQuotationEnhWD RequestForQuotation RFQ
RFQType _RequestForQuotation RFQType
RFQCategory _RequestForQuotation RFQCategory
RFQAwardingType _RequestForQuotation RFQAwardingType
RequestForQuotationName _RequestForQuotation RequestForQuotationName RFQ Description
CompanyCode I_SuplrQuotationEnhWD CompanyCode Receiver Company Code
PurchasingOrganization I_SuplrQuotationEnhWD PurchasingOrganization Purchasing Organization
PurchasingGroup I_SuplrQuotationEnhWD PurchasingGroup Purchasing Group
Supplier I_SuplrQuotationEnhWD Supplier Supplier
CreatedByUser I_SuplrQuotationEnhWD CreatedByUser User Name
FullName _CreatedByUser UserDescription Full Name
QuotationSubmissionDate I_SuplrQuotationEnhWD QuotationSubmissionDate Quotation Submission Date
TotalNetAmount_H
TotalNetAmount
CreationDate I_SuplrQuotationEnhWD CreationDate Time Stamp
LastChangeDateTime I_SuplrQuotationEnhWD LastChangeDateTime Timestamp
Language I_SuplrQuotationEnhWD Language Report Text Language
DocumentCurrency I_SuplrQuotationEnhWD DocumentCurrency Document Currency
IncotermsVersion I_SuplrQuotationEnhWD IncotermsVersion Inco. Version
IncotermsClassification I_SuplrQuotationEnhWD IncotermsClassification Incoterms
IncotermsTransferLocation I_SuplrQuotationEnhWD IncotermsTransferLocation Incoterms 2
IncotermsLocation1 I_SuplrQuotationEnhWD IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_SuplrQuotationEnhWD IncotermsLocation2 Inco. Location2
PaymentTerms I_SuplrQuotationEnhWD PaymentTerms Pyt Terms
CashDiscount1Days I_SuplrQuotationEnhWD CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_SuplrQuotationEnhWD CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_SuplrQuotationEnhWD CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent I_SuplrQuotationEnhWD CashDiscount2Percent Disc. Percent 2
NetPaymentDays I_SuplrQuotationEnhWD NetPaymentDays Net Pmt Terms Period
PricingProcedure I_SuplrQuotationEnhWD PricingProcedure Procedure
PurchasingDocumentCondition I_SuplrQuotationEnhWD PurchasingDocumentCondition Doc. Condition
QuotationLatestSubmissionDate I_SuplrQuotationEnhWD QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate I_SuplrQuotationEnhWD BindingPeriodValidityEndDate Binding Period
PurchasingDocumentOrderDate I_SuplrQuotationEnhWD PurchasingDocumentOrderDate PO Date
SupplierQuotationExternalID I_SuplrQuotationEnhWD SupplierQuotationExternalID Quotation
QtnLifecycleStatus I_SuplrQuotationEnhWD QtnLifecycleStatus Status
FollowOnDocumentCategory I_SuplrQuotationEnhWD FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType I_SuplrQuotationEnhWD FollowOnDocumentType Follow-On Document Type
PurContrValidityStartDate I_SuplrQuotationEnhWD PurContrValidityStartDate Validity Start
PurContrValidityEndDate I_SuplrQuotationEnhWD PurContrValidityEndDate Validity End
PurchaseContractTargetAmount I_SuplrQuotationEnhWD PurchaseContractTargetAmount Target Value
ApproverName
ApproverUser
IsEndOfPurposeBlocked I_SuplrQuotationEnhWD IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
NoteTypeListText
IsChangeDocumentsEnabled
SrvcProcmtItmHierIsEnbld
_SuplrQuotationItemEnhWD _SuplrQuotationItemEnhWD
_CatTextInCurrentLang I_SuplrQuotationEnhWD _CatTextInCurrentLang
_IncotermsClassification I_SuplrQuotationEnhWD _IncotermsClassification
_IncotermsVersion I_SuplrQuotationEnhWD _IncotermsVersion
_IncotermsClassificationText _IncotermsClassificationText
_IncotermsVersionText _IncotermsVersionText
_PaymentTermsText _PaymentTermsText
_PurchasingGroup I_SuplrQuotationEnhWD _PurchasingGroup
_PurchasingOrganization I_SuplrQuotationEnhWD _PurchasingOrganization
_PurchasingDocumentCategory I_SuplrQuotationEnhWD _PurchasingDocumentCategory
_PurchasingDocumentType I_SuplrQuotationEnhWD _PurchasingDocumentType
_FollowOnDocumentCategory I_SuplrQuotationEnhWD _FollowOnDocumentCategory
_FollowOnDocumentType I_SuplrQuotationEnhWD _FollowOnDocumentType
_DocumentCurrency I_SuplrQuotationEnhWD _DocumentCurrency
_QtnLifecycleStatus I_SuplrQuotationEnhWD _QtnLifecycleStatus
_CreatedByUser I_SuplrQuotationEnhWD _CreatedByUser
PurchasingItemHasHierarchy PurchasingItemHasHierarchy Boolean Variable (X = True, - = False, Space = Unknown)
ScenarioIsRelevantForHierarchy I_SuplrQuotationEnhWD ScenarioIsRelevantForHierarchy Scenario is relevant for Hierarchy
_PurchaseOrder _PurchaseOrder
_PurchaseContract _PurchaseContract
_RequestForQuotation _RequestForQuotation
_PurchasingGroupValueHelp _PurchasingGroupValueHelp
_PurchasingOrgValueHelp _PurchasingOrgValueHelp
_CompanyCodeValueHelp _CompanyCodeValueHelp
_SuplrQtnTypeValueHelp _SuplrQtnTypeValueHelp
_RFQValueHelp _RFQValueHelp
_FollowOnDocVH _FollowOnDocVH
_SupplierQuotationType _SupplierQuotationType
_PaymentTermsValueHelp _PaymentTermsValueHelp
_IncotermsValueHelp _IncotermsValueHelp
_BidderValueHelp _BidderValueHelp
_ContactCard _ContactCard
_Language _Language
_SuplrQuotationChgDocItem _SuplrQuotationChgDocItem
_SuplrQtnItemHierarchyTP _SuplrQtnItemHierarchyTP

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_SuplrQuotationEnhWD.
-- 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: CMMQTNENHWD

CREATE VIEW C_SuplrQuotationEnhWD AS
SELECT
  I_SuplrQuotationEnhWD.SupplierQuotation AS SupplierQuotation,
  I_SuplrQuotationEnhWD.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_SuplrQuotationEnhWD.PurchasingDocumentType AS PurchasingDocumentType,
  I_SuplrQuotationEnhWD.RequestForQuotation AS RequestForQuotation,
  _RequestForQuotation.RFQType AS RFQType,
  _RequestForQuotation.RFQCategory AS RFQCategory,
  _RequestForQuotation.RFQAwardingType AS RFQAwardingType,
  _RequestForQuotation.RequestForQuotationName AS RequestForQuotationName,
  I_SuplrQuotationEnhWD.CompanyCode AS CompanyCode,
  I_SuplrQuotationEnhWD.PurchasingOrganization AS PurchasingOrganization,
  I_SuplrQuotationEnhWD.PurchasingGroup AS PurchasingGroup,
  I_SuplrQuotationEnhWD.Supplier AS Supplier,
  I_SuplrQuotationEnhWD.CreatedByUser AS CreatedByUser,
  _CreatedByUser.UserDescription AS FullName,
  I_SuplrQuotationEnhWD.QuotationSubmissionDate AS QuotationSubmissionDate,
  cast( I_SuplrQuotationEnhWD.TotalNetAmount as vdm_total_net_amount preserving type ) AS TotalNetAmount_H,
  cast( 0 as vdm_total_net_amount ) AS TotalNetAmount,
  I_SuplrQuotationEnhWD.CreationDate AS CreationDate,
  I_SuplrQuotationEnhWD.LastChangeDateTime AS LastChangeDateTime,
  I_SuplrQuotationEnhWD.Language AS Language,
  I_SuplrQuotationEnhWD.DocumentCurrency AS DocumentCurrency,
  I_SuplrQuotationEnhWD.IncotermsVersion AS IncotermsVersion,
  I_SuplrQuotationEnhWD.IncotermsClassification AS IncotermsClassification,
  I_SuplrQuotationEnhWD.IncotermsTransferLocation AS IncotermsTransferLocation,
  I_SuplrQuotationEnhWD.IncotermsLocation1 AS IncotermsLocation1,
  I_SuplrQuotationEnhWD.IncotermsLocation2 AS IncotermsLocation2,
  I_SuplrQuotationEnhWD.PaymentTerms AS PaymentTerms,
  I_SuplrQuotationEnhWD.CashDiscount1Days AS CashDiscount1Days,
  I_SuplrQuotationEnhWD.CashDiscount2Days AS CashDiscount2Days,
  I_SuplrQuotationEnhWD.CashDiscount1Percent AS CashDiscount1Percent,
  I_SuplrQuotationEnhWD.CashDiscount2Percent AS CashDiscount2Percent,
  I_SuplrQuotationEnhWD.NetPaymentDays AS NetPaymentDays,
  I_SuplrQuotationEnhWD.PricingProcedure AS PricingProcedure,
  I_SuplrQuotationEnhWD.PurchasingDocumentCondition AS PurchasingDocumentCondition,
  I_SuplrQuotationEnhWD.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  I_SuplrQuotationEnhWD.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  I_SuplrQuotationEnhWD.PurchasingDocumentOrderDate AS PurchasingDocumentOrderDate,
  I_SuplrQuotationEnhWD.SupplierQuotationExternalID AS SupplierQuotationExternalID,
  I_SuplrQuotationEnhWD.QtnLifecycleStatus AS QtnLifecycleStatus,
  I_SuplrQuotationEnhWD.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  I_SuplrQuotationEnhWD.FollowOnDocumentType AS FollowOnDocumentType,
  I_SuplrQuotationEnhWD.PurContrValidityStartDate AS PurContrValidityStartDate,
  I_SuplrQuotationEnhWD.PurContrValidityEndDate AS PurContrValidityEndDate,
  I_SuplrQuotationEnhWD.PurchaseContractTargetAmount AS PurchaseContractTargetAmount,
  cast( '' as mm_approver_name ) AS ApproverName,
  cast( '' as mm_approver_id ) AS ApproverUser,
  I_SuplrQuotationEnhWD.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  cast( '' as abap.sstring( 450 ) ) AS NoteTypeListText,
  cast ('' as boolean) AS IsChangeDocumentsEnabled,
  cast ('' as boolean) AS SrvcProcmtItmHierIsEnbld,
  I_SuplrQuotationEnhWD._CatTextInCurrentLang AS _CatTextInCurrentLang,
  I_SuplrQuotationEnhWD._IncotermsClassification AS _IncotermsClassification,
  I_SuplrQuotationEnhWD._IncotermsVersion AS _IncotermsVersion,
  I_SuplrQuotationEnhWD._PurchasingGroup AS _PurchasingGroup,
  I_SuplrQuotationEnhWD._PurchasingOrganization AS _PurchasingOrganization,
  I_SuplrQuotationEnhWD._PurchasingDocumentCategory AS _PurchasingDocumentCategory,
  I_SuplrQuotationEnhWD._PurchasingDocumentType AS _PurchasingDocumentType,
  I_SuplrQuotationEnhWD._FollowOnDocumentCategory AS _FollowOnDocumentCategory,
  I_SuplrQuotationEnhWD._FollowOnDocumentType AS _FollowOnDocumentType,
  I_SuplrQuotationEnhWD._DocumentCurrency AS _DocumentCurrency,
  I_SuplrQuotationEnhWD._QtnLifecycleStatus AS _QtnLifecycleStatus,
  I_SuplrQuotationEnhWD._CreatedByUser AS _CreatedByUser,
  PurchasingItemHasHierarchy,
  I_SuplrQuotationEnhWD.ScenarioIsRelevantForHierarchy AS ScenarioIsRelevantForHierarchy
FROM I_SuplrQuotationEnhWD
LEFT OUTER JOIN C_SuplrQuotationItemEnhWD AS _SuplrQuotationItemEnhWD ON SupplierQuotation = _SuplrQuotationItemEnhWD.SupplierQuotation  -- association [1..*]
LEFT OUTER JOIN C_RequestForQuotationFacet AS _RequestForQuotation ON _RequestForQuotation.RequestForQuotation = RequestForQuotation  -- association [0..1]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroupValueHelp ON _PurchasingGroupValueHelp.PurchasingGroup = PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN C_PurchasingOrgValueHelp AS _PurchasingOrgValueHelp ON _PurchasingOrgValueHelp.PurchasingOrganization = PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN C_MM_CompanyCodeValueHelp AS _CompanyCodeValueHelp ON _CompanyCodeValueHelp.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN C_SuplrQtnTypeValueHelp AS _SuplrQtnTypeValueHelp ON _SuplrQtnTypeValueHelp.SuplrQtnType = PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN C_RFQValueHelp AS _RFQValueHelp ON _RFQValueHelp.RequestForQuotation = RequestForQuotation  -- association [0..1]
LEFT OUTER JOIN C_BidderValueHelp AS _BidderValueHelp ON _BidderValueHelp.Supplier = Supplier AND _BidderValueHelp.PurchasingOrganization = PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN C_QTNFollowOnDocumentVH AS _FollowOnDocVH ON _FollowOnDocVH.SupplierQuotationType = PurchasingDocumentType AND _FollowOnDocVH.FollowOnDocumentType = FollowOnDocumentType AND _FollowOnDocVH.FollowOnDocumentCategory = FollowOnDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _ContactCard ON _ContactCard.ContactCardType = 'User' AND _ContactCard.ContactCardID = CreatedByUser AND _ContactCard.ContactCardRole = 'Creator'  -- association [0..1]
LEFT OUTER JOIN C_MM_PaymentTermValueHelp AS _PaymentTermsValueHelp ON _PaymentTermsValueHelp.PaymentTerms = PaymentTerms  -- association [0..*]
LEFT OUTER JOIN I_PaymentTermsText AS _PaymentTermsText ON PaymentTerms = _PaymentTermsText.PaymentTerms  -- association [0..*]
LEFT OUTER JOIN C_MM_IncotermValueHelp AS _IncotermsValueHelp ON _IncotermsValueHelp.IncotermsClassification = IncotermsClassification AND _IncotermsValueHelp.IncotermsVersion = IncotermsVersion  -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncotermsClassificationText ON IncotermsClassification = _IncotermsClassificationText.IncotermsClassification  -- association [0..*]
LEFT OUTER JOIN I_IncotermsVersionText AS _IncotermsVersionText ON IncotermsVersion = _IncotermsVersionText.IncotermsVersion  -- association [0..*]
LEFT OUTER JOIN C_SuplrQuotationChgDocItem AS _SuplrQuotationChgDocItem ON SupplierQuotation = _SuplrQuotationChgDocItem.ChangeDocObject  -- association [0..*]
LEFT OUTER JOIN C_SuplrQtnItemHierarchyTP AS _SuplrQtnItemHierarchyTP ON SupplierQuotation = _SuplrQtnItemHierarchyTP.SupplierQuotation  -- association [1..*]
;