C_QltyKeyFigAnlys

DDL: C_QLTYKEYFIGANLYS Type: view CONSUMPTION Package: ODATA_QM_NOTIF_ANALYTICS

Notification Analytics - Key Figures

C_QltyKeyFigAnlys is a Consumption CDS View (Cube) that provides data about "Notification Analytics - Key Figures" in SAP S/4HANA. It reads from 1 data source (I_QltyNotifKeyFigCube) and exposes 39 fields. It has 7 associations to related views. It is exposed through 1 OData service (ASQL_F8793). Part of development package ODATA_QM_NOTIF_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_QltyNotifKeyFigCube I_QltyNotifKeyFigCube from

Parameters (5)

NameTypeDefault
hidden true
P_StartDate mm_a_delivery_date
hidden true
P_EndDate mm_a_delivery_date
P_DateFunction vdm_qmdat_dfid

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_CalendarDate _CalDteNotifCrtedOn $projection.CreationDate = _CalDteNotifCrtedOn.CalendarDate
[1..1] I_CalendarDate _CalDteNotifRqdStrtDte $projection.NotificationRequiredStartDate = _CalDteNotifRqdStrtDte.CalendarDate
[0..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[0..1] I_Customer _Customer $projection.Customer = _Customer.Customer
[0..1] I_MaterialText _MaterialText _MaterialText.Material = $projection.Material and _MaterialText.Language = $session.system_language
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..1] I_Plant _WorkCenterPlant $projection.WorkCenterPlant = _WorkCenterPlant.Plant

Annotations (16)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CQLTYKFANLYS view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Notification Analytics - Key Figures view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey QualityNotification view
VDM.viewType #CONSUMPTION view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F8793 ASQL_F8793 C2 NOT_RELEASED

Fields (39)

KeyFieldSource TableSource FieldDescription
hiddentrueP_StartDatemm_a_delivery_date
hiddentrueP_EndDatemm_a_delivery_date
P_StartDate
PlantkeyQualityNotification
NotificationTypeName
NotificationType NotificationType Notifictn Type
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed
CreationDate CreationDate Time Stamp
CalendarYear _CalDteNotifCrtedOn CalendarYear Year
CalendarQuarter _CalDteNotifCrtedOn CalendarQuarter Calendar Quarter
CalendarQuarterName
CalendarMonth _CalDteNotifCrtedOn CalendarMonth Calendar Month
CalendarMonthName
CalendarWeek _CalDteNotifCrtedOn CalendarWeek Calendar Week
NotificationRequiredStartDate NotificationRequiredStartDate
NotifRqdStrtYr
NotifRqdStrtQtr
NotifRqdStrtQtrName
NotifRqdStrtMnth
NotifRqdStrtMnthName
NotifRqdStrtWk
NotificationCompletionDate NotificationCompletionDate Completion Date
NotificationRequiredEndDate NotificationRequiredEndDate
SupplierName _Supplier SupplierName Supplier Name
Supplier Supplier Supplier
CustomerFullName _Customer CustomerFullName Customer Name
Customer Customer Sold-to Party
MaterialName
Material Material Vehicle Model
PlantName _Plant PlantName Plant Name
Plant Plant Valuation Area
WorkCenterText WorkCenterText Work Center Text
WorkCenter WorkCenter Work Center
WorkCenterPlantName _WorkCenterPlant PlantName Plant Name
WorkCenterPlant WorkCenterPlant Plant
QualityNotificationCount
QltyNotifProcessPeriod
CntOfQltyNotifOverdue
RateOfQltyNotifOvrd

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_QltyKeyFigAnlys.
-- 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.
-- Parameters: hidden : true, P_StartDate : mm_a_delivery_date, hidden : true, P_EndDate : mm_a_delivery_date, P_DateFunction : vdm_qmdat_dfid

