C_RequestForQuotationEnhWD

DDL: C_REQUESTFORQUOTATIONENHWD SQL: CMMRFQENH Type: view CONSUMPTION Package: ODATA_MM_PUR_RFQ_MAINTAIN

Request For Quotation

C_RequestForQuotationEnhWD is a Consumption CDS View that provides data about "Request For Quotation" in SAP S/4HANA. It reads from 1 data source (I_RequestForQuotationEnhWD) and exposes 79 fields with key field RequestForQuotation. It has 19 associations to related views. Part of development package ODATA_MM_PUR_RFQ_MAINTAIN.

Data Sources (1)

SourceAliasJoin Type
I_RequestForQuotationEnhWD I_RequestForQuotationEnhWD from

Associations (19)

CardinalityTargetAliasCondition
[1..*] C_RFQItemEnhWD _RFQItemEnhWD $projection.RequestForQuotation = _RFQItemEnhWD.RequestForQuotation
[0..*] C_RFQBidderEnhWD _RFQBidderEnhWD $projection.RequestForQuotation = _RFQBidderEnhWD.RequestForQuotation
[0..*] C_SupplierQuotationFacet _SupplierQuotation $projection.RequestForQuotation = _SupplierQuotation.RequestForQuotation and $projection.RequestForQuotation <> ''
[0..*] C_LegalTransactionIntegFacet _LegalTransaction _LegalTransaction.LglCntntMLinkdObj = $projection.RequestForQuotation and _LegalTransaction.LglCntntMIntegrationLink = 'RFQ'
[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..*] 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..1] C_RFQTypeValueHelp _RFQTypeValueHelp _RFQTypeValueHelp.RFQType = $projection.PurchasingDocumentType
[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..1] P_RFQCustomizing _RFQCustomizing $projection.PurchasingDocumentType = _RFQCustomizing.PurchasingDocumentType
[0..*] I_PurchasingDocumentTypeText _PurchasingDocumentTypeText $projection.PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType
[0..*] C_RFQChangeDocumentItem _RFQChangeDocumentItem $projection.RequestForQuotation = _RFQChangeDocumentItem.ChangeDocObject
[1..*] C_RFQItemHierarchyTP _RFQItemHierarchyTP $projection.RequestForQuotation = _RFQItemHierarchyTP.RequestForQuotation

Annotations (22)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.semanticKey RequestForQuotation 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.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Request For Quotation view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName CMMRFQENH view
UI.headerInfo.typeName Request for Quotation view
UI.headerInfo.typeNamePlural Requests for Quotations view
UI.headerInfo.typeImageUrl /sap/bc/ui5_ui5/sap/mm_rfq_mains1/images/RequestForQuotation.png view
UI.headerInfo.title.value RequestForQuotationName view
UI.headerInfo.description.value RequestForQuotation view
Search.searchable true view

