I_DefectCodeGroupText
Defect Code Group - Text
I_DefectCodeGroupText is a Basic CDS View that provides data about "Defect Code Group - Text" in SAP S/4HANA. It reads from 1 data source (qpgt) and exposes 4 fields with key fields DefectCodeGroup, Language. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpgt | qpgt | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DefectCodeGroup | _DefectCodeGroup | $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDEFECTCODEGRPT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Defect Code Group - Text | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | DefectCodeGroup | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| Search.searchable | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectCodeGroup | |||
| KEY | Language | qpgt | sprache | |
| DefectCodeGroupText | ||||
| _DefectCodeGroup | _DefectCodeGroup |
@AbapCatalog.sqlViewName: 'IDEFECTCODEGRPT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Defect Code Group - Text'
@AccessControl.authorizationCheck: #CHECK
@VDM: {
viewType:#BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel.supportedCapabilities:
[ #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #CDS_MODELING_ASSOCIATION_TARGET, #LANGUAGE_DEPENDENT_TEXT ]
@ObjectModel: {
representativeKey: 'DefectCodeGroup',
usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING },
dataCategory: #TEXT
}
@Search.searchable: true
@Metadata.ignorePropagatedAnnotations: true
define view I_DefectCodeGroupText as select from qpgt
association [1..1] to I_DefectCodeGroup as _DefectCodeGroup on $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup
{
key cast( qpgt.codegruppe as vdm_qfegrp preserving type ) as DefectCodeGroup,
@Semantics.language: true
key qpgt.sprache as Language,
@Semantics.text: true
@Search: {
defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #HIGH
}
cast( qpgt.kurztext as vdm_qfegrp_text preserving type ) as DefectCodeGroupText,
// Association
_DefectCodeGroup
} where katalogart = '9' // Defects
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