CREATE VIEW C_QltyKeyFigAnlys AS
SELECT
  hidden: true AS hiddentrueP_StartDatemm_a_delivery_date,
  hidden: true AS hiddentrueP_EndDatemm_a_delivery_date,
  valueHelpDefinition: [ { entity: { name: 'C_GregorianCalDateFuncVH', element: 'DateFunction' AS P_StartDate,
  cast(_NotificationType._NotificationTypeName[1:Language=$session.system_language].NotificationTypeName as vdm_qm_notiftype_name) AS NotificationTypeName,
  NotificationType,
  IsBusinessPurposeCompleted,
  CreationDate,
  _CalDteNotifCrtedOn.CalendarYear AS CalendarYear,
  _CalDteNotifCrtedOn.CalendarQuarter AS CalendarQuarter,
  _CalDteNotifCrtedOn._CalendarQuarter._Text[1:Language=$session.system_language].CalendarQuarterName AS CalendarQuarterName,
  _CalDteNotifCrtedOn.CalendarMonth AS CalendarMonth,
  _CalDteNotifCrtedOn._CalendarMonth._Text[1:Language=$session.system_language].CalendarMonthName AS CalendarMonthName,
  _CalDteNotifCrtedOn.CalendarWeek AS CalendarWeek,
  NotificationRequiredStartDate,
  cast( _CalDteNotifRqdStrtDte.CalendarYear as vdm_qmnotifrqdstrtyr ) AS NotifRqdStrtYr,
  cast( _CalDteNotifCrtedOn.CalendarQuarter as vdm_qmnotifrqdstrtqtr ) AS NotifRqdStrtQtr,
  cast( _CalDteNotifRqdStrtDte._CalendarQuarter._Text[1:Language=$session.system_language].CalendarQuarterName as vdm_qmnotifrqdstrtqtrname ) AS NotifRqdStrtQtrName,
  cast( _CalDteNotifRqdStrtDte.CalendarMonth as vdm_qmnotifrqdstrtmnth ) AS NotifRqdStrtMnth,
  cast( _CalDteNotifRqdStrtDte._CalendarMonth._Text[1:Language=$session.system_language].CalendarMonthName as vdm_qmnotifrqdstrtmnthname ) AS NotifRqdStrtMnthName,
  cast( _CalDteNotifRqdStrtDte.CalendarWeek as vdm_qmnotifrqdstrtwk ) AS NotifRqdStrtWk,
  NotificationCompletionDate,
  NotificationRequiredEndDate,
  _Supplier.SupplierName AS SupplierName,
  Supplier,
  _Customer.CustomerFullName AS CustomerFullName,
  Customer,
  _MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
  Material,
  _Plant.PlantName AS PlantName,
  Plant,
  WorkCenterText,
  WorkCenter,
  _WorkCenterPlant.PlantName AS WorkCenterPlantName,
  WorkCenterPlant,
  cast ( QualityNotificationCount as vdm_notifcnt ) AS QualityNotificationCount,
  cast ( QltyNotifProcessPeriod as vdm_qinsplotmeanproctime_notif ) AS QltyNotifProcessPeriod,
  cast ( CntOfQltyNotifOverdue as vdm_notifovrdcnt ) AS CntOfQltyNotifOverdue,
  cast( cast ( cast ( CntOfQltyNotifOverdue as abap.fltp ) / cast( QualityNotificationCount as abap.fltp ) as abap.fltp ) * cast( 100 as abap.fltp ) as vdm_notifovrdrate ) AS RateOfQltyNotifOvrd
FROM I_QltyNotifKeyFigCube
LEFT OUTER JOIN I_CalendarDate AS _CalDteNotifCrtedOn ON CreationDate = _CalDteNotifCrtedOn.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CalDteNotifRqdStrtDte ON NotificationRequiredStartDate = _CalDteNotifRqdStrtDte.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Customer AS _Customer ON Customer = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON _MaterialText.Material = Material AND _MaterialText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _WorkCenterPlant ON WorkCenterPlant = _WorkCenterPlant.Plant  -- association [0..1]
;