P_RFQEventTypes2
RFQ measures calculation
P_RFQEventTypes2 is a Consumption CDS View that provides data about "RFQ measures calculation" in SAP S/4HANA. It reads from 2 data sources (P_RFQEventTypes, P_RFQEventTypes1) and exposes 27 fields with key fields RequestForQuotation, Supplier. Part of development package ODATA_MM_ANALYTICS.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_RFQEventTypes | P_RFQEventTypes | from |
| P_RFQEventTypes1 | P_RFQEventTypes1 | inner |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | displaycurrency | |
| P_StartDate | badat | |
| P_EndDate | badat | |
| P_DateFunction | datefunctionid |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AbapCatalog.sqlViewName | PMMRGQEVNT2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | RFQ measures calculation | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RequestForQuotation | P_RFQEventTypes | RequestForQuotation | RFQ |
| KEY | Supplier | P_RFQEventTypes | 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 | InternalSourcingValue | |||
| ExternalSourcingValue | ExternalSourcingValue | |||
| ExternalPricingValue | ExternalPricingValue | |||
| RFQLifecycleStatus | RFQLifecycleStatus | Status | ||
| InternalSourcing | InternalSourcing | |||
| ExternalSourcing | ExternalSourcing | |||
| ExternalPricing | ExternalPricing | |||
| UniqueSuppliers | UniqueSuppliers | |||
| InternalSourcingReqTargetAmt | ||||
| ExternalSourcingReqTargetAmt | ||||
| ExternalPricingReqTargetAmt | ||||
| UniqueIntSourcingRequest | UniqueIntSourcingRequest | |||
| UniqueExtSourcingRequest | UniqueExtSourcingRequest | |||
| UniqueExtPricingRequest | 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_RFQEventTypes2.
-- 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: PMMRGQEVNT2
-- Parameters: P_DisplayCurrency : displaycurrency, P_StartDate : badat, P_EndDate : badat, P_DateFunction : datefunctionid
CREATE VIEW P_RFQEventTypes2 AS
SELECT
P_RFQEventTypes.RequestForQuotation AS RequestForQuotation,
P_RFQEventTypes.Supplier AS Supplier,
CompanyCode,
PurchasingDocumentCategory,
PurchasingDocumentType,
CreatedByUser,
CreationDate,
QuotationLatestSubmissionDate,
BindingPeriodValidityEndDate,
LatestRegistrationDate,
PurchasingOrganization,
PurchasingGroup,
DocumentCurrency,
InternalSourcingValue,
ExternalSourcingValue,
ExternalPricingValue,
RFQLifecycleStatus,
InternalSourcing,
ExternalSourcing,
ExternalPricing,
UniqueSuppliers,
cast( division(InternalSourcingValue, UniqueSuppliers,5) as abap.curr(18,2) ) AS InternalSourcingReqTargetAmt,
cast( division(ExternalSourcingValue, UniqueSuppliers,5) as abap.curr(18,2) ) AS ExternalSourcingReqTargetAmt,
cast( division(ExternalPricingValue, UniqueSuppliers,5) as abap.curr(18,2) ) AS ExternalPricingReqTargetAmt,
UniqueIntSourcingRequest,
UniqueExtSourcingRequest,
UniqueExtPricingRequest
FROM P_RFQEventTypes
INNER JOIN P_RFQEventTypes1 ON /* join condition not captured in parsed metadata */
;
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