P_QltyNotifScore

DDL: P_QLTYNOTIFSCORE SQL: PQLTYNOTCNT Type: view CONSUMPTION Package: ODATA_MM_ANALYTICS

Quality Notification Updated Score

P_QltyNotifScore is a Consumption CDS View that provides data about "Quality Notification Updated Score" in SAP S/4HANA. It reads from 3 data sources (P_SuplrEvalByQltyNotif, P_SuplrEvalCritrnVarcScore, P_QltyNotifUpdatedScore) and exposes 19 fields with key fields PurchaseOrder, PurchaseOrderItem. It has 1 association to related views. Part of development package ODATA_MM_ANALYTICS.

Data Sources (3)

SourceAliasJoin Type
P_SuplrEvalByQltyNotif P_SuplrEvalByQltyNotif from
P_SuplrEvalCritrnVarcScore Scoring inner
P_QltyNotifUpdatedScore UpdatedScore left_outer

Parameters (2)

NameTypeDefault
P_StartDate qdatumerst
P_EndDate qdatumerst

Associations (1)

CardinalityTargetAliasCondition
[0..1] C_MM_PlantValueHelp _Plant $projection.Plant = _Plant.Plant and $projection.PurchasingOrganization = _Plant.PurchasingOrganization

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PQLTYNOTCNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Quality Notification Updated Score view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder P_SuplrEvalByQltyNotif PurchaseOrder Purchasing Document
KEY PurchaseOrderItem P_SuplrEvalByQltyNotif PurchaseOrderItem Purchasing Document Item
Supplier P_SuplrEvalByQltyNotif Supplier Supplier
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
PurchasingOrganization P_SuplrEvalByQltyNotif PurchasingOrganization Purchasing Organization
Plant P_SuplrEvalByQltyNotif Plant Valuation Area
_Plant _Plant
Material P_SuplrEvalByQltyNotif Material Vehicle Model
MaterialGroup MaterialGroup Product Group
PurchasingCategory P_SuplrEvalByQltyNotif PurchasingCategory Purchasing Category
PurgCatName PurgCatName Purchasing Cat. Name
PurchasingDocumentCategory P_SuplrEvalByQltyNotif PurchasingDocumentCategory Doc. Category
PurgDocMigrtnIsCmpltdForAnlyts P_SuplrEvalByQltyNotif PurgDocMigrtnIsCmpltdForAnlyts
SuplrEvalRelevantDocCategory P_SuplrEvalByQltyNotif SuplrEvalRelevantDocCategory
QualityNotificationCount P_SuplrEvalByQltyNotif QualityNotificationCount
PurchaseOrderDate P_SuplrEvalByQltyNotif PurchaseOrderDate PO Date
NetAmount NetAmount Stated Amount
DocumentCurrency DocumentCurrency Document Currency

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_QltyNotifScore.
-- 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: PQLTYNOTCNT
-- Parameters: P_StartDate : qdatumerst, P_EndDate : qdatumerst

CREATE VIEW P_QltyNotifScore AS
SELECT
  P_SuplrEvalByQltyNotif.PurchaseOrder AS PurchaseOrder,
  P_SuplrEvalByQltyNotif.PurchaseOrderItem AS PurchaseOrderItem,
  P_SuplrEvalByQltyNotif.Supplier AS Supplier,
  PurchasingGroup,
  CompanyCode,
  P_SuplrEvalByQltyNotif.PurchasingOrganization AS PurchasingOrganization,
  P_SuplrEvalByQltyNotif.Plant AS Plant,
  P_SuplrEvalByQltyNotif.Material AS Material,
  MaterialGroup,
  P_SuplrEvalByQltyNotif.PurchasingCategory AS PurchasingCategory,
  PurgCatName,
  P_SuplrEvalByQltyNotif.PurchasingDocumentCategory AS PurchasingDocumentCategory,
  P_SuplrEvalByQltyNotif.PurgDocMigrtnIsCmpltdForAnlyts AS PurgDocMigrtnIsCmpltdForAnlyts,
  P_SuplrEvalByQltyNotif.SuplrEvalRelevantDocCategory AS SuplrEvalRelevantDocCategory,
  P_SuplrEvalByQltyNotif.QualityNotificationCount AS QualityNotificationCount,
  P_SuplrEvalByQltyNotif.PurchaseOrderDate AS PurchaseOrderDate,
  NetAmount,
  DocumentCurrency
FROM P_SuplrEvalByQltyNotif
INNER JOIN P_SuplrEvalCritrnVarcScore AS Scoring ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_QltyNotifUpdatedScore AS UpdatedScore ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_MM_PlantValueHelp AS _Plant ON Plant = _Plant.Plant AND PurchasingOrganization = _Plant.PurchasingOrganization  -- association [0..1]
;