A_DefectCategory

DDL: A_DEFECTCATEGORY SQL: ADEFECTCATEGORY Type: view COMPOSITE

Defect Categories

A_DefectCategory is a Composite CDS View that provides data about "Defect Categories" in SAP S/4HANA. It reads from 1 data source (I_DefectCategory) and exposes 2 fields with key field DefectCategory. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_DefectCategory I_DefectCategory from

Associations (1)

CardinalityTargetAliasCondition
[0..*] A_DefectCategoryText _Text $projection.DefectCategory = _Text.DefectCategory

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ADEFECTCATEGORY view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Defect Categories view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey DefectCategory view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY DefectCategory DefectCategory
_Text _Text
@AbapCatalog.sqlViewName: 'ADEFECTCATEGORY'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

@EndUserText.label: 'Defect Categories'

@ObjectModel: {
    usageType: {
        dataClass: #ORGANIZATIONAL,
        sizeCategory: #S,
        serviceQuality: #B
    },
    representativeKey: 'DefectCategory'
}
@Metadata.ignorePropagatedAnnotations: true

define view A_DefectCategory as select from I_DefectCategory 
    
    association [0..*] to A_DefectCategoryText as _Text on $projection.DefectCategory = _Text.DefectCategory
   
{  
   key DefectCategory,
   
   /* Associations */
   _Text
    
} where DefectCategory <> '' 
    and DefectCategory <> '07' // Not supported in Odata API at all (at the moment)

    and DefectCategory <> '08' // Not supported in Odata API at all (at the moment)

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_DEFECTCATEGORY"
],
"ASSOCIATED":
[
"A_DEFECTCATEGORYTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/