C_QltyTaskProcessDefectInfo
Defect Information for Quality Task
C_QltyTaskProcessDefectInfo is a Consumption CDS View that provides data about "Defect Information for Quality Task" in SAP S/4HANA. It reads from 1 data source (I_Defect_TP) and exposes 27 fields with key field DefectInternalID. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F2929, ASQL_F3250). Part of development package ODATA_QM_TASK.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Defect_TP | I_Defect_TP | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | C_QltyTaskProcDefectInfoLongT | _QltyTaskProcDefectInfoLongT | $projection.DefectInternalID = _QltyTaskProcDefectInfoLongT.DefectInternalID and $projection.MasterLanguage = _QltyTaskProcDefectInfoLongT.Language |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CQLTYTSKPRCDINFO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Defect Information for Quality Task | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | DefectInternalID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.compositionRoot | false | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.draftEnabled | false | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| Consumption.semanticObject | QualityTask | view | |
| Metadata.allowExtensions | true | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F2929 | ASQL_F2929 | C2 | NOT_RELEASED | |
| ASQL_F3250 | ASQL_F3250 | C2 | NOT_RELEASED |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DefectInternalID | DefectInternalID | Internal Defect ID | |
| Defect | Defect | |||
| DefectCategory | DefectCategory | |||
| DefectCategoryText | ||||
| DefectText | DefectText | |||
| DefectLifecycleStatus | DefectLifecycleStatus | |||
| DefectLifecycleStatusText | ||||
| DefectCodeGroup | DefectCodeGroup | Code Group | ||
| DefectCodeGroupText | ||||
| DefectCode | DefectCode | Damage Code | ||
| DefectCodeText | ||||
| QualityIssueReference | QualityIssueReference | Reference Number | ||
| Plant | Plant | Valuation Area | ||
| MasterLanguage | MasterLanguage | Primary lang. | ||
| DefectLongText | _QltyTaskProcDefectInfoLongT | DefectLongText | ||
| WorkCenterTypeCode | WorkCenterTypeCode | Object Type | ||
| MainWorkCenterInternalID | MainWorkCenterInternalID | Work Center | ||
| MainWorkCenter | MainWorkCenter | Work Center | ||
| MainWorkCenterPlant | MainWorkCenterPlant | Plnt WorkCenter | ||
| InspectionLot | InspectionLot | Inspection Lot | ||
| _DefectCategory | _DefectCategory | |||
| _DefectCodeGroup | _DefectCodeGroup | |||
| _DefectCode | _DefectCode | |||
| _DefectStatus | _DefectStatus | |||
| _Plant | _Plant | |||
| _InspectionLot | _InspectionLot | |||
| _QltyTaskProcDefectInfoLongT | _QltyTaskProcDefectInfoLongT |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_QltyTaskProcessDefectInfo.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: CQLTYTSKPRCDINFO
CREATE VIEW C_QltyTaskProcessDefectInfo AS
SELECT
DefectInternalID,
Defect,
DefectCategory,
_DefectCategory._Text[1: Language = $session.system_language].DefectCategoryText AS DefectCategoryText,
DefectText,
DefectLifecycleStatus,
_DefectStatus._DefectStatusText[1: Language = $session.system_language].DefectLifecycleStatusText AS DefectLifecycleStatusText,
DefectCodeGroup,
_DefectCodeGroup._Text[1: Language = $session.system_language].DefectCodeGroupText AS DefectCodeGroupText,
DefectCode,
_DefectCode._Text[1: Language = $session.system_language].DefectCodeText AS DefectCodeText,
QualityIssueReference,
Plant,
MasterLanguage,
_QltyTaskProcDefectInfoLongT.DefectLongText AS DefectLongText,
WorkCenterTypeCode,
MainWorkCenterInternalID,
MainWorkCenter,
MainWorkCenterPlant,
InspectionLot
FROM I_Defect_TP
LEFT OUTER JOIN C_QltyTaskProcDefectInfoLongT AS _QltyTaskProcDefectInfoLongT ON DefectInternalID = _QltyTaskProcDefectInfoLongT.DefectInternalID AND MasterLanguage = _QltyTaskProcDefectInfoLongT.Language -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA