R_CentralRequestForQuotation
Restricted View for Central Request For Quotation Header
R_CentralRequestForQuotation is a Basic CDS View that provides data about "Restricted View for Central Request For Quotation Header" in SAP S/4HANA. It reads from 1 data source (R_PurchasingDocument) and exposes 58 fields with key field CentralRequestForQuotation. It has 8 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_PurchasingDocument | R_PurchasingDocument | from |
Associations (8)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | R_CentralReqForQuotationItem | _CentralReqForQuotationItem | $projection.CentralRequestForQuotation = _CentralReqForQuotationItem.CentralRequestForQuotation |
| [1..*] | R_CntrlReqForQuotationBidder | _CntrlReqForQuotationBidder | $projection.CentralRequestForQuotation = _CntrlReqForQuotationBidder.CentralRequestForQuotation |
| [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.FollowOnDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory |
| [0..*] | R_CentralSupplierQuotation | _CentralSupplierQuotation | $projection.CentralRequestForQuotation = _CentralSupplierQuotation.CentralRequestForQuotation |
| [0..1] | I_RFQLifecycleStatus | _RFQLifecycleStatus | $projection.RFQLifecycleStatus = _RFQLifecycleStatus.RFQLifecycleStatus |
| [0..1] | E_PurchasingDocument | _CentralReqForQuotationExtn | _CentralReqForQuotationExtn.PurchasingDocument = $projection.CentralRequestForQuotation |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Restricted View for Central Request For Quotation Header | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | RCNTRLRFQHDR | view | |
| ObjectModel.representativeKey | CentralRequestForQuotation | view | |
| ObjectModel.semanticKey | CentralRequestForQuotation | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view |
Fields (58)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CentralRequestForQuotation | |||
| CompanyCode | R_PurchasingDocument | CompanyCode | Receiver Company Code | |
| PurchasingDocumentCategory | R_PurchasingDocument | PurchasingDocumentCategory | Doc. Category | |
| PurchasingDocumentType | ||||
| CreatedByUser | R_PurchasingDocument | CreatedByUser | User Name | |
| CreationDate | R_PurchasingDocument | CreationDate | Time Stamp | |
| LastChangeDateTime | R_PurchasingDocument | LastChangeDateTime | Timestamp | |
| Language | R_PurchasingDocument | Language | Report Text Language | |
| PurchasingOrganization | ||||
| PurchasingGroup | R_PurchasingDocument | PurchasingGroup | Purchasing Group | |
| DocumentCurrency | R_PurchasingDocument | DocumentCurrency | Document Currency | |
| IncotermsClassification | R_PurchasingDocument | IncotermsClassification | Incoterms | |
| IncotermsTransferLocation | R_PurchasingDocument | IncotermsTransferLocation | Incoterms 2 | |
| IncotermsVersion | R_PurchasingDocument | IncotermsVersion | Inco. Version | |
| IncotermsLocation1 | R_PurchasingDocument | IncotermsLocation1 | Inco. Location1 | |
| IncotermsLocation2 | R_PurchasingDocument | IncotermsLocation2 | Inco. Location2 | |
| PaymentTerms | R_PurchasingDocument | PaymentTerms | Pyt Terms | |
| CashDiscount1Days | R_PurchasingDocument | CashDiscount1Days | Days from Baseline Date for Payment | |
| CashDiscount2Days | R_PurchasingDocument | CashDiscount2Days | Days from Baseline Date for Payment | |
| CashDiscount1Percent | R_PurchasingDocument | CashDiscount1Percent | Disc. Percent 1 | |
| CashDiscount2Percent | R_PurchasingDocument | CashDiscount2Percent | Disc. Percent 2 | |
| NetPaymentDays | R_PurchasingDocument | NetPaymentDays | Net Pmt Terms Period | |
| ValidityStartDate | R_PurchasingDocument | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | R_PurchasingDocument | ValidityEndDate | ValidTo | |
| RFQPublishingDate | ||||
| QuotationLatestSubmissionDate | R_PurchasingDocument | QuotationLatestSubmissionDate | Quot. Deadline | |
| BindingPeriodValidityEndDate | R_PurchasingDocument | BindingPeriodValidityEndDate | Binding Period | |
| TargetAmount | R_PurchasingDocument | TargetAmount | Target Value | |
| RFQLifecycleStatus | ||||
| RequestForQuotationName | ||||
| QuotationEarliestSubmsnDate | R_PurchasingDocument | QuotationEarliestSubmsnDate | Start Date | |
| LatestRegistrationDate | ||||
| CorrespncInternalReference | R_PurchasingDocument | CorrespncInternalReference | Our Reference | |
| FollowOnDocumentCategory | R_PurchasingDocument | FollowOnDocumentCategory | Follow-On Document Category | |
| FollowOnDocumentType | R_PurchasingDocument | FollowOnDocumentType | Follow-On Document Type | |
| PurgDocFollowOnDocumentType | R_PurchasingDocument | FollowOnDocumentType | Follow-On Document Type | |
| PurchasingDocumentDeletionCode | R_PurchasingDocument | PurchasingDocumentDeletionCode | Del. Indicator | |
| IsEndOfPurposeBlocked | R_PurchasingDocument | IsEndOfPurposeBlocked | Busin. Purp. Cmpltd. | |
| _PurchasingDocumentType | R_PurchasingDocument | _PurchasingDocumentType | ||
| _PurchasingDocumentCategory | R_PurchasingDocument | _PurchasingDocumentCategory | ||
| _PaymentTerms | R_PurchasingDocument | _PaymentTerms | ||
| _CreatedByUser | R_PurchasingDocument | _CreatedByUser | ||
| _DocumentCurrency | R_PurchasingDocument | _DocumentCurrency | ||
| _CompanyCode | R_PurchasingDocument | _CompanyCode | ||
| _PurchasingGroup | R_PurchasingDocument | _PurchasingGroup | ||
| _Language | R_PurchasingDocument | _Language | ||
| PurContrValidityStartDate | R_PurchasingDocument | ValidityStartDate | Validity Start Date | |
| PurContrValidityEndDate | R_PurchasingDocument | ValidityEndDate | ValidTo | |
| _CentralReqForQuotationItem | _CentralReqForQuotationItem | |||
| _CntrlReqForQuotationBidder | _CntrlReqForQuotationBidder | |||
| _RFQType | _RFQType | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _PurchasingOrganization | _PurchasingOrganization | |||
| _CentralSupplierQuotation | _CentralSupplierQuotation | |||
| _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 R_CentralRequestForQuotation.
-- 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: RCNTRLRFQHDR
CREATE VIEW R_CentralRequestForQuotation AS
SELECT
cast (R_PurchasingDocument.PurchasingDocument as vdm_cntrlrequestforquotation preserving type) AS CentralRequestForQuotation,
R_PurchasingDocument.CompanyCode AS CompanyCode,
R_PurchasingDocument.PurchasingDocumentCategory AS PurchasingDocumentCategory,
cast(R_PurchasingDocument.PurchasingDocumentType as vdm_rfq_doc_type preserving type ) AS PurchasingDocumentType,
R_PurchasingDocument.CreatedByUser AS CreatedByUser,
R_PurchasingDocument.CreationDate AS CreationDate,
R_PurchasingDocument.LastChangeDateTime AS LastChangeDateTime,
R_PurchasingDocument.Language AS Language,
cast(R_PurchasingDocument.PurchasingOrganization as ekorg_ll preserving type ) AS PurchasingOrganization,
R_PurchasingDocument.PurchasingGroup AS PurchasingGroup,
R_PurchasingDocument.DocumentCurrency AS DocumentCurrency,
R_PurchasingDocument.IncotermsClassification AS IncotermsClassification,
R_PurchasingDocument.IncotermsTransferLocation AS IncotermsTransferLocation,
R_PurchasingDocument.IncotermsVersion AS IncotermsVersion,
R_PurchasingDocument.IncotermsLocation1 AS IncotermsLocation1,
R_PurchasingDocument.IncotermsLocation2 AS IncotermsLocation2,
R_PurchasingDocument.PaymentTerms AS PaymentTerms,
R_PurchasingDocument.CashDiscount1Days AS CashDiscount1Days,
R_PurchasingDocument.CashDiscount2Days AS CashDiscount2Days,
R_PurchasingDocument.CashDiscount1Percent AS CashDiscount1Percent,
R_PurchasingDocument.CashDiscount2Percent AS CashDiscount2Percent,
R_PurchasingDocument.NetPaymentDays AS NetPaymentDays,
R_PurchasingDocument.ValidityStartDate AS ValidityStartDate,
R_PurchasingDocument.ValidityEndDate AS ValidityEndDate,
cast( R_PurchasingDocument.PurchasingDocumentOrderDate as vdm_rfq_publishing_date preserving type) AS RFQPublishingDate,
R_PurchasingDocument.QuotationLatestSubmissionDate AS QuotationLatestSubmissionDate,
R_PurchasingDocument.BindingPeriodValidityEndDate AS BindingPeriodValidityEndDate,
R_PurchasingDocument.TargetAmount AS TargetAmount,
cast ( R_PurchasingDocument.PurchasingProcessingStatus as vdm_rfq_lfst_cd preserving type) AS RFQLifecycleStatus,
cast ( R_PurchasingDocument.PurchasingDocumentName as vdm_rfq_name preserving type) AS RequestForQuotationName,
R_PurchasingDocument.QuotationEarliestSubmsnDate AS QuotationEarliestSubmsnDate,
cast (R_PurchasingDocument.LatestRegistrationDate as vdm_apply_by preserving type) AS LatestRegistrationDate,
R_PurchasingDocument.CorrespncInternalReference AS CorrespncInternalReference,
R_PurchasingDocument.FollowOnDocumentCategory AS FollowOnDocumentCategory,
R_PurchasingDocument.FollowOnDocumentType AS FollowOnDocumentType,
R_PurchasingDocument.FollowOnDocumentType AS PurgDocFollowOnDocumentType,
R_PurchasingDocument.PurchasingDocumentDeletionCode AS PurchasingDocumentDeletionCode,
R_PurchasingDocument.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
R_PurchasingDocument._PurchasingDocumentType AS _PurchasingDocumentType,
R_PurchasingDocument._PurchasingDocumentCategory AS _PurchasingDocumentCategory,
R_PurchasingDocument._PaymentTerms AS _PaymentTerms,
R_PurchasingDocument._CreatedByUser AS _CreatedByUser,
R_PurchasingDocument._DocumentCurrency AS _DocumentCurrency,
R_PurchasingDocument._CompanyCode AS _CompanyCode,
R_PurchasingDocument._PurchasingGroup AS _PurchasingGroup,
R_PurchasingDocument._Language AS _Language,
R_PurchasingDocument.ValidityStartDate AS PurContrValidityStartDate,
R_PurchasingDocument.ValidityEndDate AS PurContrValidityEndDate
FROM R_PurchasingDocument
LEFT OUTER JOIN R_CentralReqForQuotationItem AS _CentralReqForQuotationItem ON CentralRequestForQuotation = _CentralReqForQuotationItem.CentralRequestForQuotation -- association [1..*]
LEFT OUTER JOIN R_CntrlReqForQuotationBidder AS _CntrlReqForQuotationBidder ON CentralRequestForQuotation = _CntrlReqForQuotationBidder.CentralRequestForQuotation -- 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 FollowOnDocumentCategory = _FollowOnDocumentCategory.PurchasingDocumentCategory -- association [0..1]
LEFT OUTER JOIN R_CentralSupplierQuotation AS _CentralSupplierQuotation ON CentralRequestForQuotation = _CentralSupplierQuotation.CentralRequestForQuotation -- association [0..*]
LEFT OUTER JOIN I_RFQLifecycleStatus AS _RFQLifecycleStatus ON RFQLifecycleStatus = _RFQLifecycleStatus.RFQLifecycleStatus -- association [0..1]
LEFT OUTER JOIN E_PurchasingDocument AS _CentralReqForQuotationExtn ON _CentralReqForQuotationExtn.PurchasingDocument = CentralRequestForQuotation -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA