N_MaintenanceTaskList
Auxiliary view for I_MaintenanceTaskList
N_MaintenanceTaskList is a CDS View that provides data about "Auxiliary view for I_MaintenanceTaskList" in SAP S/4HANA. It reads from 1 data source (I_BillOfOperationsChangeState) and exposes 35 fields with key fields TaskListType, TaskListGroup, TaskListGroupCounter, TaskListVersionCounter. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BillOfOperationsChangeState | I_BillOfOperationsChangeState | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceTaskListType | _TaskListType | _TaskListType.TaskListType = $projection.TaskListType |
| [0..1] | I_TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc |
| [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' ) |
| [0..1] | I_TaskListToEquipAlloc | _TaskListEquip | _TaskListEquip.TaskListType = $projection.TaskListType and _TaskListEquip.TaskListGroup = $projection.TaskListGroup and _TaskListEquip.TaskListGroupCounter = $projection.TaskListGroupCounter |
| [0..1] | I_TaskListToFuncnlLocAlloc | _TaskListFuncnlLoc | _TaskListFuncnlLoc.TaskListType = $projection.TaskListType and _TaskListFuncnlLoc.TaskListGroup = $projection.TaskListGroup and _TaskListFuncnlLoc.TaskListGroupCounter = $projection.TaskListGroupCounter |
| [0..*] | I_TaskListLongText | _LongText | $projection.TaskListType = _LongText.TaskListType and $projection.TaskListGroup = _LongText.TaskListGroup and $projection.TaskListGroupCounter = _LongText.TaskListGroupCounter and $projection.TaskListVersionCounter = _LongText.TaskListVersionCounter |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NMAINTTASKLIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Auxiliary view for I_MaintenanceTaskList | view | |
| VDM.auxiliaryEntity.for.entity | I_MaintenanceTaskList | view | |
| ObjectModel.representativeKey | TaskListGroupCounter | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TaskListType | I_BillOfOperationsChangeState | BillOfOperationsType | Task List Type |
| KEY | TaskListGroup | I_BillOfOperationsChangeState | BillOfOperationsGroup | Group |
| KEY | TaskListGroupCounter | I_BillOfOperationsChangeState | BillOfOperationsVariant | Group Counter |
| KEY | TaskListVersionCounter | I_BillOfOperationsChangeState | BOOInternalVersionCounter | Sort pos. |
| TaskListDesc | I_BillOfOperationsChangeState | BillOfOperationsDesc | ||
| MaintenanceStrategy | I_BillOfOperationsChangeState | MaintenanceStrategy | Strategy Fields | |
| Plant | I_BillOfOperationsChangeState | Plant | Valuation Area | |
| ResponsiblePlannerGroup | I_BillOfOperationsChangeState | ResponsiblePlannerGroup | Prodn Supervisor | |
| IsDeleted | I_BillOfOperationsChangeState | IsDeleted | TRUE | |
| Assembly | I_BillOfOperationsChangeState | Assembly | Pegged Reqmt | |
| TaskListStatus | I_BillOfOperationsChangeState | BillOfOperationsStatus | Vehicle Status | |
| ValidityStartDate | I_BillOfOperationsChangeState | ValidityStartDate | Validity Start Date | |
| ValidityEndDateendasValidityEndDate | ||||
| OperationSystemCondition | I_BillOfOperationsChangeState | OperationSystemCondition | SystemCondition | |
| WorkCenterTypeCode | I_BillOfOperationsChangeState | WorkCenterTypeCode | Object Type | |
| WorkCenterInternalID | I_BillOfOperationsChangeState | WorkCenterInternalID | Work Center | |
| TaskListUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | Work Center Category | |
| ControllingArea | I_BillOfOperationsChangeState | ControllingArea | Controlling Area | |
| Equipment | _TaskListEquip | Equipment | Equipment check | |
| FunctionalLocation | _TaskListFuncnlLoc | FunctionalLocation | Object ID | |
| FuncnlLocPrimaryLabelName | ||||
| MaintenancePlanningPlant | I_BillOfOperationsChangeState | MaintenancePlanningPlant | Planning Plant | |
| _TaskListStatus | I_BillOfOperationsChangeState | _BillOfOperationsStatus | ||
| _WorkCenter | I_BillOfOperationsChangeState | _WorkCenter | ||
| _MaintenanceStrategy | I_BillOfOperationsChangeState | _MaintenanceStrategy | ||
| _Assembly | I_BillOfOperationsChangeState | _Assembly | ||
| _TaskListUsage | I_BillOfOperationsChangeState | _BillOfOperationsUsage | ||
| _ResponsiblePlannerGroup | I_BillOfOperationsChangeState | _ResponsiblePlannerGroup | ||
| PlainLongText | _LongText | PlainLongText | Long Text | |
| _TaskListType | _TaskListType | |||
| _TaskListGroup | _TaskListGroup | |||
| _TaskListGroupCounter | _TaskListGroupCounter | |||
| _TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc | |||
| _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 N_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: NMAINTTASKLIST
CREATE VIEW N_MaintenanceTaskList AS
SELECT
I_BillOfOperationsChangeState.BillOfOperationsType AS TaskListType,
I_BillOfOperationsChangeState.BillOfOperationsGroup AS TaskListGroup,
I_BillOfOperationsChangeState.BillOfOperationsVariant AS TaskListGroupCounter,
I_BillOfOperationsChangeState.BOOInternalVersionCounter AS TaskListVersionCounter,
I_BillOfOperationsChangeState.BillOfOperationsDesc AS TaskListDesc,
I_BillOfOperationsChangeState.MaintenanceStrategy AS MaintenanceStrategy,
I_BillOfOperationsChangeState.Plant AS Plant,
I_BillOfOperationsChangeState.ResponsiblePlannerGroup AS ResponsiblePlannerGroup,
I_BillOfOperationsChangeState.IsDeleted AS IsDeleted,
I_BillOfOperationsChangeState.Assembly AS Assembly,
I_BillOfOperationsChangeState.BillOfOperationsStatus AS TaskListStatus,
I_BillOfOperationsChangeState.ValidityStartDate AS ValidityStartDate,
case I_BillOfOperationsChangeState.ValidityEndDate when '00000000' then cast ('99991231' as datub) else I_BillOfOperationsChangeState.ValidityEndDate end as ValidityEndDate AS ValidityEndDateendasValidityEndDate,
I_BillOfOperationsChangeState.OperationSystemCondition AS OperationSystemCondition,
I_BillOfOperationsChangeState.WorkCenterTypeCode AS WorkCenterTypeCode,
I_BillOfOperationsChangeState.WorkCenterInternalID AS WorkCenterInternalID,
I_BillOfOperationsChangeState.BillOfOperationsUsage AS TaskListUsage,
I_BillOfOperationsChangeState.ControllingArea AS ControllingArea,
_TaskListEquip.Equipment AS Equipment,
_TaskListFuncnlLoc.FunctionalLocation AS FunctionalLocation,
_TaskListFuncnlLoc._FunctionalLocation._FunctionalLocationLabel.FuncnlLocPrimaryLabelName AS FuncnlLocPrimaryLabelName,
I_BillOfOperationsChangeState.MaintenancePlanningPlant AS MaintenancePlanningPlant,
I_BillOfOperationsChangeState._BillOfOperationsStatus AS _TaskListStatus,
I_BillOfOperationsChangeState._WorkCenter AS _WorkCenter,
I_BillOfOperationsChangeState._MaintenanceStrategy AS _MaintenanceStrategy,
I_BillOfOperationsChangeState._Assembly AS _Assembly,
I_BillOfOperationsChangeState._BillOfOperationsUsage AS _TaskListUsage,
I_BillOfOperationsChangeState._ResponsiblePlannerGroup AS _ResponsiblePlannerGroup,
_LongText.PlainLongText AS PlainLongText,
_TaskListEquip._Equipment AS _Equipment,
_TaskListFuncnlLoc._FunctionalLocation AS _FunctionalLocation
FROM I_BillOfOperationsChangeState
LEFT OUTER JOIN I_MaintenanceTaskListType AS _TaskListType ON _TaskListType.TaskListType = TaskListType -- association [0..1]
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLoc AS _TechObjIsEquipOrFuncnlLoc ON _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = TechObjIsEquipOrFuncnlLoc -- association [0..1]
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]
LEFT OUTER JOIN I_TaskListToEquipAlloc AS _TaskListEquip ON _TaskListEquip.TaskListType = TaskListType AND _TaskListEquip.TaskListGroup = TaskListGroup AND _TaskListEquip.TaskListGroupCounter = TaskListGroupCounter -- association [0..1]
LEFT OUTER JOIN I_TaskListToFuncnlLocAlloc AS _TaskListFuncnlLoc ON _TaskListFuncnlLoc.TaskListType = TaskListType AND _TaskListFuncnlLoc.TaskListGroup = TaskListGroup AND _TaskListFuncnlLoc.TaskListGroupCounter = TaskListGroupCounter -- association [0..1]
LEFT OUTER JOIN I_TaskListLongText AS _LongText ON TaskListType = _LongText.TaskListType AND TaskListGroup = _LongText.TaskListGroup AND TaskListGroupCounter = _LongText.TaskListGroupCounter AND TaskListVersionCounter = _LongText.TaskListVersionCounter -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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