I_DefectClass

DDL: I_DEFECTCLASS SQL: IDEFECTCLASS Type: view BASIC

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)

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
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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TQ17"
],
"ASSOCIATED":
[
"I_DEFECTCLASSTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/