P_VendorEvaluation
Supplier Evaluation
P_VendorEvaluation is a Consumption CDS View that provides data about "Supplier Evaluation" in SAP S/4HANA. It reads from 14 data sources and exposes 145 fields.
Data Sources (14)
| Source | Alias | Join Type |
|---|---|---|
| I_SuplrEvalCriteriaGenConfign | CriteriaConfig | left_outer |
| I_SuplrEvalCriteriaGenConfign | CriteriaConfig | left_outer |
| I_SuplrEvalCriteriaGenConfign | CriteriaConfig | left_outer |
| I_SuplrEvalCriteriaGenConfign | CriteriaConfig | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| I_CalendarYear | I_CalendarYear | left_outer |
| P_PriceVarianceOpsSEUpdated | P_PriceVarianceOpsSEUpdated | union_all |
| P_SEByQuantityUpdatedScore | P_SEByQuantityUpdatedScore | union_all |
| P_SuplrEvalByQuality | P_SuplrEvalByQuality | union_all |
| P_SuplrEvalByQualityNotif | P_SuplrEvalByQualityNotif | union_all |
| P_TimeVariance | P_TimeVariance | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_StartDate | bedat | |
| P_EndDate | bedat |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PMMVENDEVAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Supplier Evaluation | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
Fields (145)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| PurchaseOrder | PurchaseOrder | Purchasing Document | ||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurgDocMigrtnIsCmpltdForAnlyts | PurgDocMigrtnIsCmpltdForAnlyts | |||
| SuplrEvalRelevantDocCategory | SuplrEvalRelevantDocCategory | |||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurOrdItmFirstGRPostingDate | ||||
| PurOrdItmFinalGRPostingDate | ||||
| PriceVarianceScore | Price Variance Score | |||
| QuantityVarianceScore | Quantity Var. Score | |||
| TimeVarianceScore | ||||
| InspectionLotQualityScore | ||||
| QualityNotificationScore | Quality Notif. Score | |||
| PriceVarianceCount | ||||
| QuantityVarianceCount | ||||
| TimeVarianceCount | ||||
| InspectionLotQualityCount | ||||
| QualityNotificationCount | ||||
| QualityNotificationExist | ||||
| P_StartDate | ||||
| PurchaseOrder | Purchasing Document | |||
| PurchaseOrderItem | PrcVariance | PurchaseOrderItem | Purchasing Document Item | |
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurgDocMigrtnIsCmpltdForAnlyts | PurgDocMigrtnIsCmpltdForAnlyts | |||
| SuplrEvalRelevantDocCategory | SuplrEvalRelevantDocCategory | |||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | PrcVariance | CompanyCode | Receiver Company Code | |
| Supplier | Supplier | Supplier | ||
| Material | PrcVariance | Material | Vehicle Model | |
| MaterialGroup | PrcVariance | MaterialGroup | Product Group | |
| Plant | PrcVariance | Plant | Valuation Area | |
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurOrdItmFirstGRPostingDate | ||||
| PurOrdItmFinalGRPostingDate | ||||
| PriceVarianceScore | PriceVarianceScore | Price Variance Score | ||
| QuantityVarianceScore | Quantity Var. Score | |||
| TimeVarianceScore | ||||
| InspectionLotQualityScore | ||||
| QualityNotificationScore | Quality Notif. Score | |||
| PriceVarianceCount | ||||
| QuantityVarianceCount | ||||
| TimeVarianceCount | ||||
| InspectionLotQualityCount | ||||
| QualityNotificationCount | ||||
| QualityNotificationExist | ||||
| P_StartDate | ||||
| NumberOfDays1PurchaseOrder | ||||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurgDocMigrtnIsCmpltdForAnlyts | PurgDocMigrtnIsCmpltdForAnlyts | |||
| SuplrEvalRelevantDocCategory | SuplrEvalRelevantDocCategory | |||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurOrdItmFirstGRPostingDate | PurOrdItmFirstGRPostingDate | |||
| PurOrdItmFinalGRPostingDate | PurOrdItmFinalGRPostingDate | |||
| PriceVarianceScore | Price Variance Score | |||
| QuantityVarianceScore | QuantityVarianceScore | Quantity Var. Score | ||
| TimeVarianceScore | ||||
| InspectionLotQualityScore | ||||
| QualityNotificationScore | Quality Notif. Score | |||
| PriceVarianceCount | ||||
| QuantityVarianceCount | ||||
| TimeVarianceCount | ||||
| InspectionLotQualityCount | ||||
| QualityNotificationCount | ||||
| QualityNotificationExist | ||||
| P_StartDate | ||||
| NumberOfDays1PurchaseOrder | ||||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurgDocMigrtnIsCmpltdForAnlyts | PurgDocMigrtnIsCmpltdForAnlyts | |||
| SuplrEvalRelevantDocCategory | SuplrEvalRelevantDocCategory | |||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurOrdItmFirstGRPostingDate | ||||
| PurOrdItmFinalGRPostingDate | ||||
| PriceVarianceScore | Price Variance Score | |||
| QuantityVarianceScore | Quantity Var. Score | |||
| TimeVarianceScore | ||||
| InspectionLotQualityScore | ||||
| QualityNotificationScore | Quality Notif. Score | |||
| PriceVarianceCount | ||||
| QuantityVarianceCount | ||||
| TimeVarianceCount | ||||
| InspectionLotQualityCount | ||||
| QualityNotificationCount | ||||
| QualityNotificationExist | ||||
| P_StartDate | ||||
| NumberOfDays1PurchaseOrder | ||||
| PurchaseOrderItem | PurchaseOrderItem | Purchasing Document Item | ||
| PurchaseOrderDate | PurchaseOrderDate | PO Date | ||
| NetAmount | NetAmount | Stated Amount | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| PurgDocMigrtnIsCmpltdForAnlyts | PurgDocMigrtnIsCmpltdForAnlyts | |||
| SuplrEvalRelevantDocCategory | SuplrEvalRelevantDocCategory | |||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Supplier | Supplier | Supplier | ||
| Material | Material | Vehicle Model | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| PurchasingDocumentCategory | PurchasingDocumentCategory | Doc. Category | ||
| PurOrdItmFirstGRPostingDate | ||||
| PurOrdItmFinalGRPostingDate | ||||
| PriceVarianceScore | Price Variance Score | |||
| QuantityVarianceScore | Quantity Var. Score | |||
| TimeVarianceScore | ||||
| InspectionLotQualityScore | ||||
| QualityNotificationScore | QualityNotificationScore | Quality Notif. Score | ||
| PriceVarianceCount | ||||
| QuantityVarianceCount | ||||
| TimeVarianceCount | ||||
| InspectionLotQualityCount | ||||
| QualityNotificationCount | ||||
| QualityNotificationExist | ||||
| SuplrEvalCritraDelivCompleted | I_SuplrEvalCriteriaGenConfign | SuplrEvalCritraDelivCompleted | Delivery 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 P_VendorEvaluation.
-- 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: PMMVENDEVAL
-- Parameters: P_StartDate : bedat, P_EndDate : bedat
CREATE VIEW P_VendorEvaluation AS
SELECT
PurchaseOrder,
PurchaseOrderItem,
PurchaseOrderDate,
NetAmount,
DocumentCurrency,
PurgDocMigrtnIsCmpltdForAnlyts,
SuplrEvalRelevantDocCategory,
PurchasingOrganization,
PurchasingGroup,
CompanyCode,
Supplier,
Material,
MaterialGroup,
Plant,
PurchasingDocumentCategory,
min(PurOrdItmFirstGRPostingDate) AS PurOrdItmFirstGRPostingDate,
max(PurOrdItmFinalGRPostingDate) AS PurOrdItmFinalGRPostingDate,
cast(I_CalendarYear.NumberOfDays as mm_a_variance_score ) AS PriceVarianceScore,
cast(I_CalendarYear.NumberOfDays as mm_a_variance_score ) AS QuantityVarianceScore,
avg(TimeVarianceScore as mm_a_variance_score) AS TimeVarianceScore,
cast(I_CalendarYear.NumberOfDays as mm_pur_ana_quality_var_score ) AS InspectionLotQualityScore,
cast(I_CalendarYear.NumberOfDays as mm_a_variance_score ) AS QualityNotificationScore,
cast(0 as mm_pur_ana_variance_count ) AS PriceVarianceCount,
cast(0 as mm_pur_ana_variance_count ) AS QuantityVarianceCount,
cast(1 as mm_pur_ana_variance_count ) AS TimeVarianceCount,
cast(0 as mm_pur_ana_variance_count ) AS InspectionLotQualityCount,
cast(0 as mm_pur_ana_variance_count ) AS QualityNotificationCount,
cast(0 as abap.int4 ) AS QualityNotificationExist,
CriteriaConfig.SuplrEvalCritraDelivCompleted AS P_StartDate,
CriteriaConfig.SuplrEvalCritraDelivCompleted AS SuplrEvalCritraDelivCompleted
FROM P_TimeVariance
LEFT OUTER JOIN I_SuplrEvalCriteriaGenConfign AS CriteriaConfig ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CalendarYear ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_PriceVarianceOpsSEUpdated, P_SEByQuantityUpdatedScore, P_SuplrEvalByQuality, P_SuplrEvalByQualityNotif
;
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