C_MaintOrderQuickVw
Maintenance Order Operation Quick View
C_MaintOrderQuickVw is a Consumption CDS View that provides data about "Maintenance Order Operation Quick View" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderTechObj) and exposes 13 fields with key field MaintenanceOrder. It is exposed through 5 OData services (UI_MAINTENANCEITEM, UI_MAINTENANCEJOB_MANAGE, UI_MAINTENANCENOTIFICATION, ...). It is used in 3 Fiori applications: Perform Maintenance Jobs, Manage Maintenance Items, Manage Work Permits. Part of development package ODATA_EAM_ORD_OPER_MAN.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderTechObj | I_MaintOrderTechObj | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CMTORDQV | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.representativeKey | MaintenanceOrder | view | |
| UI.headerInfo.typeName | Maintenance Order | view | |
| UI.headerInfo.typeNamePlural | Maintenance Orders | view | |
| UI.headerInfo.imageUrl | MaintenanceOrderThumbnailURL | view |
OData Services (5)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_MAINTENANCEITEM | UI_MAINTENANCEITEM | V2 | C1 | NOT_RELEASED |
| UI_MAINTENANCEJOB_MANAGE | UI_MAINTENANCEJOB_MANAGE | V2 | C1 | NOT_RELEASED |
| UI_MAINTENANCENOTIFICATION | UI_MAINTENANCENOTIFICATION | V4 | C1 | NOT_RELEASED |
| UI_MAINTWORKREQUESTOVERVIEW | UI_MAINTWORKREQUESTOVW_V2 | V2 | C1 | NOT_TO_BE_RELEASED_STABLE |
| UI_WORKPERMIT | UI_WORKPERMIT | V2 | C1 | NOT_RELEASED |
Fiori Apps (3)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5104A | Perform Maintenance Jobs | Transactional | Perform Maintenance Jobs app will help Maintenance Technician to see the list with all work items assigned to the him/her or to his/her team, several features like Assignment of an operation, Time recording for the Operations, create partial or final confirmations and the ability to display and change the malfunction information are possible with the app. The maintenance technician can post and return the planned components and can also record the measurement document. |
| F5356 | Manage Maintenance Items | Transactional | An application to Manage Maintenance Items, provides and comprehensive Maintenance Item view, create new Maintenance Item, edit existing Maintenance Item. |
| F6579 | Manage Work Permits | Transactional | Work Permit is initiated during the planning of a maintenance activity and typically created from a predesigned template, together with the work order associated with the maintenance task. You can use this to search and maintain Work Permits. |
Perform Maintenance Jobs
Business Role: Maintenance Technician
Technician records actual work, remaining work, confirmation text, and final confirmation for self as well as for team members working on the job.
Manage Maintenance Items
Business Role: Maintenance Planner
With the Manage Maintenance Items app, you as a maintenance planner can manage maintenance items. You can create maintenance items, decide how to evaluate final due date for a maintenance item, assign maintenance item to a maintenance plan, view details of a maintenance item, view status of an equipment or a functional location within a maintenance item, and so on.
Manage Work Permits
Business Role: Maintenance Planner
The Manage Work Permits app allows you to create, manage, and monitor work permits and gain valuable insights about the progress of your maintenance operations. Using the app, new work permits can be created with reference to an existing maintenance order, a predesigned work permit template, or independently. It provides the following capabilities:Allows to create and process new work permit using the optimized work permit management solutionProvides the ability to assign multiple functional locations, equipment, maintenance orders, partners, and attachments to enhance work permit with details related to the work activityAllows the configuration of the nature of work, personal protective equipment, and safety precautions to enhance work permit with safety protocols.Offers easy data validation and a simplified approval process that adheres to a four-eyes principleSupports the printing of work permit in the output form maintained by the userProvides the ability to extend the validity even after the creation of work permitSupports all operations relevant to work permit management such as approval, print, issue, return, close, deactivate, cancel, and mark for deletion.Provides the ability to view the records of data transfers using application logs
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | ||
| MaintenanceOrderDesc | MaintenanceOrderDesc | |||
| MaintenanceOrderLongText | Long Text | |||
| MaintenanceOrderType | MaintenanceOrderType | Order Type | ||
| MaintenanceOrderTypeName | Order Type Text | |||
| MaintPriority | MaintPriority | Priority | ||
| LatestAcceptableCompletionDate | LatestAcceptableCompletionDate | |||
| MaintPriorityDesc | Priority Text | |||
| MaintOrdBasicStartDate | MaintOrdBasicStartDate | Required Start | ||
| MaintOrdBasicEndDate | MaintOrdBasicEndDate | Required End | ||
| MaintOrdPersonResponsible | MaintOrdPersonResponsible | Person Responsible | ||
| PersonResponsibleName | Person Responsible Name | |||
| MaintOrderRespPartnerFunction |
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'CMTORDQV'
@ClientHandling.algorithm: #SESSION_VARIABLE
-- QuickViews are currently read via association
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.representativeKey: 'MaintenanceOrder'
@UI.headerInfo : {
typeName: 'Maintenance Order',
typeNamePlural: 'Maintenance Orders',
imageUrl: 'MaintenanceOrderThumbnailURL'
}
define view C_MaintOrderQuickVw
as select from I_MaintOrderTechObj
{
@UI.facet: [{
purpose: #QUICK_VIEW,
type: #FIELDGROUP_REFERENCE,
targetQualifier: 'MaintenanceOrderQuickView'
}]
// Maintanence Order
// @UI: {
// fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 10}]
// }
// @EndUserText.label: 'Maintenance Order'
key MaintenanceOrder,
// Maintanence Order Description
// @UI: {
// fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 20}]
// }
// @EndUserText.label: 'Description'
//
MaintenanceOrderDesc,
// Maintanence Order Long Text
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EAM_ORDER_LTXT_EXIT'
@UI.fieldGroup: [{ qualifier: 'MaintenanceOrderQuickView', position: 30 }]
@UI.multiLineText: true
@EndUserText.label: 'Long Text'
cast( '' as abap.sstring( 1333 ) ) as MaintenanceOrderLongText,
// Maintanence Order Type
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 40}]
}
@EndUserText.label: 'Order Type'
@ObjectModel.text.element: [ 'MaintenanceOrderTypeName' ]
@UI.textArrangement: #TEXT_FIRST
MaintenanceOrderType,
// Maintanence Order Type Text
@EndUserText.label: 'Order Type Text'
_Order._OrderType._Text[1:Language = $session.system_language].OrderTypeName as MaintenanceOrderTypeName,
// Maintanence Order Priority
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 50}]
}
@EndUserText.label: 'Priority'
@ObjectModel.text.element: [ 'MaintPriorityDesc' ]
@UI.textArrangement: #TEXT_FIRST
MaintPriority,
// IME: 2002 LACD
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 60}]
}
LatestAcceptableCompletionDate,
// IME: 2002 LACD
// Maintanence Priority Text
@EndUserText.label: 'Priority Text'
_MaintenancePriority._Text[1:Language = $session.system_language].MaintPriorityDesc,
// Maintanence Order Required Start Date
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 70}]
}
@EndUserText.label: 'Required Start'
MaintOrdBasicStartDate,
// Maintanence Order Required End Date
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 80}]
}
@EndUserText.label: 'Required End'
MaintOrdBasicEndDate,
// Maintanence Order Person Responsible
@UI: { fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 90}] }
@EndUserText.label: 'Person Responsible'
@ObjectModel.text.element: [ 'PersonResponsibleName' ]
@UI.textArrangement: #TEXT_FIRST
MaintOrdPersonResponsible,
// Maintenance Order Person Resposible Name
@ObjectModel.virtualElement
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EAM_OBJPG_MNTORD_PART_EXIT'
@EndUserText.label: 'Person Responsible Name'
cast('' as eams_person_responsible_name) as PersonResponsibleName,
@UI.hidden: true
cast (_MaintOrderTypeControlParam.MaintOrderRespPartnerFunction as char2) as MaintOrderRespPartnerFunction,
// Maintanence Order System Satus
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 100}]
}
@EndUserText.label: 'System Status'
@ObjectModel: {
virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_EAM_MNTORD_STS_EXIT'
}
cast ('' as vdm_j_system_status_concat_t) as ConcatenatedActiveSystStsName,
// Maintanence Order User Status
@UI: {
fieldGroup: [{ qualifier:'MaintenanceOrderQuickView', position: 110}]
}
@EndUserText.label: 'User Status'
@ObjectModel: {
virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_EAM_MNTORD_STS_EXIT'
}
cast ('' as vdm_j_user_status_concat_t) as ConcatenatedActiveUserStsName,
@Semantics.imageUrl: true
@Consumption.filter.hidden: true
// concat( '/sap/opu/odata/sap/EAM_OBJPG_MAINTORDANDOPER_SRV/' , concat( concat( 'MaintenanceOrderThumbnail(MaintenanceOrder=''', MaintenanceOrder ), ''')/$value') ) as MaintenanceOrderThumbnailURL,
'sap-icon://Fiori2/F0246' as MaintenanceOrderThumbnailURL,
MaintOrderRoutingNumber,
MaintenanceOrderInternalID,
OrderHasLongText
}
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