P_MaintenanceOrderTaskList

DDL: P_MAINTENANCEORDERTASKLIST Type: view_entity COMPOSITE

P_MaintenanceOrderTaskList is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceTaskList, I_MaintenanceTaskList) and exposes 7 fields with key fields TaskListType, TaskListGroup, TaskListGroupCounter, TaskListType, TaskListGroup.

Data Sources (2)

SourceAliasJoin Type
I_MaintenanceTaskList TaskList from
I_MaintenanceTaskList TaskList union

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable false view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY TaskListType I_MaintenanceTaskList TaskListType Task List Type
KEY TaskListGroup I_MaintenanceTaskList TaskListGroup Group
KEY TaskListGroupCounter I_MaintenanceTaskList TaskListGroupCounter Group Counter
KEY TaskListType Task List Type
KEY TaskListGroup I_MaintenanceTaskList TaskListGroup Group
KEY TaskListGroupCounter I_MaintenanceTaskList TaskListGroupCounter Group Counter
KEY MaintOrdTaskListSelectionMode

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 P_MaintenanceOrderTaskList.
-- 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.

CREATE VIEW P_MaintenanceOrderTaskList AS
SELECT
  TaskList.TaskListType AS TaskListType,
  TaskList.TaskListGroup AS TaskListGroup,
  TaskList.TaskListGroupCounter AS TaskListGroupCounter,
  cast( '2' as maintordtasklistselectionmode ) AS MaintOrdTaskListSelectionMode
FROM I_MaintenanceTaskList AS TaskList
-- UNION with additional select branch(es): I_MaintenanceTaskList
;