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 | |
| KEY | TaskListGroup | I_BillOfOperationsChangeState | BillOfOperationsGroup | |
| KEY | TaskListGroupCounter | I_BillOfOperationsChangeState | BillOfOperationsVariant | |
| KEY | TaskListVersionCounter | I_BillOfOperationsChangeState | BOOInternalVersionCounter | |
| TaskListDesc | I_BillOfOperationsChangeState | BillOfOperationsDesc | ||
| MaintenanceStrategy | I_BillOfOperationsChangeState | MaintenanceStrategy | ||
| Plant | I_BillOfOperationsChangeState | Plant | ||
| ResponsiblePlannerGroup | I_BillOfOperationsChangeState | ResponsiblePlannerGroup | ||
| IsDeleted | I_BillOfOperationsChangeState | IsDeleted | ||
| Assembly | I_BillOfOperationsChangeState | Assembly | ||
| TaskListStatus | I_BillOfOperationsChangeState | BillOfOperationsStatus | ||
| ValidityStartDate | I_BillOfOperationsChangeState | ValidityStartDate | ||
| ValidityEndDateendasValidityEndDate | ||||
| OperationSystemCondition | I_BillOfOperationsChangeState | OperationSystemCondition | ||
| WorkCenterTypeCode | I_BillOfOperationsChangeState | WorkCenterTypeCode | ||
| WorkCenterInternalID | I_BillOfOperationsChangeState | WorkCenterInternalID | ||
| TaskListUsage | I_BillOfOperationsChangeState | BillOfOperationsUsage | ||
| ControllingArea | I_BillOfOperationsChangeState | ControllingArea | ||
| Equipment | _TaskListEquip | Equipment | ||
| FunctionalLocation | _TaskListFuncnlLoc | FunctionalLocation | ||
| FuncnlLocPrimaryLabelName | ||||
| MaintenancePlanningPlant | I_BillOfOperationsChangeState | MaintenancePlanningPlant | ||
| _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 | ||
| _TaskListType | _TaskListType | |||
| _TaskListGroup | _TaskListGroup | |||
| _TaskListGroupCounter | _TaskListGroupCounter | |||
| _TechObjIsEquipOrFuncnlLoc | _TechObjIsEquipOrFuncnlLoc | |||
| _Equipment | _TaskListEquip | _Equipment | ||
| _FunctionalLocation | _TaskListFuncnlLoc | _FunctionalLocation |
@AbapCatalog.sqlViewName: 'NMAINTTASKLIST'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Auxiliary view for I_MaintenanceTaskList'
@VDM.auxiliaryEntity.for.entity: 'I_MaintenanceTaskList'
@VDM.auxiliaryEntity.usage.type: [#ENTERPRISE_SEARCH]
@ObjectModel.representativeKey: 'TaskListGroupCounter'
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@ClientHandling.algorithm: #SESSION_VARIABLE
define view N_MaintenanceTaskList
as select from I_BillOfOperationsChangeState
association [0..1] to I_MaintenanceTaskListType as _TaskListType on _TaskListType.TaskListType = $projection.TaskListType
association [0..1] to I_TechObjIsEquipOrFuncnlLoc as _TechObjIsEquipOrFuncnlLoc on _TechObjIsEquipOrFuncnlLoc.TechObjIsEquipOrFuncnlLoc = $projection.TechObjIsEquipOrFuncnlLoc
association [1..1] to I_BillOfOperationsGroup as _TaskListGroup on _TaskListGroup.BillOfOperationsType = $projection.TaskListType
and _TaskListGroup.BillOfOperationsGroup = $projection.TaskListGroup
and (
_TaskListGroup.BillOfOperationsType = 'A'
or _TaskListGroup.BillOfOperationsType = 'E'
or _TaskListGroup.BillOfOperationsType = 'T'
)
association [1..1] to I_BillOfOperations as _TaskListGroupCounter on _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'
)
association [0..1] to I_TaskListToEquipAlloc as _TaskListEquip on _TaskListEquip.TaskListType = $projection.TaskListType
and _TaskListEquip.TaskListGroup = $projection.TaskListGroup
and _TaskListEquip.TaskListGroupCounter = $projection.TaskListGroupCounter
association [0..1] to I_TaskListToFuncnlLocAlloc as _TaskListFuncnlLoc on _TaskListFuncnlLoc.TaskListType = $projection.TaskListType
and _TaskListFuncnlLoc.TaskListGroup = $projection.TaskListGroup
and _TaskListFuncnlLoc.TaskListGroupCounter = $projection.TaskListGroupCounter
association [0..*] to I_TaskListLongText as _LongText on $projection.TaskListType = _LongText.TaskListType
and $projection.TaskListGroup = _LongText.TaskListGroup
and $projection.TaskListGroupCounter = _LongText.TaskListGroupCounter
and $projection.TaskListVersionCounter = _LongText.TaskListVersionCounter
{
/* Key fields */
@ObjectModel.foreignKey.association: '_TaskListType'
key I_BillOfOperationsChangeState.BillOfOperationsType as TaskListType,
@ObjectModel.foreignKey.association: '_TaskListGroup'
key I_BillOfOperationsChangeState.BillOfOperationsGroup as TaskListGroup,
@ObjectModel.foreignKey.association: '_TaskListGroupCounter'
key I_BillOfOperationsChangeState.BillOfOperationsVariant as TaskListGroupCounter,
key I_BillOfOperationsChangeState.BOOInternalVersionCounter as TaskListVersionCounter,
/* Data fields */
I_BillOfOperationsChangeState.BillOfOperationsDesc as TaskListDesc,
I_BillOfOperationsChangeState.MaintenanceStrategy,
I_BillOfOperationsChangeState.Plant,
I_BillOfOperationsChangeState.ResponsiblePlannerGroup,
I_BillOfOperationsChangeState.IsDeleted,
I_BillOfOperationsChangeState.Assembly,
@ObjectModel.foreignKey.association: '_TaskListStatus'
I_BillOfOperationsChangeState.BillOfOperationsStatus as TaskListStatus,
I_BillOfOperationsChangeState.ValidityStartDate,
case I_BillOfOperationsChangeState.ValidityEndDate
when '00000000' then cast ('99991231' as datub)
else I_BillOfOperationsChangeState.ValidityEndDate
end as ValidityEndDate,
I_BillOfOperationsChangeState.OperationSystemCondition,
I_BillOfOperationsChangeState.WorkCenterTypeCode,
I_BillOfOperationsChangeState.WorkCenterInternalID,
@ObjectModel.foreignKey.association: '_TaskListUsage'
I_BillOfOperationsChangeState.BillOfOperationsUsage as TaskListUsage,
@ObjectModel.foreignKey.association: '_TechObjIsEquipOrFuncnlLoc'
cast( case I_BillOfOperationsChangeState.BillOfOperationsType
when 'E' then 'EAMS_EQUI'
when 'T' then 'EAMS_FL'
else ''
end as eams_tec_obj_type_value ) as TechObjIsEquipOrFuncnlLoc,
I_BillOfOperationsChangeState.ControllingArea, //
_TaskListEquip.Equipment,
_TaskListFuncnlLoc.FunctionalLocation,
_TaskListFuncnlLoc._FunctionalLocation._FunctionalLocationLabel.FuncnlLocPrimaryLabelName,
I_BillOfOperationsChangeState.MaintenancePlanningPlant,
//Association
I_BillOfOperationsChangeState._BillOfOperationsStatus as _TaskListStatus,
I_BillOfOperationsChangeState._WorkCenter,
I_BillOfOperationsChangeState._MaintenanceStrategy,
I_BillOfOperationsChangeState._Assembly,
I_BillOfOperationsChangeState._BillOfOperationsUsage as _TaskListUsage,
I_BillOfOperationsChangeState._ResponsiblePlannerGroup,
_LongText.PlainLongText,
_TaskListType,
_TaskListGroup,
_TaskListGroupCounter,
_TechObjIsEquipOrFuncnlLoc,
_TaskListEquip._Equipment,
_TaskListFuncnlLoc._FunctionalLocation
}
where
(
I_BillOfOperationsChangeState.BillOfOperationsType = 'A'
or I_BillOfOperationsChangeState.BillOfOperationsType = 'E'
or I_BillOfOperationsChangeState.BillOfOperationsType = 'T'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BILLOFOPERATIONSCHANGESTATE",
"I_FUNCTIONALLOCATION",
"I_FUNCTIONALLOCATIONLABEL",
"I_TASKLISTLONGTEXT",
"I_TASKLISTTOEQUIPALLOC",
"I_TASKLISTTOFUNCNLLOCALLOC"
],
"ASSOCIATED":
[
"I_BILLOFOPERATIONS",
"I_BILLOFOPERATIONSGROUP",
"I_BILLOFOPERATIONSSTATUS",
"I_BILLOFOPERATIONSUSAGE",
"I_EQUIPMENT",
"I_FUNCTIONALLOCATION",
"I_MAINTENANCESTRATEGY",
"I_MAINTENANCETASKLISTTYPE",
"I_MATERIAL",
"I_RESPONSIBLEPLANNERGROUP",
"I_TASKLISTLONGTEXT",
"I_TASKLISTTOEQUIPALLOC",
"I_TASKLISTTOFUNCNLLOCALLOC",
"I_TECHOBJISEQUIPORFUNCNLLOC",
"I_WORKCENTER"
],
"BASE":
[
"I_BILLOFOPERATIONSCHANGESTATE",
"I_TASKLISTTOEQUIPALLOC",
"I_TASKLISTTOFUNCNLLOCALLOC"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- 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 Annotations — A Complete Guide
- 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