P_RFQEventTypes
RFQ based on Purchasing Document Type
P_RFQEventTypes is a Consumption CDS View that provides data about "RFQ based on Purchasing Document Type" in SAP S/4HANA. It reads from 6 data sources and exposes 64 fields with key field RequestForQuotation.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_RequestForQuotation | I_RequestForQuotation | from |
| I_RequestForQuotation | I_RequestForQuotation | union_all |
| I_RequestForQuotation | I_RequestForQuotation | union_all |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency | |
| P_StartDate | badat | |
| P_EndDate | badat | |
| P_DateFunction | datefunctionid |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMMRFQEVTTYP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | RFQ based on Purchasing Document Type | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequestForQuotation | RequestForQuotation | RFQ | |
| Supplier | _RFQBidder | Supplier | Supplier | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| QuotationLatestSubmissionDate | QuotationLatestSubmissionDate | Quot. Deadline | ||
| BindingPeriodValidityEndDate | BindingPeriodValidityEndDate | Binding Period | ||
| LatestRegistrationDate | LatestRegistrationDate | Apply By | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| ExternalSourcingValue | ||||
| ExternalPricingValue | ||||
| RFQLifecycleStatus | RFQLifecycleStatus | Status | ||
| InternalSourcing | ||||
| ExternalSourcing | ||||
| ExternalPricing | ||||
| UniqueIntSourcingRequest | ||||
| UniqueExtSourcingRequest | ||||
| NumberOfDays1keyRequestForQuotation | ||||
| Supplier | _RFQBidder | Supplier | Supplier | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| QuotationLatestSubmissionDate | QuotationLatestSubmissionDate | Quot. Deadline | ||
| BindingPeriodValidityEndDate | BindingPeriodValidityEndDate | Binding Period | ||
| LatestRegistrationDate | LatestRegistrationDate | Apply By | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| InternalSourcingValue | ||||
| ExternalPricingValue | ||||
| RFQLifecycleStatus | RFQLifecycleStatus | Status | ||
| InternalSourcing | ||||
| ExternalSourcing | ||||
| ExternalPricing | ||||
| UniqueIntSourcingRequest | ||||
| UniqueExtSourcingRequest | ||||
| NumberOfDays1keyRequestForQuotation | ||||
| Supplier | _RFQBidder | Supplier | Supplier | |
| CompanyCode | CompanyCode | Receiver Company Code | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurchasingDocumentType | PurchasingDocumentType | RFQ Type | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDate | CreationDate | Time Stamp | ||
| QuotationLatestSubmissionDate | QuotationLatestSubmissionDate | Quot. Deadline | ||
| BindingPeriodValidityEndDate | BindingPeriodValidityEndDate | Binding Period | ||
| LatestRegistrationDate | LatestRegistrationDate | Apply By | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| InternalSourcingValue | ||||
| ExternalSourcingValue | ||||
| RFQLifecycleStatus | RFQLifecycleStatus | Status | ||
| InternalSourcing | ||||
| ExternalSourcing | ||||
| ExternalPricing | ||||
| UniqueIntSourcingRequest | ||||
| UniqueExtSourcingRequest | ||||
| UniqueExtPricingRequest |
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 P_RFQEventTypes.
-- 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: PMMRFQEVTTYP
-- Parameters: P_DisplayCurrency : displaycurrency, P_StartDate : badat, P_EndDate : badat, P_DateFunction : datefunctionid
CREATE VIEW P_RFQEventTypes AS
SELECT
RequestForQuotation,
_RFQBidder.Supplier AS Supplier,
CompanyCode,
PurchasingDocumentCategory,
PurchasingDocumentType,
CreatedByUser,
CreationDate,
QuotationLatestSubmissionDate,
BindingPeriodValidityEndDate,
LatestRegistrationDate,
PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
cast(0 as ktwrt) AS ExternalSourcingValue,
cast(0 as ktwrt) AS ExternalPricingValue,
RFQLifecycleStatus,
cast( 1 as abap.int4) AS InternalSourcing,
cast( 0 as abap.int4) AS ExternalSourcing,
cast( 0 as abap.int4) AS ExternalPricing,
cast (CONCAT(RequestForQuotation , PurchasingDocumentType) as char14) AS UniqueIntSourcingRequest,
cast (I_CalendarYear.NumberOfDays as char14) AS UniqueExtSourcingRequest,
cast (I_CalendarYear.NumberOfDays as char14) as UniqueExtPricingRequest AS NumberOfDays1keyRequestForQuotation,
cast(0 as ktwrt) AS InternalSourcingValue,
cast (CONCAT(RequestForQuotation , PurchasingDocumentType) as char14) AS UniqueExtPricingRequest
FROM I_RequestForQuotation
LEFT OUTER JOIN I_CalendarYear ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_RequestForQuotation
;
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