I_QltyTskCodeGroup
Quality Task Code Group
I_QltyTskCodeGroup is a Basic CDS View that provides data about "Quality Task Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 4 fields with key field QualityTaskCodeGroup. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| qpgr | qpgr | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_QltyTskCodeGroupText | _QltyTskCodeGroupText | $projection.QualityTaskCodeGroup = _QltyTskCodeGroupText.QualityTaskCodeGroup |
| [0..*] | I_QltyTskCode | _QltyTskCode | $projection.QualityTaskCodeGroup = _QltyTskCode.QualityTaskCodeGroup |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IQTSKCODEGRP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| ObjectModel.representativeKey | QualityTaskCodeGroup | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| EndUserText.label | Quality Task Code Group | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | QualityTaskCodeGroup | |||
| CodeGroupStatus | qpgr | status | ||
| _QltyTskCodeGroupText | _QltyTskCodeGroupText | |||
| _QltyTskCode | _QltyTskCode |
@AbapCatalog: {
sqlViewName: 'IQTSKCODEGRP',
compiler.compareFilter: true,
preserveKey: true
}
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@ObjectModel: {
representativeKey: 'QualityTaskCodeGroup',
usageType: { serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING }
}
@EndUserText.label: 'Quality Task Code Group'
@Metadata.ignorePropagatedAnnotations: true
define view I_QltyTskCodeGroup as select from qpgr
association [0..*] to I_QltyTskCodeGroupText as _QltyTskCodeGroupText on $projection.QualityTaskCodeGroup = _QltyTskCodeGroupText.QualityTaskCodeGroup
association [0..*] to I_QltyTskCode as _QltyTskCode on $projection.QualityTaskCodeGroup = _QltyTskCode.QualityTaskCodeGroup
{
@ObjectModel.text.association: '_QltyTskCodeGroupText'
key cast( qpgr.codegruppe as vdm_qtaskcodegrp preserving type ) as QualityTaskCodeGroup,
// DB field has three values, but field shall be indicator
@Semantics.booleanIndicator: true
case qpgr.inaktiv
when ' ' then cast( ' ' as vdm_qm_codegroupisinactive preserving type )
else cast( 'X' as vdm_qm_codegroupisinactive preserving type )
end as CodeGroupIsInactive,
qpgr.status as CodeGroupStatus,
/* Associations */
_QltyTskCodeGroupText,
_QltyTskCode
} where qpgr.katalogart = '2' // Tasks
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"QPGR"
],
"ASSOCIATED":
[
"I_QLTYTSKCODE",
"I_QLTYTSKCODEGROUPTEXT"
],
"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