I_MaintenanceItemTP
Maintenance Item (Transactional Processing)
I_MaintenanceItemTP is a Transactional CDS View that provides data about "Maintenance Item (Transactional Processing)" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceItem) and exposes 90 fields with key field MaintenanceItem. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceItem | I_MaintenanceItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_MaintenanceItemBasic | _MaintenanceItemExtension | _MaintenanceItemExtension.MaintenanceItem = $projection.MaintenanceItem |
| [0..1] | I_MaintTaskListForKeyDate | _MaintTaskListForKeyDate | $projection.TaskListType = _MaintTaskListForKeyDate.TaskListType and $projection.TaskListGroup = _MaintTaskListForKeyDate.TaskListGroup and $projection.TaskListGroupCounter = _MaintTaskListForKeyDate.TaskListGroupCounter |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IMAINTITEMTP | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Maintenance Item (Transactional Processing) | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.writeActivePersistence | IMAINTITEMTP | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| ObjectModel.sapObjectNodeType.name | MaintenanceItem | view |
Fields (90)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceItem | MaintenanceItem | ||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | |||
| MaintenancePlannerGroup | MaintenancePlannerGroup | |||
| MaintenancePlanningPlant | MaintenancePlanningPlant | |||
| TaskListGroupCounter0endendasTaskList | ||||
| TaskListType | TaskListType | |||
| TaskListGroup | TaskListGroup | |||
| TaskListGroupCounter | TaskListGroupCounter | |||
| Equipment | Equipment | |||
| FunctionalLocation | FunctionalLocation | |||
| MaintenanceItemDescription | MaintenanceItemDescription | |||
| MaintenancePlan | MaintenancePlan | |||
| MaintenanceStrategy | MaintenanceStrategy | |||
| MaintenancePlanCategory | MaintenancePlanCategory | |||
| NotificationType | NotificationType | |||
| MaintenanceNotification | MaintenanceNotification | |||
| MaintPriorityType | MaintPriorityType | |||
| MaintPriority | MaintPriority | |||
| MaintenanceOrder | MaintenanceOrder | |||
| BusinessArea | BusinessArea | |||
| MainWorkCenterInternalID | MainWorkCenterInternalID | |||
| WorkCenterTypeCode | WorkCenterTypeCode | |||
| Assembly | Assembly | |||
| CreationDate | CreationDate | |||
| CreatedByUser | CreatedByUser | |||
| LastChangeDate | LastChangeDate | |||
| LastChangedByUser | LastChangedByUser | |||
| MaintenancePlanItemPosition | MaintenancePlanItemPosition | |||
| MaintenanceActivityType | MaintenanceActivityType | |||
| MaintenanceOrderType | MaintenanceOrderType | |||
| SerialNumber | SerialNumber | |||
| Material | Material | |||
| MaintenanceItemObjectList | MaintenanceItemObjectList | |||
| ImmediateReleaseIsBlocked | ImmediateReleaseIsBlocked | |||
| OperationSystemCondition | OperationSystemCondition | |||
| NumberOfTaskListExecutions | NumberOfTaskListExecutions | |||
| ObjectInternalID | ObjectInternalID | |||
| SalesDocument | SalesDocument | |||
| PurchaseOrder | PurchaseOrder | |||
| PurchaseOrderItem | PurchaseOrderItem | |||
| SettlementOrder | SettlementOrder | |||
| LastChangeDateTime | LastChangeDateTime | |||
| CycleSetSequence | CycleSetSequence | |||
| ReferenceElement | ReferenceElement | |||
| ServiceDocumentType | ServiceDocumentType | |||
| ServiceContract | ServiceContract | |||
| ServiceContractItem | ServiceContractItem | |||
| ServiceOrderTemplate | ServiceOrderTemplate | |||
| Product | Product | |||
| ServiceDocumentPriority | ServiceDocumentPriority | |||
| MaintNotifTskIsAutomlyDtmnd | MaintNotifTskIsAutomlyDtmnd | |||
| AdditionalDeviceData | AdditionalDeviceData | |||
| MainWorkCenter | _MainWorkCenter | WorkCenter | ||
| MainWorkCenterPlant | _MainWorkCenter | Plant | ||
| _Equipment | _Equipment | |||
| _FunctionalLocation | _FunctionalLocation | |||
| _LocationAccountAssignment | _LocationAccountAssignment | |||
| _MaintenanceActivityType | _MaintenanceActivityType | |||
| _MaintenanceNotification | _MaintenanceNotification | |||
| _MaintenanceOrder | _MaintenanceOrder | |||
| _MaintenancePlan | _MaintenancePlan | |||
| _MaintenancePlanCatParam | _MaintenancePlanCatParam | |||
| _MaintenancePlannerGroup | _MaintenancePlannerGroup | |||
| _MaintenancePlanningPlant | _MaintenancePlanningPlant | |||
| _MaintenanceStrategy | _MaintenanceStrategy | |||
| _PMNotificationPriority | _PMNotificationPriority | |||
| _PMNotificationPriorityType | _PMNotificationPriorityType | |||
| _MaintenanceOrderType | _MaintenanceOrderType | |||
| _MainWorkCenter | _MainWorkCenter | |||
| _WorkCenterType | _WorkCenterType | |||
| _MaintenanceTaskList | _MaintenanceTaskList | |||
| _TaskListType | _TaskListType | |||
| _TaskListGroup | _TaskListGroup | |||
| _TaskListGroupCounter | _TaskListGroupCounter | |||
| _MaintTaskListForKeyDate | _MaintTaskListForKeyDate | |||
| _SettlementOrder | _SettlementOrder | |||
| _Material | _Material | |||
| _Assembly | _Assembly | |||
| _SalesDocument | _SalesDocument | |||
| _PurchaseOrder | _PurchaseOrder | |||
| _PurchaseOrderItem | _PurchaseOrderItem | |||
| _MaintOperationSystCondition | _MaintOperationSystCondition | |||
| _MaintenanceItemObject | _MaintenanceItemObject | |||
| _PMReferenceElement | _PMReferenceElement | |||
| _BusinessArea | _BusinessArea | |||
| _ImmediateReleaseIsBlocked | _ImmediateReleaseIsBlocked | |||
| _ServiceDocumentType | _ServiceDocumentType | |||
| _Product | _Product | |||
| _ServiceContract | _ServiceContract | |||
| _ServiceContractItem | _ServiceContractItem |
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'IMAINTITEMTP'
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Maintenance Item (Transactional Processing)'
@ObjectModel: {
compositionRoot: true,
representativeKey: [ 'MaintenanceItem' ],
semanticKey: [ 'MaintenanceItem'],
usageType: {
dataClass: #MASTER,
serviceQuality: #D,
sizeCategory: #L
},
transactionalProcessingEnabled: true,
writeActivePersistence: 'IMAINTITEMTP'
}
@VDM: {
lifecycle.contract.type: #SAP_INTERNAL_API,
viewType: #TRANSACTIONAL
}
@ObjectModel.sapObjectNodeType.name: 'MaintenanceItem'
define view I_MaintenanceItemTP
as select from I_MaintenanceItem
-- Extensions, do not expose as association:
association [0..1] to E_MaintenanceItemBasic as _MaintenanceItemExtension on _MaintenanceItemExtension.MaintenanceItem = $projection.MaintenanceItem
association [0..1] to I_MaintTaskListForKeyDate as _MaintTaskListForKeyDate on $projection.TaskListType = _MaintTaskListForKeyDate.TaskListType
and $projection.TaskListGroup = _MaintTaskListForKeyDate.TaskListGroup
and $projection.TaskListGroupCounter = _MaintTaskListForKeyDate.TaskListGroupCounter
{
key MaintenanceItem,
MaintObjectLocAcctAssgmtNmbr,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
MaintenancePlannerGroup,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
MaintenancePlanningPlant,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
case ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroup, '0')
when '' then case ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroupCounter, '0')
when '' then concat( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListType, '/0/0' )
else concat( concat( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListType, '/0/' ), ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroupCounter, '0') )
end
else case ltrim( TaskListGroupCounter, '0')
when '' then concat( concat( concat( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListType, '/' ), ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroup, '0') ), '/0' )
else concat( concat( concat( concat( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListType, '/' ), ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroup, '0') ), '/' ), ltrim( _MaintTaskListForKeyDate(P_KeyDate:$session.system_date).TaskListGroupCounter, '0') )
end
end as TaskList,
TaskListType,
TaskListGroup,
TaskListGroupCounter,
Equipment,
FunctionalLocation,
MaintenanceItemDescription,
MaintenancePlan,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
MaintenanceStrategy,
MaintenancePlanCategory,
NotificationType,
MaintenanceNotification,
MaintPriorityType,
MaintPriority,
MaintenanceOrder,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
BusinessArea,
MainWorkCenterInternalID,
WorkCenterTypeCode,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
Assembly,
CreationDate,
CreatedByUser,
LastChangeDate,
LastChangedByUser,
MaintenancePlanItemPosition,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
MaintenanceActivityType,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
MaintenanceOrderType,
SerialNumber,
Material,
MaintenanceItemObjectList,
ImmediateReleaseIsBlocked,
OperationSystemCondition,
NumberOfTaskListExecutions,
ObjectInternalID,
SalesDocument,
PurchaseOrder,
PurchaseOrderItem,
SettlementOrder,
LastChangeDateTime,
CycleSetSequence,
ReferenceElement,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
ServiceDocumentType,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
ServiceContract,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
ServiceContractItem,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
ServiceOrderTemplate,
@ObjectModel.enabled: 'EXTERNAL_CALCULATION'
Product,
ServiceDocumentPriority,
MaintNotifTskIsAutomlyDtmnd,
AdditionalDeviceData,
@ObjectModel: {
//foreignKey.association: '_WorkCenter',
enabled:'EXTERNAL_CALCULATION'
}
_MainWorkCenter.WorkCenter as MainWorkCenter,
@ObjectModel: { enabled:'EXTERNAL_CALCULATION' }
_MainWorkCenter.Plant as MainWorkCenterPlant,
/* Associations */
_Equipment,
_FunctionalLocation,
_LocationAccountAssignment,
_MaintenanceActivityType,
_MaintenanceNotification,
_MaintenanceOrder,
_MaintenancePlan,
_MaintenancePlanCatParam,
_MaintenancePlannerGroup,
_MaintenancePlanningPlant,
_MaintenanceStrategy,
_PMNotificationPriority,
_PMNotificationPriorityType,
_MaintenanceOrderType,
_MainWorkCenter,
_WorkCenterType,
_MaintenanceTaskList,
_TaskListType,
_TaskListGroup,
_TaskListGroupCounter,
_MaintTaskListForKeyDate,
_SettlementOrder,
_Material,
_Assembly,
_SalesDocument,
_PurchaseOrder,
_PurchaseOrderItem,
_MaintOperationSystCondition,
_MaintenanceItemObject,
_PMReferenceElement,
_BusinessArea,
_ImmediateReleaseIsBlocked,
_ServiceDocumentType,
_Product,
_ServiceContract,
_ServiceContractItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MAINTENANCEITEM",
"I_MAINTTASKLISTFORKEYDATE",
"I_WORKCENTER"
],
"ASSOCIATED":
[
"E_MAINTENANCEITEMBASIC",
"I_BILLOFOPERATIONS",
"I_BILLOFOPERATIONSGROUP",
"I_BUSINESSAREA",
"I_EQUIPMENT",
"I_FUNCTIONALLOCATION",
"I_INDICATOR",
"I_LOCATIONACCOUNTASSIGNMENT",
"I_MAINTENANCEACTIVITYTYPE",
"I_MAINTENANCEITEMOBJECT",
"I_MAINTENANCENOTIFICATION",
"I_MAINTENANCEORDER",
"I_MAINTENANCEPLANBASIC",
"I_MAINTENANCEPLANCATPARAM",
"I_MAINTENANCEPLANNERGROUP",
"I_MAINTENANCESTRATEGY",
"I_MAINTENANCETASKLIST",
"I_MAINTENANCETASKLISTTYPE",
"I_MAINTOPERATIONSYSTCONDITION",
"I_MAINTTASKLISTFORKEYDATE",
"I_MATERIAL",
"I_ORDER",
"I_ORDERTYPE",
"I_PLANT",
"I_PMNOTIFICATIONPRIORITY",
"I_PMNOTIFICATIONPRIORITYTYPE",
"I_PMREFERENCEELEMENT",
"I_PRODUCT",
"I_PURCHASEORDERAPI01",
"I_PURCHASEORDERITEMAPI01",
"I_SALESDOCUMENT",
"I_SERVICEDOCUMENT",
"I_SERVICEDOCUMENTITEM",
"I_SERVICEDOCUMENTTYPE",
"I_WORKCENTER",
"I_WORKCENTERTYPE"
],
"BASE":
[
"I_MAINTENANCEITEM"
],
"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