Fields (79)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation I_RequestForQuotationEnhWD RequestForQuotation RFQ
CompanyCode I_RequestForQuotationEnhWD CompanyCode Receiver Company Code
PurchasingDocumentCategory I_RequestForQuotationEnhWD PurchasingDocumentCategory Doc. Category
PurchasingItemHasHierarchy I_RequestForQuotationEnhWD PurchasingItemHasHierarchy Boolean Variable (X = True, - = False, Space = Unknown)
ScenarioIsRelevantForHierarchy I_RequestForQuotationEnhWD ScenarioIsRelevantForHierarchy Scenario is relevant for Hierarchy
PurchasingDocumentType I_RequestForQuotationEnhWD PurchasingDocumentType RFQ Type
CreationDate I_RequestForQuotationEnhWD CreationDate Time Stamp
LastChangeDateTime I_RequestForQuotationEnhWD LastChangeDateTime Timestamp
CreatedByUser I_RequestForQuotationEnhWD CreatedByUser User Name
FullName
Language I_RequestForQuotationEnhWD Language Report Text Language
DocumentCurrency I_RequestForQuotationEnhWD DocumentCurrency Document Currency
PurchasingOrganization I_RequestForQuotationEnhWD PurchasingOrganization Purchasing Organization
PurchasingGroup I_RequestForQuotationEnhWD PurchasingGroup Purchasing Group
IncotermsVersion I_RequestForQuotationEnhWD IncotermsVersion Inco. Version
IncotermsClassification I_RequestForQuotationEnhWD IncotermsClassification Incoterms
IncotermsTransferLocation I_RequestForQuotationEnhWD IncotermsTransferLocation Incoterms 2
IncotermsLocation1 I_RequestForQuotationEnhWD IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_RequestForQuotationEnhWD IncotermsLocation2 Inco. Location2
PaymentTerms I_RequestForQuotationEnhWD PaymentTerms Pyt Terms
CashDiscount1Days I_RequestForQuotationEnhWD CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_RequestForQuotationEnhWD CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_RequestForQuotationEnhWD CashDiscount1Percent Disc. Percent 1
CashDiscount2Percent I_RequestForQuotationEnhWD CashDiscount2Percent Disc. Percent 2
NetPaymentDays I_RequestForQuotationEnhWD NetPaymentDays Net Pmt Terms Period
RFQPublishingDate I_RequestForQuotationEnhWD RFQPublishingDate Publishing Date
QuotationLatestSubmissionDate I_RequestForQuotationEnhWD QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate I_RequestForQuotationEnhWD BindingPeriodValidityEndDate Binding Period
TargetAmount I_RequestForQuotationEnhWD TargetAmount Target Value
CorrespncInternalReference I_RequestForQuotationEnhWD CorrespncInternalReference Our Reference
RFQLifecycleStatus I_RequestForQuotationEnhWD RFQLifecycleStatus Status
RequestForQuotationName I_RequestForQuotationEnhWD RequestForQuotationName RFQ Description
QuotationEarliestSubmsnDate I_RequestForQuotationEnhWD QuotationEarliestSubmsnDate Start Date
LatestRegistrationDate I_RequestForQuotationEnhWD LatestRegistrationDate Apply By
FollowOnDocumentCategory I_RequestForQuotationEnhWD FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType I_RequestForQuotationEnhWD FollowOnDocumentType Follow-On Document Type
PurContrValidityStartDate I_RequestForQuotationEnhWD PurContrValidityStartDate Validity Start
PurContrValidityEndDate I_RequestForQuotationEnhWD PurContrValidityEndDate Validity End
ApproverName
ApproverUser
IsEndOfPurposeBlocked I_RequestForQuotationEnhWD IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
IsLglTransIntegEnabled
IsChangeDocumentsEnabled
NoteTypeListText
RFQAwardingType _RFQCustomizing RFQAwardingType
RFQExternalProcessingType _RFQCustomizing RFQExternalProcessingType
SrvcProcmtItmHierIsEnbld
_RFQItemEnhWD _RFQItemEnhWD
_RFQBidderEnhWD _RFQBidderEnhWD
_CompanyCode I_RequestForQuotationEnhWD _CompanyCode
_DocumentCurrency I_RequestForQuotationEnhWD _DocumentCurrency
_IncotermsClassification I_RequestForQuotationEnhWD _IncotermsClassification
_IncotermsVersion I_RequestForQuotationEnhWD _IncotermsVersion
_IncotermsClassificationText _IncotermsClassificationText
_IncotermsVersionText _IncotermsVersionText
_PaymentTerms I_RequestForQuotationEnhWD _PaymentTerms
_PaymentTermsText _PaymentTermsText
_Language I_RequestForQuotationEnhWD _Language
_PurchasingDocumentTypeText _PurchasingDocumentTypeText
_PurchasingDocumentType I_RequestForQuotationEnhWD _PurchasingDocumentType
_PurchasingGroup I_RequestForQuotationEnhWD _PurchasingGroup
_PurchasingOrganization I_RequestForQuotationEnhWD _PurchasingOrganization
_PurchasingDocumentCategory I_RequestForQuotationEnhWD _PurchasingDocumentCategory
_FollowOnDocumentType I_RequestForQuotationEnhWD _FollowOnDocumentType
_FollowOnDocumentCategory I_RequestForQuotationEnhWD _FollowOnDocumentCategory
_PurchasingGroupValueHelp _PurchasingGroupValueHelp
_PurchasingOrgValueHelp _PurchasingOrgValueHelp
_CompanyCodeValueHelp _CompanyCodeValueHelp
_RFQTypeValueHelp _RFQTypeValueHelp
_PaymentTermsValueHelp _PaymentTermsValueHelp
_IncotermsValueHelp _IncotermsValueHelp
_RFQLifecycleStatus I_RequestForQuotationEnhWD _RFQLifecycleStatus
_ContactCard _ContactCard
_SupplierQuotation _SupplierQuotation
_LegalTransaction _LegalTransaction
_FollowOnDocVH _FollowOnDocVH
_RFQType _RFQType
_RFQChangeDocumentItem _RFQChangeDocumentItem
_RFQItemHierarchyTP _RFQItemHierarchyTP

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_RequestForQuotationEnhWD.
-- 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: CMMRFQENH

