I_Requestforquotation_Api01

DDL: I_REQUESTFORQUOTATION_API01 SQL: IMMRFQAPI01 Type: view BASIC

Request for Quotation

I_Requestforquotation_Api01 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

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

SAP Help Documentation

CategoryCDS Views for Sourcing
StatusReleased
Purpose
This CDS view retrieves header data of an RFQ. The CDS view includes data such as: Organizational data (company code, purchasing organization, purchasing group, etc.) Administrative data (creation date, created by user, last changed date, etc.) Data for the RFQ process (publishing date, quotation deadline, etc.) This CDS view provides the prerequisites for answering the following business questions: When was the RFQ published? When is the quotation deadline reached? What are the payment terms for the RFQ?

Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction types must be set to read access: Purchasing organization Purchasing group Purchasing document type These restriction types are edited in the Maintain Business Roles app.

Structure
RequestForQuotation This view relates to the following SAP object types: RequestForQuotation SupplierQuotation Main parameters and filters of the CDS view The main filters are as follows: RequestForQuotationName PurchasingDocumentType CompanyCode PurchasingOrganization PurchasingGroup DocumentCurrency Measures and attributes Some important measures and attributes are: TargetAmount : target amount of the RFQ. It helps the users to keep an eye on the budget that they don't want to exceed. RFQPublishingDate : the date when the RFQ was published. As a starting point of a bidding process it allows you to have transparency about the bidding period. QuotationLatestSubmissionDate : the date until which the suppliers can submit their quotations. RFQLifecycleStatus : the status of the document, for example In Preparation or Published .

SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. In case you are interested in the details of the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Application Help SAP Library BI Content . For more information on extraction, see Extracting Data Through CDS Views to SAP BW/4HANA .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-RFQ
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_RequestForQuotation I_RequestForQuotation from

Associations (1)

CardinalityTargetAliasCondition
[1..1] E_PurchasingDocument _RequestQtnExtension $projection.RequestForQuotation = _RequestQtnExtension .PurchasingDocument

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMMRFQAPI01 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Request for Quotation view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY RequestForQuotation I_RequestForQuotation RequestForQuotation Request for Quotation
CompanyCode I_RequestForQuotation CompanyCode Receiver Company Code
PurchasingDocumentCategory I_RequestForQuotation PurchasingDocumentCategory Purchasing Document Category
PurchasingDocumentType I_RequestForQuotation PurchasingDocumentType RFQ Document Type
CreatedByUser I_RequestForQuotation CreatedByUser User of person who created a purchasing document
CreationDate I_RequestForQuotation CreationDate Creation Date of Purchasing Document
LastChangeDateTime I_RequestForQuotation LastChangeDateTime Change Time Stamp
Language I_RequestForQuotation Language Report Text Language
PurchasingOrganization I_RequestForQuotation PurchasingOrganization Purchasing Organization
PurchasingGroup I_RequestForQuotation PurchasingGroup Purchasing Group
DocumentCurrency I_RequestForQuotation DocumentCurrency Document Currency
IncotermsClassification I_RequestForQuotation IncotermsClassification Incoterms (Part 1)
IncotermsTransferLocation I_RequestForQuotation IncotermsTransferLocation Incoterms (Part 2)
IncotermsVersion I_RequestForQuotation IncotermsVersion Incoterms Version
IncotermsLocation1 I_RequestForQuotation IncotermsLocation1 Incoterms Location 1
IncotermsLocation2 I_RequestForQuotation IncotermsLocation2 Incoterms Location 2
PaymentTerms I_RequestForQuotation PaymentTerms Terms of Payment Key
CashDiscount1Days I_RequestForQuotation CashDiscount1Days Days from Baseline Date for Payment
CashDiscount2Days I_RequestForQuotation CashDiscount2Days Days from Baseline Date for Payment
CashDiscount1Percent I_RequestForQuotation CashDiscount1Percent Cash discount percentage 1
CashDiscount2Percent I_RequestForQuotation CashDiscount2Percent Cash discount percentage 2
NetPaymentDays I_RequestForQuotation NetPaymentDays Net Payment Terms Period
ValidityStartDate I_RequestForQuotation ValidityStartDate Start of Validity Period
ValidityEndDate I_RequestForQuotation ValidityEndDate End of Validity Period
RFQPublishingDate I_RequestForQuotation RFQPublishingDate RFQ Publishing Date
QuotationLatestSubmissionDate I_RequestForQuotation QuotationLatestSubmissionDate Deadline for Submission of Bid/Quotation
BindingPeriodValidityEndDate I_RequestForQuotation BindingPeriodValidityEndDate Binding Period for Quotation
TargetAmount I_RequestForQuotation TargetAmount Target Value for Header Area per Distribution
RFQLifecycleStatus I_RequestForQuotation RFQLifecycleStatus RFQ Lifecycle Status
RequestForQuotationName I_RequestForQuotation RequestForQuotationName Short description or the title of the RFQ
QuotationEarliestSubmsnDate I_RequestForQuotation QuotationEarliestSubmsnDate The date as of which Quotations can be submitted
LatestRegistrationDate I_RequestForQuotation LatestRegistrationDate Closing Date for Applications
CorrespncInternalReference I_RequestForQuotation CorrespncInternalReference Our Reference
FollowOnDocumentCategory I_RequestForQuotation FollowOnDocumentCategory Follow-On Purchasing Document Category
FollowOnDocumentType I_RequestForQuotation FollowOnDocumentType Follow-On Purchasing Document Type
IsEndOfPurposeBlocked I_RequestForQuotation IsEndOfPurposeBlocked Business Purpose Completed

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_Api01.
-- 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: IMMRFQAPI01

