C_WorkPermitOrderOperationVH
Work Permit Order Operations
C_WorkPermitOrderOperationVH is a Consumption CDS View that provides data about "Work Permit Order Operations" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrderOperation) and exposes 11 fields with key fields MaintenanceOrder, MaintenanceOrderOperation. It is exposed through 1 OData service (UI_WORKPERMIT). It is used in 1 Fiori application: Manage Work Permits. Part of development package VDM_EAM_WCM_PERMIT_TO_WORK.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceOrderOperation | _MaintenanceOrderOperation | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Work Permit Order Operations | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Analytics.technicalName | CWRKPMTORDEROPVH | view | |
| ObjectModel.representativeKey | MaintenanceOrder | view | |
| Search.searchable | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_WORKPERMIT | UI_WORKPERMIT | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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. |
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 (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | I_MaintenanceOrderOperation | MaintenanceOrder | |
| KEY | MaintenanceOrderOperation | |||
| OperationDescription | I_MaintenanceOrderOperation | OperationDescription | ||
| MaintOrderOperationCounter | I_MaintenanceOrderOperation | MaintOrderOperationCounter | ||
| MaintOrderRoutingNumber | I_MaintenanceOrderOperation | MaintOrderRoutingNumber | ||
| Plant | I_MaintenanceOrderOperation | Plant | ||
| PlantName | ||||
| WorkCenter | ||||
| WorkCenterText | ||||
| MaintOrderOperationInternalID | I_MaintenanceOrderOperation | MaintOrderOperationInternalID | ||
| _MaintenanceOrder | _MaintenanceOrder |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Work Permit Order Operations'
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #S, dataClass: #META}
@VDM.viewType: #CONSUMPTION
@ObjectModel.dataCategory:#VALUE_HELP
@Analytics.technicalName: 'CWRKPMTORDEROPVH'
@ObjectModel.representativeKey: 'MaintenanceOrder'
@Search.searchable: true
define view entity C_WorkPermitOrderOperationVH
as select from I_MaintenanceOrderOperation as _MaintenanceOrderOperation
{
@ObjectModel.foreignKey.association: '_MaintenanceOrder'
key _MaintenanceOrderOperation.MaintenanceOrder,
@UI.lineItem: [{ position: 10, label: 'Operation Number' }]
@EndUserText:{ label: 'Operation Number', quickInfo: 'Operation Number'}
@Search.defaultSearchElement: true
@Search.ranking: #HIGH
@Consumption.filter.hidden:true
@Search.fuzzinessThreshold: 0.8
key cast ( _MaintenanceOrderOperation.MaintenanceOrderOperation as vdm_vornr preserving type) as MaintenanceOrderOperation,
_MaintenanceOrderOperation.OperationDescription as OperationDescription,
_MaintenanceOrderOperation.MaintOrderOperationCounter as MaintOrderOperationCounter,
_MaintenanceOrderOperation.MaintOrderRoutingNumber,
@ObjectModel.text.element: ['PlantName']
@UI.lineItem: [{ position: 60, label: 'Plant Name' }]
@UI: {
textArrangement: #TEXT_ONLY
}
_MaintenanceOrderOperation.Plant as Plant,
_MaintenanceOrderOperation._Plant.PlantName as PlantName,
@EndUserText:{ label: 'Work Center', quickInfo: 'Work Center'}
@UI.lineItem: [{ position: 50, label: 'Work Center' }]
@UI: {
textArrangement: #TEXT_ONLY
}
@ObjectModel.text.element: ['WorkCenterText']
_MaintenanceOrderOperation._WorkCenter.WorkCenter as WorkCenter,
_MaintenanceOrderOperation._WorkCenter._Text[1:Language = $session.system_language].WorkCenterText as WorkCenterText,
_MaintenanceOrderOperation.MaintOrderOperationInternalID,
@EndUserText.label: 'System Status'
@ObjectModel: {
virtualElement: true,
virtualElementCalculatedBy: 'ABAP:CL_EAM_ORDOP_STS_EXIT'
}
@Semantics.text: true
@UI.lineItem: [{ position: 70, label: 'System Status' }]
@Search.defaultSearchElement: true
cast ('' as vdm_j_system_status_concat_t) as ConcatenatedActiveSystStsName,
_MaintenanceOrder
}
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