I_DefectClass

DDL: I_DEFECTCLASS SQL: IDEFECTCLASS Type: view BASIC

Defect Class

I_DefectClass (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Defect Class · Manufacturing

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

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-IM
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the definition of defect classes.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tq17 tq17 from

Associations (1)

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

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IDEFECTCLASS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Defect Class view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.sapObjectNodeType.name DefectClass view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey DefectClass view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DefectClass fehlklasse Defect Class
InspectionLotQualityScore kennzahl Quality 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 I_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: IDEFECTCLASS

CREATE VIEW I_DefectClass AS
SELECT
  fehlklasse AS DefectClass,
  kennzahl AS InspectionLotQualityScore
FROM tq17
LEFT OUTER JOIN I_DefectClassText AS _Text ON DefectClass = _Text.DefectClass  -- association [0..*]
;