C_InspectionLotQltyScore

DDL: C_INSPECTIONLOTQLTYSCORE Type: view CONSUMPTION Package: ODATA_QM_INSPECTION_ANALYTICS

Inspection Lot Analytics - Quality Score

C_InspectionLotQltyScore is a Consumption CDS View (Cube) that provides data about "Inspection Lot Analytics - Quality Score" in SAP S/4HANA. It reads from 1 data source (I_InspectionLotQltyScoreCube) and exposes 32 fields. It has 4 associations to related views. It is exposed through 3 OData services (ASQL_F3239, ASQL_F8794, ASQL_F8795). Part of development package ODATA_QM_INSPECTION_ANALYTICS.

Data Sources (1)

SourceAliasJoin Type
I_InspectionLotQltyScoreCube I_InspectionLotQltyScoreCube from

Parameters (5)

NameTypeDefault
hidden true
P_StartDate mm_a_delivery_date
hidden true
P_EndDate mm_a_delivery_date
P_DateFunction vdm_qvedatum_dfid

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_CalendarDate _CalDteInspLotCrtedOn $projection.InspectionLotCreatedOn = _CalDteInspLotCrtedOn.CalendarDate
[1..1] I_CalendarDate _CalDteInspLotUsageDecidedOn $projection.InspectionLotUsageDecidedOn = _CalDteInspLotUsageDecidedOn.CalendarDate
[0..1] I_InspectionLotTypeText _InspectionLotTypeText $projection.InspectionLotType = _InspectionLotTypeText.InspectionLotType
[0..1] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material

Annotations (14)

NameValueLevelField
AbapCatalog.buffering.status #NOT_ALLOWED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName CINSPLOTQSCORE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataCategory #CUBE view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Inspection Lot Analytics - Quality Score view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

OData Services (3)

ServiceBindingVersionContractRelease
ASQL_F3239 ASQL_F3239 C2 NOT_RELEASED
ASQL_F8794 ASQL_F8794 C2 NOT_RELEASED
ASQL_F8795 ASQL_F8795 C2 NOT_RELEASED

Fields (32)

KeyFieldSource TableSource FieldDescription
hiddentrueP_StartDatemm_a_delivery_date
hiddentrueP_EndDatemm_a_delivery_date
P_StartDate
MaterialkeyInspectionLot
InspectionLotType InspectionLotType Inspection Type
InspectionLotTypeText
Material Material Vehicle Model
MaterialName
Plant Plant Valuation Area
PlantName _Plant PlantName Plant Name
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
Customer Customer Sold-to Party
CustomerFullName _Customer CustomerFullName Customer Name
Manufacturer Manufacturer Manufacturer
ManufacturerName _Manufacturer SupplierName Supplier Name
InspectionLotOrigin InspectionLotOrigin
InspectionLotCreatedOn InspectionLotCreatedOn
InspectionLotUsageDecidedOn InspectionLotUsageDecidedOn
MeanQualityScore Inspection Lot Score
InspectionLotCreatedOnQuarter
InspectionLotCreatedOnQtrName
InspectionLotCreatedOnMonth
InspectionLotCreatedOnMnthName
InspectionLotCreatedOnWeek
InspLotUsgeDecidedOnQuarter
InspLotUsgeDecidedOnQtrName
InspLotUsgeDecidedOnMonth
InspLotUsgeDecidedOnMnthName
InspLotUsgeDecidedOnWeek
EndMatlQualityAuthorizationGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose 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 C_InspectionLotQltyScore.
-- 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_qvedatum_dfid

CREATE VIEW C_InspectionLotQltyScore 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,
  InspectionLotType,
  _InspectionLotTypeText[1:Language=$session.system_language].InspectionLotTypeText AS InspectionLotTypeText,
  Material,
  _MaterialText[1:Language=$session.system_language].MaterialName AS MaterialName,
  Plant,
  _Plant.PlantName AS PlantName,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  Customer,
  _Customer.CustomerFullName AS CustomerFullName,
  Manufacturer,
  _Manufacturer.SupplierName AS ManufacturerName,
  InspectionLotOrigin,
  InspectionLotCreatedOn,
  InspectionLotUsageDecidedOn,
  cast( InspectionLotQualityScore as vdm_qkennzahl ) AS MeanQualityScore,
  cast( _CalDteInspLotCrtedOn.CalendarQuarter as vdm_qminsplotcrtedqtr preserving type ) AS InspectionLotCreatedOnQuarter,
  _CalDteInspLotCrtedOn._CalendarQuarter._Text[1:Language=$session.system_language].CalendarQuarterName AS InspectionLotCreatedOnQtrName,
  cast( _CalDteInspLotCrtedOn.CalendarMonth as vdm_qminsplotcrtedmnth preserving type ) AS InspectionLotCreatedOnMonth,
  _CalDteInspLotCrtedOn._CalendarMonth._Text[1:Language=$session.system_language].CalendarMonthName AS InspectionLotCreatedOnMnthName,
  cast( _CalDteInspLotCrtedOn.CalendarWeek as vdm_qminsplotcrtedwk preserving type ) AS InspectionLotCreatedOnWeek,
  cast( _CalDteInspLotUsageDecidedOn.CalendarQuarter as vdm_qminsplotusgdcsnqtr preserving type ) AS InspLotUsgeDecidedOnQuarter,
  _CalDteInspLotUsageDecidedOn._CalendarQuarter._Text[1:Language=$session.system_language].CalendarQuarterName AS InspLotUsgeDecidedOnQtrName,
  cast( _CalDteInspLotUsageDecidedOn.CalendarMonth as vdm_qminsplotusgdcsnmnth preserving type ) AS InspLotUsgeDecidedOnMonth,
  _CalDteInspLotUsageDecidedOn._CalendarMonth._Text[1:Language=$session.system_language].CalendarMonthName AS InspLotUsgeDecidedOnMnthName,
  cast( _CalDteInspLotUsageDecidedOn.CalendarWeek as vdm_qminsplotusgdcsnwk preserving type ) AS InspLotUsgeDecidedOnWeek,
  IsBusinessPurposeCompleted
FROM I_InspectionLotQltyScoreCube
LEFT OUTER JOIN I_CalendarDate AS _CalDteInspLotCrtedOn ON InspectionLotCreatedOn = _CalDteInspLotCrtedOn.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_CalendarDate AS _CalDteInspLotUsageDecidedOn ON InspectionLotUsageDecidedOn = _CalDteInspLotUsageDecidedOn.CalendarDate  -- association [1..1]
LEFT OUTER JOIN I_InspectionLotTypeText AS _InspectionLotTypeText ON InspectionLotType = _InspectionLotTypeText.InspectionLotType  -- association [0..1]
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..1]
;