I_MaintenanceTaskList
Maintenance Task List
I_MaintenanceTaskList (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Asset Management
I_MaintenanceTaskList is a Composite CDS View that provides data about "Maintenance Task List" in SAP S/4HANA. It reads from 2 data sources (I_BillOfOperations, I_BillOfOperationsChangeState) and exposes 59 fields with key fields TaskListType, TaskListGroup, TaskListGroupCounter. It has 10 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Asset Management |
| Application Component | PM |
| Capabilities | Data Source for Defining CDS Entities |
| Package | Asset Management for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillOfOperations | I_BillOfOperations | from |
| I_BillOfOperationsChangeState | I_BillOfOperationsChangeState | inner |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceTaskListType | _TaskListType | _TaskListType.TaskListType = $projection.TaskListType |
| [0..1] | I_PMReferenceElement | _PMReferenceElement | _PMReferenceElement.ReferenceElement = $projection.ReferenceElement |
| [0..1] | I_SafetyRelevance | _SafetyRelevance | _SafetyRelevance.SafetyRelevantObject = $projection.SafetyRelevantObject and _SafetyRelevance.SafetyRelevantObjectType = 'TL' |
| [0..1] | P_TaskListToEquipAlloc | _TaskListEquip | _TaskListEquip.TaskListType = $projection.TaskListType and _TaskListEquip.TaskListGroup = $projection.TaskListGroup |
| [0..1] | P_TaskListToFuncnlLocAlloc | _TaskListFuncnlLoc | _TaskListFuncnlLoc.TaskListType = $projection.TaskListType and _TaskListFuncnlLoc.TaskListGroup = $projection.TaskListGroup |
| [0..1] | I_TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc |
| [0..1] | I_TechnicalObject | _TechnicalObject | _TechnicalObject.TechnicalObject = $projection.TechnicalObject and _TechnicalObject.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc |
| [0..*] | I_MaintTaskListOperation | _MaintTaskListOperation | _MaintTaskListOperation.TaskListType = $projection.TaskListType and _MaintTaskListOperation.TaskListGroup = $projection.TaskListGroup and _MaintTaskListOperation.TaskListGroupCounter = $projection.TaskListGroupCounter |
| [1..1] | I_BillOfOperationsGroup | _TaskListGroup | _TaskListGroup.BillOfOperationsType = $projection.TaskListType and _TaskListGroup.BillOfOperationsGroup = $projection.TaskListGroup and ( _TaskListGroup.BillOfOperationsType = 'A' or _TaskListGroup.BillOfOperationsType = 'E' or _TaskListGroup.BillOfOperationsType = 'T' ) |
| [1..1] | I_BillOfOperations | _TaskListGroupCounter | _TaskListGroupCounter.BillOfOperationsType = $projection.TaskListType and _TaskListGroupCounter.BillOfOperationsGroup = $projection.TaskListGroup and _TaskListGroupCounter.BillOfOperationsVariant = $projection.TaskListGroupCounter and ( _TaskListGroupCounter.BillOfOperationsType = 'A' or _TaskListGroupCounter.BillOfOperationsType = 'E' or _TaskListGroupCounter.BillOfOperationsType = 'T' ) |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | IMAINTTASKLIST | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Maintenance Task List | view | |
| ObjectModel.representativeKey | TaskListGroupCounter | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.viewType | #COMPOSITE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaskListType | I_BillOfOperations | BillOfOperationsType | Task List Type |
| KEY | TaskListGroup | I_BillOfOperations | BillOfOperationsGroup | Key for Task List Group |
| KEY | TaskListGroupCounter | I_BillOfOperations | BillOfOperationsVariant | Task List Group Counter |
| TaskListDesc | I_BillOfOperationsChangeState | BillOfOperationsDesc | Routing Description | |
| MaintenanceStrategy | I_BillOfOperationsChangeState | MaintenanceStrategy | Maintenance Strategy | |
| Plant | I_BillOfOperationsChangeState | Plant | Valuation Area | |
| ResponsiblePlannerGroup | I_BillOfOperationsChangeState | ResponsiblePlannerGroup | Responsible Planner Group or Department | |
| WorkCenterTypeCode | I_BillOfOperationsChangeState | WorkCenterTypeCode | Object types of the CIM resource | |
| WorkCenterInternalID | I_BillOfOperationsChangeState | WorkCenterInternalID | Work center group with planning function | |
| TaskListStatus | I_BillOfOperationsChangeState | BillOfOperationsStatus | Vehicle Status | |
| ValidityStartDate | I_BillOfOperationsChangeState | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | I_BillOfOperationsChangeState | ValidityEndDate | Valid-To Date | |
| ChangeNumber | I_BillOfOperationsChangeState | ChangeNumber | Change Number | |
| Assembly | I_BillOfOperationsChangeState | Assembly | Pegged Reqmt | |
| OperationSystemCondition | I_BillOfOperationsChangeState | OperationSystemCondition | System Condition | |
| ReferenceElement | I_BillOfOperationsChangeState | ReferenceElement | Reference Element PM/PS | |
| TaskListUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | Work Center Category | |
| InspSubsetFieldCombination | I_BillOfOperationsChangeState | InspSubsetFieldCombination | Identification for the Inspection Point Field Combination | |
| InspExternalNumberingOfValues | I_BillOfOperationsChangeState | InspExternalNumberingOfValues | External Numbering of Units to Be Inspected | |
| ControllingArea | I_BillOfOperationsChangeState | ControllingArea | Controlling Area | |
| BillOfOperationIsConfigurable | I_BillOfOperationsChangeState | BillOfOperationIsConfigurable | Configurable Material | |
| IsDeleted | I_BillOfOperationsChangeState | IsDeleted | Deletion Indicator | |
| IsMarkedForDeletion | I_BillOfOperationsChangeState | IsMarkedForDeletion | Indicator: Delete completely in reorganization run | |
| Equipment | _TaskListEquip | Equipment | Equipment Number | |
| FunctionalLocation | _TaskListFuncnlLoc | FunctionalLocation | Functional Location | |
| FunctionalLocationLabelName | Functional Location Label | |||
| TaskListVersionCounter | I_BillOfOperationsChangeState | BOOInternalVersionCounter | Internal counter | |
| LastChangeDate | I_BillOfOperations | LastChangeDate | Date of the last change made to the task list | |
| LastChangedByUser | I_BillOfOperations | LastChangedByUser | Last Changed By User | |
| CreatedByUser | I_BillOfOperationsChangeState | CreatedByUser | Created By User | |
| CreationDate | I_BillOfOperationsChangeState | CreationDate | Date Record Created On | |
| BillOfOperationsUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | Work Center Category | |
| MaintenancePlanningPlant | I_BillOfOperationsChangeState | MaintenancePlanningPlant | Maintenance Planning Plant | |
| TaskListIsHierarchical | I_BillOfOperationsChangeState | TaskListIsHierarchical | Sign: Task List Contains Hierarchical Operations | |
| LastChangeDateTime | I_BillOfOperationsChangeState | BillOfOperationsDateTime | UTC Time Stamp in Short Form (YYYYMMDDhhmmss) | |
| _MaintenanceStrategy | I_BillOfOperationsChangeState | _MaintenanceStrategy | ||
| _Plant | I_BillOfOperationsChangeState | _Plant | ||
| _ResponsiblePlannerGroup | I_BillOfOperationsChangeState | _ResponsiblePlannerGroup | ||
| _TaskListStatus | I_BillOfOperationsChangeState | _BillOfOperationsStatus | ||
| _WorkCenter | I_BillOfOperationsChangeState | _WorkCenter | ||
| _Assembly | I_BillOfOperationsChangeState | _Assembly | ||
| _OperationSystemCondition | I_BillOfOperationsChangeState | _OperationSystemCondition | ||
| _TaskListUsage | I_BillOfOperationsChangeState | _BillOfOperationsUsage | ||
| _InspSubsetFieldCombination | I_BillOfOperationsChangeState | _InspSubsetFieldCombination | ||
| _InspExtNumbering | I_BillOfOperationsChangeState | _InspExtNumbering | ||
| _MaintenancePlanningPlant | I_BillOfOperationsChangeState | _MaintenancePlanningPlant | ||
| _ControllingArea | I_BillOfOperationsChangeState | _ControllingArea | ||
| _ConfigurableIndicator | I_BillOfOperationsChangeState | _ConfigurableIndicator | ||
| LongTextLanguageCode | I_BillOfOperationsChangeState | LongTextLanguageCode | Language Key | |
| _TaskListType | _TaskListType | |||
| _TaskListGroup | _TaskListGroup | |||
| _TaskListGroupCounter | _TaskListGroupCounter | |||
| _PMReferenceElement | _PMReferenceElement | |||
| _SafetyRelevance | _SafetyRelevance | |||
| _TechnicalObject | _TechnicalObject | |||
| _TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc | |||
| _MaintTaskListOperation | _MaintTaskListOperation | |||
| _Equipment | _TaskListEquip | _Equipment | ||
| _FunctionalLocation | _TaskListFuncnlLoc | _FunctionalLocation |
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 I_MaintenanceTaskList.
-- 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: IMAINTTASKLIST
CREATE VIEW I_MaintenanceTaskList AS
SELECT
I_BillOfOperations.BillOfOperationsType AS TaskListType,
I_BillOfOperations.BillOfOperationsGroup AS TaskListGroup,
I_BillOfOperations.BillOfOperationsVariant AS TaskListGroupCounter,
I_BillOfOperationsChangeState.BillOfOperationsDesc AS TaskListDesc,
I_BillOfOperationsChangeState.MaintenanceStrategy AS MaintenanceStrategy,
I_BillOfOperationsChangeState.Plant AS Plant,
I_BillOfOperationsChangeState.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
I_BillOfOperationsChangeState.WorkCenterTypeCode AS WorkCenterTypeCode,
I_BillOfOperationsChangeState.WorkCenterInternalID AS WorkCenterInternalID,
I_BillOfOperationsChangeState.BillOfOperationsStatus AS TaskListStatus,
I_BillOfOperationsChangeState.ValidityStartDate AS ValidityStartDate,
I_BillOfOperationsChangeState.ValidityEndDate AS ValidityEndDate,
I_BillOfOperationsChangeState.ChangeNumber AS ChangeNumber,
I_BillOfOperationsChangeState.Assembly AS Assembly,
I_BillOfOperationsChangeState.OperationSystemCondition AS OperationSystemCondition,
I_BillOfOperationsChangeState.ReferenceElement AS ReferenceElement,
I_BillOfOperationsChangeState.BillOfOperationsUsage AS TaskListUsage,
I_BillOfOperationsChangeState.InspSubsetFieldCombination AS InspSubsetFieldCombination,
I_BillOfOperationsChangeState.InspExternalNumberingOfValues AS InspExternalNumberingOfValues,
I_BillOfOperationsChangeState.ControllingArea AS ControllingArea,
I_BillOfOperationsChangeState.BillOfOperationIsConfigurable AS BillOfOperationIsConfigurable,
I_BillOfOperationsChangeState.IsDeleted AS IsDeleted,
I_BillOfOperationsChangeState.IsMarkedForDeletion AS IsMarkedForDeletion,
_TaskListEquip.Equipment AS Equipment,
_TaskListFuncnlLoc.FunctionalLocation AS FunctionalLocation,
_TaskListFuncnlLoc._FunctionalLocation._FunctionalLocationLabel.FunctionalLocationLabelName AS FunctionalLocationLabelName,
I_BillOfOperationsChangeState.BOOInternalVersionCounter AS TaskListVersionCounter,
I_BillOfOperations.LastChangeDate AS LastChangeDate,
I_BillOfOperations.LastChangedByUser AS LastChangedByUser,
I_BillOfOperationsChangeState.CreatedByUser AS CreatedByUser,
I_BillOfOperationsChangeState.CreationDate AS CreationDate,
I_BillOfOperationsChangeState.BillOfOperationsUsage AS BillOfOperationsUsage,
I_BillOfOperationsChangeState.MaintenancePlanningPlant AS MaintenancePlanningPlant,
I_BillOfOperationsChangeState.TaskListIsHierarchical AS TaskListIsHierarchical,
I_BillOfOperationsChangeState.BillOfOperationsDateTime AS LastChangeDateTime,
I_BillOfOperationsChangeState._MaintenanceStrategy AS _MaintenanceStrategy,
I_BillOfOperationsChangeState._Plant AS _Plant,
I_BillOfOperationsChangeState._ResponsiblePlannerGroup AS _ResponsiblePlannerGroup,
I_BillOfOperationsChangeState._BillOfOperationsStatus AS _TaskListStatus,
I_BillOfOperationsChangeState._WorkCenter AS _WorkCenter,
I_BillOfOperationsChangeState._Assembly AS _Assembly,
I_BillOfOperationsChangeState._OperationSystemCondition AS _OperationSystemCondition,
I_BillOfOperationsChangeState._BillOfOperationsUsage AS _TaskListUsage,
I_BillOfOperationsChangeState._InspSubsetFieldCombination AS _InspSubsetFieldCombination,
I_BillOfOperationsChangeState._InspExtNumbering AS _InspExtNumbering,
I_BillOfOperationsChangeState._MaintenancePlanningPlant AS _MaintenancePlanningPlant,
I_BillOfOperationsChangeState._ControllingArea AS _ControllingArea,
I_BillOfOperationsChangeState._ConfigurableIndicator AS _ConfigurableIndicator,
I_BillOfOperationsChangeState.LongTextLanguageCode AS LongTextLanguageCode,
_TaskListEquip._Equipment AS _Equipment,
_TaskListFuncnlLoc._FunctionalLocation AS _FunctionalLocation
FROM I_BillOfOperations
INNER JOIN I_BillOfOperationsChangeState ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaintenanceTaskListType AS _TaskListType ON _TaskListType.TaskListType = TaskListType -- association [0..1]
LEFT OUTER JOIN I_PMReferenceElement AS _PMReferenceElement ON _PMReferenceElement.ReferenceElement = ReferenceElement -- association [0..1]
LEFT OUTER JOIN I_SafetyRelevance AS _SafetyRelevance ON _SafetyRelevance.SafetyRelevantObject = SafetyRelevantObject AND _SafetyRelevance.SafetyRelevantObjectType = 'TL' -- association [0..1]
LEFT OUTER JOIN P_TaskListToEquipAlloc AS _TaskListEquip ON _TaskListEquip.TaskListType = TaskListType AND _TaskListEquip.TaskListGroup = TaskListGroup -- association [0..1]
LEFT OUTER JOIN P_TaskListToFuncnlLocAlloc AS _TaskListFuncnlLoc ON _TaskListFuncnlLoc.TaskListType = TaskListType AND _TaskListFuncnlLoc.TaskListGroup = TaskListGroup -- association [0..1]
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLoc AS _TechObjIsEquipOrFuncnlLoc ON _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc -- association [0..1]
LEFT OUTER JOIN I_TechnicalObject AS _TechnicalObject ON _TechnicalObject.TechnicalObject = TechnicalObject AND _TechnicalObject.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc -- association [0..1]
LEFT OUTER JOIN I_MaintTaskListOperation AS _MaintTaskListOperation ON _MaintTaskListOperation.TaskListType = TaskListType AND _MaintTaskListOperation.TaskListGroup = TaskListGroup AND _MaintTaskListOperation.TaskListGroupCounter = TaskListGroupCounter -- association [0..*]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _TaskListGroup ON _TaskListGroup.BillOfOperationsType = TaskListType AND _TaskListGroup.BillOfOperationsGroup = TaskListGroup AND ( _TaskListGroup.BillOfOperationsType = 'A' OR _TaskListGroup.BillOfOperationsType = 'E' OR _TaskListGroup.BillOfOperationsType = 'T' ) -- association [1..1]
LEFT OUTER JOIN I_BillOfOperations AS _TaskListGroupCounter ON _TaskListGroupCounter.BillOfOperationsType = TaskListType AND _TaskListGroupCounter.BillOfOperationsGroup = TaskListGroup AND _TaskListGroupCounter.BillOfOperationsVariant = TaskListGroupCounter AND ( _TaskListGroupCounter.BillOfOperationsType = 'A' OR _TaskListGroupCounter.BillOfOperationsType = 'E' OR _TaskListGroupCounter.BillOfOperationsType = 'T' ) -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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