C_QltyTskMng

DDL: C_QLTYTSKMNG SQL: CQLTYTSKMNG Type: view CONSUMPTION

Manage Quality Tasks

C_QltyTskMng is a Consumption CDS View that provides data about "Manage Quality Tasks" in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, I_QualityTaskTP) and exposes 33 fields with key field QualityTaskInternalId. It has 5 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CalendarDate I_CalendarDate left_outer
I_QualityTaskTP I_QualityTaskTP from

Associations (5)

CardinalityTargetAliasCondition
[1..1] C_QltyTskAssgdVislFltr _QltyTskAssgdVislFltr $projection.QualityTaskInternalId = _QltyTskAssgdVislFltr.QualityTaskInternalId
[1..1] C_QltyTskStsVislFltr _QltyTskStsVislFltr $projection.QualityTaskInternalId = _QltyTskStsVislFltr.QualityTaskInternalId
[1..1] C_QltyTskDefectCatVislFltr _QltyTskDefectCatVislFltr $projection.QualityTaskInternalId = _QltyTskDefectCatVislFltr.QualityTaskInternalId
[0..1] I_UserContactCard _UserContactCard $projection.userid = _UserContactCard.ContactCardID
[1..1] I_QltyTskNoPlndEndDte _QltyTskNoPlndEndDte $projection.EndDateWeek = _QltyTskNoPlndEndDte.CalendarWeek

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CQLTYTSKMNG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Manage Quality Tasks view
ObjectModel.representativeKey QualityTaskInternalId view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
Search.searchable true view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Quality Task view
UI.headerInfo.typeNamePlural Quality Tasks view
UI.headerInfo.title.value QualityTask view
UI.headerInfo.description.value QualityTaskText view

Fields (33)

KeyFieldSource TableSource FieldDescription
KEY QualityTaskInternalId QualityTaskInternalId
QualityTask QualityTask
QualityTaskText QualityTaskText
QualityTaskLifecycleStatus QualityTaskLifecycleStatus
QualityTaskLifecycleStatusText
CriticalityCode 0
NotifTaskPlannedEndDate NotifTaskPlannedEndDate
QualityTaskProcessor QualityTaskProcessor
FullName _QualityTaskProcessor FullName Name
UserID _QualityTaskProcessor UserID User Name
Defect
DefectText _Defect_TP DefectText
DefectCategory
DefectCategoryText
QualityTaskOrigin QualityTaskOrigin
IsDeleted TRUE
NotifTaskCompletedByUser NotifTaskCompletedByUser
NotifTaskCompletionDate NotifTaskCompletionDate
DefectInternalID DefectInternalID Internal Defect ID
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
NumberOfTasks
EndDateWeek CalendarWeek Calendar Week
_Defect_TP _Defect_TP
_QualityTaskProcessor _QualityTaskProcessor
_QualityTaskStatus _QualityTaskStatus
_QltyTskAssgdVislFltr _QltyTskAssgdVislFltr
_QltyTskStsVislFltr _QltyTskStsVislFltr
_UserContactCard _UserContactCard
_QltyTskDefectCatVislFltr _QltyTskDefectCatVislFltr
_QltyTskNoPlndEndDte _QltyTskNoPlndEndDte

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_QltyTskMng.
-- 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: CQLTYTSKMNG

CREATE VIEW C_QltyTskMng AS
SELECT
  QualityTaskInternalId,
  QualityTask,
  QualityTaskText,
  QualityTaskLifecycleStatus,
  _QualityTaskStatus._QualityTaskStatusText[1:Language=$session.system_language].QualityTaskLifecycleStatusText AS QualityTaskLifecycleStatusText,
  0 AS CriticalityCode,
  NotifTaskPlannedEndDate,
  QualityTaskProcessor,
  _QualityTaskProcessor.FullName AS FullName,
  _QualityTaskProcessor.UserID AS UserID,
  cast( _Defect_TP.Defect as vdm_qdefectid preserving type ) AS Defect,
  _Defect_TP.DefectText AS DefectText,
  _Defect_TP._DefectCategory.DefectCategory AS DefectCategory,
  _Defect_TP._DefectCategory._Text[1:Language = $session.system_language].DefectCategoryText AS DefectCategoryText,
  QualityTaskOrigin,
  cast( IsDeleted as vdm_qm_qualitytaskdeleted preserving type ) AS IsDeleted,
  NotifTaskCompletedByUser,
  NotifTaskCompletionDate,
  DefectInternalID,
  CreatedByUser,
  CreationDate,
  LastChangedByUser,
  LastChangeDate,
  cast ( 1 as vdm_qm_plannedendcnt ) AS NumberOfTasks,
  CalendarWeek AS EndDateWeek
FROM I_QualityTaskTP
LEFT OUTER JOIN I_CalendarDate ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_QltyTskAssgdVislFltr AS _QltyTskAssgdVislFltr ON QualityTaskInternalId = _QltyTskAssgdVislFltr.QualityTaskInternalId  -- association [1..1]
LEFT OUTER JOIN C_QltyTskStsVislFltr AS _QltyTskStsVislFltr ON QualityTaskInternalId = _QltyTskStsVislFltr.QualityTaskInternalId  -- association [1..1]
LEFT OUTER JOIN C_QltyTskDefectCatVislFltr AS _QltyTskDefectCatVislFltr ON QualityTaskInternalId = _QltyTskDefectCatVislFltr.QualityTaskInternalId  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON userid = _UserContactCard.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_QltyTskNoPlndEndDte AS _QltyTskNoPlndEndDte ON EndDateWeek = _QltyTskNoPlndEndDte.CalendarWeek  -- association [1..1]
;