I_RequestForQuotation

DDL: I_REQUESTFORQUOTATION SQL: IMMRFQ Type: view BASIC

Request For Quotation

I_RequestForQuotation is a Basic CDS View that provides data about "Request For Quotation" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocument) and exposes 55 fields with key field RequestForQuotation. It has 8 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocument I_PurchasingDocument from

Associations (8)

CardinalityTargetAliasCondition
[1..*] I_RequestForQuotationItem _RequestForQuotationItem $projection.RequestForQuotation = _RequestForQuotationItem.RequestForQuotation
[1..*] I_RFQBidder _RFQBidder $projection.RequestForQuotation = _RFQBidder.RequestForQuotation
[0..1] I_PurchasingDocumentType _FollowOnDocumentType $projection.PurchasingDocumentCategory = _FollowOnDocumentType.PurchasingDocumentCategory and $projection.PurchasingDocumentType = _FollowOnDocumentType.PurchasingDocumentType
[0..1] I_RequestForQuotationType _RFQType $projection.PurchasingDocumentType = _RFQType.RFQType
[0..1] I_PurchasingDocumentCategory _FollowOnDocumentCategory $projection.PurchasingDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory
[0..*] I_SupplierQuotation _SupplierQuotation $projection.RequestForQuotation = _SupplierQuotation.RequestForQuotation
[0..1] I_RFQLifecycleStatus _RFQLifecycleStatus $projection.RFQLifecycleStatus = _RFQLifecycleStatus.RFQLifecycleStatus --Extension
[0..1] E_PurchasingDocument _RequestQtnExtension $projection.RequestForQuotation = _RequestQtnExtension.PurchasingDocument

Annotations (11)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey RequestForQuotation view
ObjectModel.semanticKey RequestForQuotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Request For Quotation view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName IMMRFQ view

Fields (55)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation
CompanyCode I_PurchasingDocument CompanyCode Receiver Company Code
PurchasingDocumentCategory I_PurchasingDocument PurchasingDocumentCategory Doc. Category
PurchasingDocumentType
CreatedByUser I_PurchasingDocument CreatedByUser User Name
CreationDate I_PurchasingDocument CreationDate Time Stamp
LastChangeDateTime I_PurchasingDocument LastChangeDateTime Timestamp
Language I_PurchasingDocument Language Report Text Language
PurchasingOrganization
PurchasingGroup I_PurchasingDocument PurchasingGroup Purchasing Group
DocumentCurrency I_PurchasingDocument DocumentCurrency Document Currency
IncotermsClassification I_PurchasingDocument IncotermsClassification Incoterms
IncotermsTransferLocation I_PurchasingDocument IncotermsTransferLocation Incoterms 2
IncotermsVersion I_PurchasingDocument IncotermsVersion Inco. Version
IncotermsLocation1 I_PurchasingDocument IncotermsLocation1 Inco. Location1
IncotermsLocation2 I_PurchasingDocument IncotermsLocation2 Inco. Location2
PaymentTerms I_PurchasingDocument PaymentTerms Pyt Terms
CashDiscount1Days I_PurchasingDocument CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_PurchasingDocument CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent
CashDiscount2Percent
NetPaymentDays I_PurchasingDocument NetPaymentDays Net Pmt Terms Period
ValidityStartDate I_PurchasingDocument ValidityStartDate Validity Start Date
ValidityEndDate I_PurchasingDocument ValidityEndDate ValidTo
RFQPublishingDate
QuotationLatestSubmissionDate I_PurchasingDocument QuotationLatestSubmissionDate Quot. Deadline
BindingPeriodValidityEndDate I_PurchasingDocument BindingPeriodValidityEndDate Binding Period
TargetAmount I_PurchasingDocument TargetAmount Target Value
RFQLifecycleStatus
RequestForQuotationName
QuotationEarliestSubmsnDate I_PurchasingDocument QuotationEarliestSubmsnDate Start Date
LatestRegistrationDate
CorrespncInternalReference I_PurchasingDocument CorrespncInternalReference Our Reference
FollowOnDocumentCategory I_PurchasingDocument FollowOnDocumentCategory Follow-On Document Category
FollowOnDocumentType I_PurchasingDocument FollowOnDocumentType Follow-On Document Type
PurchasingDocumentDeletionCode I_PurchasingDocument PurchasingDocumentDeletionCode Del. Indicator
IsEndOfPurposeBlocked I_PurchasingDocument IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
_RequestForQuotationItem _RequestForQuotationItem
_RFQBidder _RFQBidder
_PurchasingDocumentType I_PurchasingDocument _PurchasingDocumentType
_PurchasingDocumentCategory I_PurchasingDocument _PurchasingDocumentCategory
_RFQType _RFQType
_PaymentTerms I_PurchasingDocument _PaymentTerms
_CreatedByUser I_PurchasingDocument _CreatedByUser
_IncotermsClassification _IncotermsClassification
_IncotermsVersion _IncotermsVersion
_DocumentCurrency I_PurchasingDocument _DocumentCurrency
_CompanyCode I_PurchasingDocument _CompanyCode
_PurchasingGroup I_PurchasingDocument _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_SupplierQuotation _SupplierQuotation
_Language I_PurchasingDocument _Language
_RFQLifecycleStatus _RFQLifecycleStatus
_FollowOnDocumentCategory _FollowOnDocumentCategory
_FollowOnDocumentType _FollowOnDocumentType

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 I_RequestForQuotation.
-- 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: IMMRFQ

