I_DefectLocationCodeText
Defect Location Code Text
I_DefectLocationCodeText is a Basic CDS View that provides data about "Defect Location Code Text" in SAP S/4HANA. It reads from 1 data source (qpct) and exposes 9 fields with key fields DefectLocationCatalog, DefectLocationCodeGroup, DefectLocationCode, Language.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpct | qpct | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IDEFLOCCDTXR | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | DefectLocationCode | view | |
| EndUserText.label | Defect Location Code Text | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectLocationCatalog | |||
| KEY | DefectLocationCodeGroup | |||
| KEY | DefectLocationCode | |||
| KEY | Language | sprache | ||
| DefectLocationCodeText | ||||
| _DefectLocationCatalog | _DefectLocationCatalog | |||
| _DefectLocationCodeGroup | _DefectLocationCodeGroup | |||
| _DefectLocationCode | _DefectLocationCode | |||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'IDEFLOCCDTXR'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel:{
usageType:{
dataClass: #CUSTOMIZING,
serviceQuality: #A,
sizeCategory: #S
},
dataCategory: #TEXT,
representativeKey: 'DefectLocationCode'
}
@EndUserText.label: 'Defect Location Code Text'
define view I_DefectLocationCodeText as select from qpct
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
association[1..1] to I_DefectLocationCode as _DefectLocationCode on $projection.DefectLocationCatalog = _DefectLocationCode.DefectLocationCatalog and
$projection.DefectLocationCodeGroup = _DefectLocationCode.DefectLocationCodeGroup and
$projection.DefectLocationCode = _DefectLocationCode.DefectLocationCode
association[1..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_DefectLocationCatalog'
key cast( katalogart as vdm_qfeocat preserving type ) as DefectLocationCatalog,
@ObjectModel.foreignKey.association: '_DefectLocationCodeGroup'
key cast( codegruppe as vdm_qfeogrp preserving type ) as DefectLocationCodeGroup,
@ObjectModel:{
foreignKey.association: '_DefectLocationCode',
text.element: ['DefectLocationCodeText']
}
key cast( code as vdm_qfeocod preserving type ) as DefectLocationCode,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key sprache as Language,
@Semantics.text: true
cast( kurztext as vdm_qfeocod_text preserving type ) as DefectLocationCodeText,
_DefectLocationCatalog,
_DefectLocationCodeGroup,
_DefectLocationCode,
_Language
} where
(
// katalogart = 'B' or //Object Parts
katalogart = 'E' //Defect Locations
)
and qpct.version = '000001'
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