A_DefectClass

DDL: A_DEFECTCLASS SQL: ADEFECTCLASS Type: view BASIC Package: ODATA_QM_DEFECT_API

Defect Classes

A_DefectClass is a Basic CDS View that provides data about "Defect Classes" in SAP S/4HANA. It reads from 1 data source (I_DefectClass) and exposes 3 fields with key field DefectClass. It has 1 association to related views. Part of development package ODATA_QM_DEFECT_API.

Data Sources (1)

SourceAliasJoin Type
I_DefectClass I_DefectClass from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_DefectClassText _Text $projection.DefectClass = _Text.DefectClass

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ADEFECTCLASS view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
EndUserText.label Defect Classes view
Metadata.ignorePropagatedAnnotations true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DefectClass DefectClass Defect Class
InspectionLotQualityScore InspectionLotQualityScore Inspection Lot Score
_Text _Text

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 A_DefectClass.
-- 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: ADEFECTCLASS

CREATE VIEW A_DefectClass AS
SELECT
  DefectClass,
  InspectionLotQualityScore
FROM I_DefectClass
LEFT OUTER JOIN A_DefectClassText AS _Text ON DefectClass = _Text.DefectClass  -- association [0..*]
;