A_DefectCategory
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)
| Source | Alias | Join Type |
|---|---|---|
| I_DefectCategory | I_DefectCategory | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_DefectCategoryText | _Text | $projection.DefectCategory = _Text.DefectCategory |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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)
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