CREATE VIEW I_Requestforquotation_Api01 AS
SELECT
  I_RequestForQuotation.RequestForQuotation AS RequestForQuotation,
  I_RequestForQuotation.CompanyCode AS CompanyCode,
  I_RequestForQuotation.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  I_RequestForQuotation.PurchasingDocumentType AS PurchasingDocumentType,
  I_RequestForQuotation.CreatedByUser AS CreatedByUser,
  I_RequestForQuotation.CreationDate AS CreationDate,
  I_RequestForQuotation.LastChangeDateTime AS LastChangeDateTime,
  I_RequestForQuotation.Language AS Language,
  I_RequestForQuotation.PurchasingOrganization AS PurchasingOrganization,
  I_RequestForQuotation.PurchasingGroup AS PurchasingGroup,
  I_RequestForQuotation.DocumentCurrency AS DocumentCurrency,
  I_RequestForQuotation.IncotermsClassification AS IncotermsClassification,
  I_RequestForQuotation.IncotermsTransferLocation AS IncotermsTransferLocation,
  I_RequestForQuotation.IncotermsVersion AS IncotermsVersion,
  I_RequestForQuotation.IncotermsLocation1 AS IncotermsLocation1,
  I_RequestForQuotation.IncotermsLocation2 AS IncotermsLocation2,
  I_RequestForQuotation.PaymentTerms AS PaymentTerms,
  I_RequestForQuotation.CashDiscount1Days AS CashDiscount1Days,
  I_RequestForQuotation.CashDiscount2Days AS CashDiscount2Days,
  I_RequestForQuotation.CashDiscount1Percent AS CashDiscount1Percent,
  I_RequestForQuotation.CashDiscount2Percent AS CashDiscount2Percent,
  I_RequestForQuotation.NetPaymentDays AS NetPaymentDays,
  I_RequestForQuotation.ValidityStartDate AS ValidityStartDate,
  I_RequestForQuotation.ValidityEndDate AS ValidityEndDate,
  I_RequestForQuotation.RFQPublishingDate AS RFQPublishingDate,
  I_RequestForQuotation.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
  I_RequestForQuotation.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
  I_RequestForQuotation.TargetAmount AS TargetAmount,
  I_RequestForQuotation.RFQLifecycleStatus AS RFQLifecycleStatus,
  I_RequestForQuotation.RequestForQuotationName AS RequestForQuotationName,
  I_RequestForQuotation.QuotationEarliestSubmsnDate AS QuotationEarliestSubmsnDate,
  I_RequestForQuotation.LatestRegistrationDate AS LatestRegistrationDate,
  I_RequestForQuotation.CorrespncInternalReference AS CorrespncInternalReference,
  I_RequestForQuotation.FollowOnDocumentCategory AS FollowOnDocumentCategory,
  I_RequestForQuotation.FollowOnDocumentType AS FollowOnDocumentType,
  I_RequestForQuotation.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked
FROM I_RequestForQuotation
LEFT OUTER JOIN E_PurchasingDocument AS _RequestQtnExtension ON RequestForQuotation = _RequestQtnExtension .PurchasingDocument  -- association [1..1]
;