CREATE VIEW C_RequestForQuotationEnhWD AS
SELECT
  I_RequestForQuotationEnhWD.RequestForQuotation AS RequestForQuotation,
  I_RequestForQuotationEnhWD.CompanyCode AS CompanyCode,
  I_RequestForQuotationEnhWD.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_RequestForQuotationEnhWD.PurchasingItemHasHierarchy AS PurchasingItemHasHierarchy,
  I_RequestForQuotationEnhWD.ScenarioIsRelevantForHierarchy AS ScenarioIsRelevantForHierarchy,
  I_RequestForQuotationEnhWD.PurchasingDocumentType AS PurchasingDocumentType,
  I_RequestForQuotationEnhWD.CreationDate AS CreationDate,
  I_RequestForQuotationEnhWD.LastChangeDateTime AS LastChangeDateTime,
  I_RequestForQuotationEnhWD.CreatedByUser AS CreatedByUser,
  cast( _CreatedByUser.UserDescription as vdm_created_by preserving type ) AS FullName,
  I_RequestForQuotationEnhWD.Language AS Language,
  I_RequestForQuotationEnhWD.DocumentCurrency AS DocumentCurrency,
  I_RequestForQuotationEnhWD.PurchasingOrganization AS PurchasingOrganization,
  I_RequestForQuotationEnhWD.PurchasingGroup AS PurchasingGroup,
  I_RequestForQuotationEnhWD.IncotermsVersion AS IncotermsVersion,
  I_RequestForQuotationEnhWD.IncotermsClassification AS IncotermsClassification,
  I_RequestForQuotationEnhWD.IncotermsTransferLocation AS IncotermsTransferLocation,
  I_RequestForQuotationEnhWD.IncotermsLocation1 AS IncotermsLocation1,
  I_RequestForQuotationEnhWD.IncotermsLocation2 AS IncotermsLocation2,
  I_RequestForQuotationEnhWD.PaymentTerms AS PaymentTerms,
  I_RequestForQuotationEnhWD.CashDiscount1Days AS CashDiscount1Days,
  I_RequestForQuotationEnhWD.CashDiscount2Days AS CashDiscount2Days,
  I_RequestForQuotationEnhWD.CashDiscount1Percent AS CashDiscount1Percent,
  I_RequestForQuotationEnhWD.CashDiscount2Percent AS CashDiscount2Percent,
  I_RequestForQuotationEnhWD.NetPaymentDays AS NetPaymentDays,
  I_RequestForQuotationEnhWD.RFQPublishingDate AS RFQPublishingDate,
  I_RequestForQuotationEnhWD.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  I_RequestForQuotationEnhWD.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  I_RequestForQuotationEnhWD.TargetAmount AS TargetAmount,
  I_RequestForQuotationEnhWD.CorrespncInternalReference AS CorrespncInternalReference,
  I_RequestForQuotationEnhWD.RFQLifecycleStatus AS RFQLifecycleStatus,
  I_RequestForQuotationEnhWD.RequestForQuotationName AS RequestForQuotationName,
  I_RequestForQuotationEnhWD.QuotationEarliestSubmsnDate AS QuotationEarliestSubmsnDate,
  I_RequestForQuotationEnhWD.LatestRegistrationDate AS LatestRegistrationDate,
  I_RequestForQuotationEnhWD.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  I_RequestForQuotationEnhWD.FollowOnDocumentType AS FollowOnDocumentType,
  I_RequestForQuotationEnhWD.PurContrValidityStartDate AS PurContrValidityStartDate,
  I_RequestForQuotationEnhWD.PurContrValidityEndDate AS PurContrValidityEndDate,
  cast( '' as mm_approver_name ) AS ApproverName,
  cast( '' as mm_approver_id ) AS ApproverUser,
  I_RequestForQuotationEnhWD.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  cast ('' as boolean) AS IsLglTransIntegEnabled,
  cast ('' as boolean) AS IsChangeDocumentsEnabled,
  cast( '' as abap.sstring( 450 ) ) AS NoteTypeListText,
  _RFQCustomizing.RFQAwardingType AS RFQAwardingType,
  _RFQCustomizing.RFQExternalProcessingType AS RFQExternalProcessingType,
  cast ('' as boolean) AS SrvcProcmtItmHierIsEnbld,
  I_RequestForQuotationEnhWD._CompanyCode AS _CompanyCode,
  I_RequestForQuotationEnhWD._DocumentCurrency AS _DocumentCurrency,
  I_RequestForQuotationEnhWD._IncotermsClassification AS _IncotermsClassification,
  I_RequestForQuotationEnhWD._IncotermsVersion AS _IncotermsVersion,
  I_RequestForQuotationEnhWD._PaymentTerms AS _PaymentTerms,
  I_RequestForQuotationEnhWD._Language AS _Language,
  I_RequestForQuotationEnhWD._PurchasingDocumentType AS _PurchasingDocumentType,
  I_RequestForQuotationEnhWD._PurchasingGroup AS _PurchasingGroup,
  I_RequestForQuotationEnhWD._PurchasingOrganization AS _PurchasingOrganization,
  I_RequestForQuotationEnhWD._PurchasingDocumentCategory AS _PurchasingDocumentCategory,
  I_RequestForQuotationEnhWD._FollowOnDocumentType AS _FollowOnDocumentType,
  I_RequestForQuotationEnhWD._FollowOnDocumentCategory AS _FollowOnDocumentCategory,
  I_RequestForQuotationEnhWD._RFQLifecycleStatus AS _RFQLifecycleStatus
