I_DefectClass
Defect Class
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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tq17 | tq17 | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_DefectClassText | _Text | $projection.DefectClass = _Text.DefectClass |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectClass | fehlklasse | ||
| InspectionLotQualityScore | kennzahl | |||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'IDEFECTCLASS'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@EndUserText.label: 'Defect Class'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel.sapObjectNodeType.name: 'DefectClass'
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET ]
@ObjectModel: {
usageType: { dataClass: #CUSTOMIZING, sizeCategory: #S, serviceQuality: #A },
representativeKey: 'DefectClass'
}
@Metadata.ignorePropagatedAnnotations: true
@Search.searchable: true
define view I_DefectClass as select from tq17
association [0..*] to I_DefectClassText as _Text
on $projection.DefectClass = _Text.DefectClass
{
@ObjectModel.text.association: '_Text'
@Search: {
defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #HIGH
}
key fehlklasse as DefectClass,
@Search: {
defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #LOW
}
kennzahl as InspectionLotQualityScore,
// Associations
_Text
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA