A_DefectCategoryText

DDL: A_DEFECTCATEGORYTEXT SQL: ADEFECTCATEGORYT Type: view COMPOSITE

Defect Category Texts

A_DefectCategoryText is a Composite CDS View that provides data about "Defect Category Texts" in SAP S/4HANA. It reads from 1 data source (I_DefectCategoryText) and exposes 4 fields with key fields DefectCategory, Language. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_DefectCategoryText _DefectCategoryText from

Associations (1)

CardinalityTargetAliasCondition
[0..1] A_DefectCategory _DefectCategory $projection.DefectCategory = _DefectCategory.DefectCategory

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ADEFECTCATEGORYT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey 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 Category Texts view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey DefectCategory view
ObjectModel.compositionRoot false view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DefectCategory I_DefectCategoryText DefectCategory
KEY Language I_DefectCategoryText Language
DefectCategoryText I_DefectCategoryText DefectCategoryText
_DefectCategory _DefectCategory
@AbapCatalog.sqlViewName: 'ADEFECTCATEGORYT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API

@EndUserText.label: 'Defect Category Texts'

@ObjectModel: {
    usageType: {
        dataClass: #ORGANIZATIONAL,
        sizeCategory: #S,
        serviceQuality: #A
    },
    dataCategory: #TEXT,
    representativeKey: 'DefectCategory',
    compositionRoot: false
}
@Metadata.ignorePropagatedAnnotations: true

define view A_DefectCategoryText as select from I_DefectCategoryText as _DefectCategoryText

    association [0..1] to A_DefectCategory as _DefectCategory on $projection.DefectCategory = _DefectCategory.DefectCategory

{
   @ObjectModel.foreignKey.association: '_DefectCategory'
   key _DefectCategoryText.DefectCategory,
   @Semantics.language: true
   key _DefectCategoryText.Language,

   @Semantics.text: true
   _DefectCategoryText.DefectCategoryText,

   /* Associations */
   _DefectCategory   
} 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)