CREATE VIEW I_RequestForQuotation AS
SELECT
  cast (I_PurchasingDocument.PurchasingDocument as vdm_requestforquotation preserving type) AS RequestForQuotation,
  I_PurchasingDocument.CompanyCode AS CompanyCode,
  I_PurchasingDocument.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  cast(I_PurchasingDocument.PurchasingDocumentType as vdm_rfq_doc_type preserving type ) AS PurchasingDocumentType,
  I_PurchasingDocument.CreatedByUser AS CreatedByUser,
  I_PurchasingDocument.CreationDate AS CreationDate,
  I_PurchasingDocument.LastChangeDateTime AS LastChangeDateTime,
  I_PurchasingDocument.Language AS Language,
  cast(I_PurchasingDocument.PurchasingOrganization as ekorg_ll preserving type ) AS PurchasingOrganization,
  I_PurchasingDocument.PurchasingGroup AS PurchasingGroup,
  I_PurchasingDocument.DocumentCurrency AS DocumentCurrency,
  I_PurchasingDocument.IncotermsClassification AS IncotermsClassification,
  I_PurchasingDocument.IncotermsTransferLocation AS IncotermsTransferLocation,
  I_PurchasingDocument.IncotermsVersion AS IncotermsVersion,
  I_PurchasingDocument.IncotermsLocation1 AS IncotermsLocation1,
  I_PurchasingDocument.IncotermsLocation2 AS IncotermsLocation2,
  I_PurchasingDocument.PaymentTerms AS PaymentTerms,
  I_PurchasingDocument.CashDiscount1Days AS CashDiscount1Days,
  I_PurchasingDocument.CashDiscount2Days AS CashDiscount2Days,
  cast (I_PurchasingDocument.CashDiscount1Percent as vdm_discount_percent_1 preserving type) AS CashDiscount1Percent,
  cast (I_PurchasingDocument.CashDiscount2Percent as vdm_discount_percent_2 preserving type) AS CashDiscount2Percent,
  I_PurchasingDocument.NetPaymentDays AS NetPaymentDays,
  I_PurchasingDocument.ValidityStartDate AS ValidityStartDate,
  I_PurchasingDocument.ValidityEndDate AS ValidityEndDate,
  cast( I_PurchasingDocument.PurchasingDocumentOrderDate as vdm_rfq_publishing_date preserving type) AS RFQPublishingDate,
  I_PurchasingDocument.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  I_PurchasingDocument.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  I_PurchasingDocument.TargetAmount AS TargetAmount,
  cast ( I_PurchasingDocument.PurchasingProcessingStatus as vdm_rfq_lfst_cd preserving type) AS RFQLifecycleStatus,
  cast ( I_PurchasingDocument.PurchasingDocumentName as vdm_rfq_name preserving type) AS RequestForQuotationName,
  I_PurchasingDocument.QuotationEarliestSubmsnDate AS QuotationEarliestSubmsnDate,
  cast (I_PurchasingDocument.LatestRegistrationDate as vdm_apply_by preserving type) AS LatestRegistrationDate,
  I_PurchasingDocument.CorrespncInternalReference AS CorrespncInternalReference,
  I_PurchasingDocument.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  I_PurchasingDocument.FollowOnDocumentType AS FollowOnDocumentType,
  I_PurchasingDocument.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
  I_PurchasingDocument.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  I_PurchasingDocument._PurchasingDocumentType AS _PurchasingDocumentType,
  I_PurchasingDocument._PurchasingDocumentCategory AS _PurchasingDocumentCategory,
  I_PurchasingDocument._PaymentTerms AS _PaymentTerms,
  I_PurchasingDocument._CreatedByUser AS _CreatedByUser,
  I_PurchasingDocument._DocumentCurrency AS _DocumentCurrency,
  I_PurchasingDocument._CompanyCode AS _CompanyCode,
  I_PurchasingDocument._PurchasingGroup AS _PurchasingGroup,
  I_PurchasingDocument._Language AS _Language
FROM I_PurchasingDocument
LEFT OUTER JOIN I_RequestForQuotationItem AS _RequestForQuotationItem ON RequestForQuotation = _RequestForQuotationItem.RequestForQuotation  -- association [1..*]
LEFT OUTER JOIN I_RFQBidder AS _RFQBidder ON RequestForQuotation = _RFQBidder.RequestForQuotation  -- association [1..*]
LEFT OUTER JOIN I_PurchasingDocumentType AS _FollowOnDocumentType ON PurchasingDocumentCategory = _FollowOnDocumentType.PurchasingDocumentCategory AND PurchasingDocumentType = _FollowOnDocumentType.PurchasingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_RequestForQuotationType AS _RFQType ON PurchasingDocumentType = _RFQType.RFQType  -- association [0..1]
LEFT OUTER JOIN I_PurchasingDocumentCategory AS _FollowOnDocumentCategory ON PurchasingDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory  -- association [0..1]
LEFT OUTER JOIN I_SupplierQuotation AS _SupplierQuotation ON RequestForQuotation = _SupplierQuotation.RequestForQuotation  -- association [0..*]
LEFT OUTER JOIN I_RFQLifecycleStatus AS _RFQLifecycleStatus ON RFQLifecycleStatus = _RFQLifecycleStatus.RFQLifecycleStatus  -- association [0..1]
LEFT OUTER JOIN E_PurchasingDocument AS _RequestQtnExtension ON RequestForQuotation = _RequestQtnExtension.PurchasingDocument  -- association [0..1]
;