C_SuplrEvalByQltyNotif

DDL: C_SUPLREVALBYQLTYNOTIF SQL: CSUPLEVLQLTNOTI Type: view CONSUMPTION

Supplr Eval By Quality Notification

C_SuplrEvalByQltyNotif is a Consumption CDS View that provides data about "Supplr Eval By Quality Notification" in SAP S/4HANA. It reads from 1 data source (P_QltyNotifScore) and exposes 29 fields with key field PurchaseOrderItem. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
P_QltyNotifScore P_QltyNotifScore from

Parameters (3)

NameTypeDefault
P_StartDate bedat
P_EndDate bedat
P_DateFunction datefunctionid

Associations (7)

CardinalityTargetAliasCondition
[0..1] C_PurchasingOrgValueHelp _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] C_MM_SupplierValueHelp _Supplier $projection.Supplier = _Supplier.Supplier and $projection.CompanyCode = _Supplier.CompanyCode
[1..1] I_Material _Material $projection.Material = _Material.Material
[0..1] C_MM_MaterialGroupValueHelp _MaterialGroup $projection.MaterialGroup = _MaterialGroup.MaterialGroup
[0..1] C_PurchasingGroupValueHelp _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_CalendarDate _Date $projection.PurchaseOrderDate = _Date.CalendarDate

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSUPLEVLQLTNOTI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Supplr Eval By Quality Notification view
VDM.viewType #CONSUMPTION view
OData.publish true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (29)

KeyFieldSource TableSource FieldDescription
resultElementDateFunctionStartDate
resultElementDateFunctionEndDate
P_StartDate
KEY PurchaseOrderItem Purchasing Document Item
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingGroupName _PurchasingGroup PurchasingGroupName Purchasing Grp. Name
Supplier P_QltyNotifScore Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
PurchaseOrderDate PurchaseOrderDate PO Date
Plant
PlantName _Plant PlantName Plant Name
SupplierCountry
SupplierCountryName
CompanyCode P_QltyNotifScore CompanyCode Receiver Company Code
CompanyCodeName _CompanyCode CompanyCodeName Company Name
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purch. Org. Name
CalendarYear _Date CalendarYear Year
CalendarQuarter _Date CalendarQuarter Calendar Quarter
CalendarMonth _Date CalendarMonth Calendar Month
CalendarWeek _Date CalendarWeek Calendar Week
Material Material Vehicle Model
MaterialName
MaterialGroup MaterialGroup Product Group
MaterialGroupName _MaterialGroup MaterialGroupName prod Grp Desc.
PurchasingCategory PurchasingCategory Purchasing Category
PurgCatName PurgCatName Purchasing Cat. Name
QualityNotificationCount QualityNotificationCount Quality Notification Count
QualityNotificationScore QualityNotificationScore Quality Notif. Score

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 C_SuplrEvalByQltyNotif.
-- 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: CSUPLEVLQLTNOTI
-- Parameters: P_StartDate : bedat, P_EndDate : bedat, P_DateFunction : datefunctionid

CREATE VIEW C_SuplrEvalByQltyNotif AS
SELECT
  resultElement: 'DateFunctionStartDate' AS resultElementDateFunctionStartDate,
  resultElement: 'DateFunctionEndDate' AS resultElementDateFunctionEndDate,
  binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_StartDate,
  cast( PurchaseOrderItem as vdm_purchaseorderitem ) AS PurchaseOrderItem,
  PurchasingGroup,
  _PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
  P_QltyNotifScore.Supplier AS Supplier,
  _Supplier.SupplierName AS SupplierName,
  PurchaseOrderDate,
  cast(P_QltyNotifScore.Plant as ewerk) AS Plant,
  _Plant.PlantName AS PlantName,
  cast( _Supplier.Country as mm_a_supplier_country ) AS SupplierCountry,
  _Supplier._CountryText[1: Language = $session.system_language].CountryName AS SupplierCountryName,
  P_QltyNotifScore.CompanyCode AS CompanyCode,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  PurchasingOrganization,
  _PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  _Date.CalendarYear AS CalendarYear,
  _Date.CalendarQuarter AS CalendarQuarter,
  _Date.CalendarMonth AS CalendarMonth,
  _Date.CalendarWeek AS CalendarWeek,
  Material,
  _Material._Text[1: Language = $session.system_language].MaterialName AS MaterialName,
  MaterialGroup,
  _MaterialGroup.MaterialGroupName AS MaterialGroupName,
  PurchasingCategory,
  PurgCatName,
  QualityNotificationCount,
  QualityNotificationScore
FROM P_QltyNotifScore
LEFT OUTER JOIN C_PurchasingOrgValueHelp AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN C_MM_SupplierValueHelp AS _Supplier ON Supplier = _Supplier.Supplier AND CompanyCode = _Supplier.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN C_MM_MaterialGroupValueHelp AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN C_PurchasingGroupValueHelp AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _Date ON PurchaseOrderDate = _Date.CalendarDate  -- association [1..1]
;