FROM I_RequestForQuotationEnhWD
LEFT OUTER JOIN C_RFQItemEnhWD AS _RFQItemEnhWD ON RequestForQuotation = _RFQItemEnhWD.RequestForQuotation  -- association [1..*]
LEFT OUTER JOIN C_RFQBidderEnhWD AS _RFQBidderEnhWD ON RequestForQuotation = _RFQBidderEnhWD.RequestForQuotation  -- association [0..*]
LEFT OUTER JOIN C_SupplierQuotationFacet AS _SupplierQuotation ON RequestForQuotation = _SupplierQuotation.RequestForQuotation AND RequestForQuotation <> ''  -- association [0..*]
LEFT OUTER JOIN C_LegalTransactionIntegFacet AS _LegalTransaction ON _LegalTransaction.LglCntntMLinkdObj = RequestForQuotation AND _LegalTransaction.LglCntntMIntegrationLink = 'RFQ'  -- association [0..*]
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_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_RFQTypeValueHelp AS _RFQTypeValueHelp ON _RFQTypeValueHelp.RFQType = PurchasingDocumentType  -- 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 P_RFQCustomizing AS _RFQCustomizing ON PurchasingDocumentType = _RFQCustomizing.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _PurchasingDocumentTypeText ON PurchasingDocumentCategory = _PurchasingDocumentTypeText.PurchasingDocumentCategory AND PurchasingDocumentType = _PurchasingDocumentTypeText.PurchasingDocumentType  -- association [0..*]
LEFT OUTER JOIN C_RFQChangeDocumentItem AS _RFQChangeDocumentItem ON RequestForQuotation = _RFQChangeDocumentItem.ChangeDocObject  -- association [0..*]
LEFT OUTER JOIN C_RFQItemHierarchyTP AS _RFQItemHierarchyTP ON RequestForQuotation = _RFQItemHierarchyTP.RequestForQuotation  -- association [1..*]
;