I_DefectLocationCodeGroupText
Defect Location Code Group Text
I_DefectLocationCodeGroupText is a Basic CDS View that provides data about "Defect Location Code Group Text" in SAP S/4HANA. It reads from 1 data source (qpgt) and exposes 6 fields with key fields DefectLocationCatalog, DefectLocationCodeGroup, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpgt | qpgt | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_DefectLocationCatalog | _DefectLocationCatalog | $projection.DefectLocationCatalog = _DefectLocationCatalog.DefectLocationCatalog |
| [1..1] | I_DefectLocationCodeGroup | _DefectLocationCodeGroup | $projection.DefectLocationCatalog = _DefectLocationCodeGroup.DefectLocationCatalog and $projection.DefectLocationCodeGroup = _DefectLocationCodeGroup.DefectLocationCodeGroup |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDEFLOCCODEGRPT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | DefectLocationCodeGroup | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| EndUserText.label | Defect Location Code Group Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectLocationCatalog | |||
| KEY | DefectLocationCodeGroup | |||
| KEY | Language | qpgt | sprache | |
| DefectLocationCodeGroupText | ||||
| _DefectLocationCatalog | _DefectLocationCatalog | |||
| _DefectLocationCodeGroup | _DefectLocationCodeGroup |
@AbapCatalog.sqlViewName: 'IDEFLOCCODEGRPT'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #BASIC
@ObjectModel: {
representativeKey: 'DefectLocationCodeGroup',
usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING },
dataCategory: #TEXT
}
@EndUserText.label: 'Defect Location Code Group Text'
define view I_DefectLocationCodeGroupText as select from qpgt
association [1..1] to I_DefectLocationCatalog as _DefectLocationCatalog on $projection.DefectLocationCatalog = _DefectLocationCatalog.DefectLocationCatalog
association [1..1] to I_DefectLocationCodeGroup as _DefectLocationCodeGroup on $projection.DefectLocationCatalog = _DefectLocationCodeGroup.DefectLocationCatalog and
$projection.DefectLocationCodeGroup = _DefectLocationCodeGroup.DefectLocationCodeGroup
{
@ObjectModel.foreignKey.association: '_DefectLocationCatalog'
key cast( katalogart as vdm_qfeocat preserving type ) as DefectLocationCatalog,
@ObjectModel.foreignKey.association: '_DefectLocationCodeGroup'
key cast( qpgt.codegruppe as vdm_qfeogrp preserving type ) as DefectLocationCodeGroup,
@Semantics.language: true
key qpgt.sprache as Language,
@Semantics.text: true
cast( qpgt.kurztext as vdm_qfeogrp_text preserving type ) as DefectLocationCodeGroupText,
// Association
_DefectLocationCatalog,
_DefectLocationCodeGroup
} where //katalogart = 'B' or //Object Parts
katalogart = 'E' //Defect Locations
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"QPGT"
],
"ASSOCIATED":
[
"I_DEFECTLOCATIONCATALOG",
"I_DEFECTLOCATIONCODEGROUP"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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