A_DefectCategory

DDL: A_DEFECTCATEGORY Type: view_entity COMPOSITE Package: ODATA_QM_DEFECT_API

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. Part of development package ODATA_QM_DEFECT_API.

Data Sources (1)

SourceAliasJoin Type
I_DefectCategory I_DefectCategory from

Associations (1)

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

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED 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
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

@EndUserText.label: 'Defect Categories'

@ObjectModel: {
    usageType: {
        dataClass: #ORGANIZATIONAL,
        sizeCategory: #S,
        serviceQuality: #B
    },
    representativeKey: 'DefectCategory'
}
//@Analytics.technicalName: 'ADEFECTCATEGORY'

@Metadata.ignorePropagatedAnnotations: true

define view entity 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)