C_WorkPermitOrderOperationTP
Work Permit Order and Operations
C_WorkPermitOrderOperationTP is a Consumption CDS View that provides data about "Work Permit Order and Operations" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitOrderOperationTP) and exposes 12 fields with key fields WorkPermit, OperationOrderRoutingNumber, MaintOrderOperationCounter. It is exposed through 1 OData service (UI_WORKPERMIT). It is used in 2 Fiori applications: Create Work Permit Request, Manage Work Permits.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_WorkPermitOrderOperationTP | R_WorkPermitOrderOperationTP | projection |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Work Permit Order and Operations | view | |
| Metadata.allowExtensions | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| UI.headerInfo.typeName | Assigned Operations | view | |
| UI.headerInfo.typeNamePlural | Assigned Operations | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.label | Assigned Operations | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_WORKPERMIT | UI_WORKPERMIT | V2 | C1 | NOT_RELEASED |
Fiori Apps (2)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F4691 | Create Work Permit Request | 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 app to create new Work Permit. |
| 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. |
Create Work Permit Request
Business Role: Maintenance Planner
The Create Work Permit Request app allows to create new work permit with reference to an existing maintenance order, a predesigned work permit template, or independently. It provides the abilities to perform the following operations: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
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 (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WorkPermit | WorkPermit | ||
| KEY | OperationOrderRoutingNumber | OperationOrderRoutingNumber | ||
| KEY | MaintOrderOperationCounter | MaintOrderOperationCounter | ||
| MaintenanceOrderOperation | ||||
| OperationDescription | _MaintenanceOrderOperation | OperationDescription | ||
| MaintenanceOrder | MaintenanceOrder | |||
| WorkCenter | ||||
| WorkCenterText | ||||
| Plant | _MaintenanceOrderOperation | Plant | ||
| PlantName | ||||
| MaintOrderOperationInternalID | _MaintenanceOrderOperation | MaintOrderOperationInternalID | ||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation |
@EndUserText.label: 'Work Permit Order and Operations'
@Metadata.allowExtensions:true
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #M, dataClass: #TRANSACTIONAL}
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@UI: {
headerInfo: { typeName: 'Assigned Operations',
typeNamePlural: 'Assigned Operations',
title: { type: #STANDARD,label: 'Assigned Operations' } },
presentationVariant: [{ sortOrder: [{ by: 'MaintOrderOperationCounter' }],
groupBy: [ 'MaintOrderOperationCounter' ],visualizations: [{ type: #AS_LINEITEM }],
requestAtLeast: [ 'MaintOrderOperationCounter' ] }]
}
define view entity C_WorkPermitOrderOperationTP
as projection on R_WorkPermitOrderOperationTP as WorkPermitOrderOperation
{
@UI.hidden: true
key WorkPermit,
@UI.hidden: true
key OperationOrderRoutingNumber,
key MaintOrderOperationCounter,
@UI.lineItem: [{ position: 10, label: 'Operation Number' }]
@EndUserText:{ label: 'Operation Number', quickInfo: 'Operation Number'}
@ObjectModel.text.element: ['OperationDescription']
@Search.defaultSearchElement: true
cast ( _MaintenanceOrderOperation.MaintenanceOrderOperation as vdm_vornr preserving type) as MaintenanceOrderOperation,
@UI.hidden: true
_MaintenanceOrderOperation.OperationDescription,
@UI.hidden: true
MaintenanceOrder,
@EndUserText:{ label: 'Work Center', quickInfo: 'Work Center'}
@UI.lineItem: [{ position: 50, label: 'Work Center' }]
@UI: {
textArrangement: #TEXT_ONLY
}
@ObjectModel.text.element: ['WorkCenterText']
@Search.defaultSearchElement: true
_MaintenanceOrderOperation._WorkCenter.WorkCenter,
@Search.defaultSearchElement: true
@UI.hidden: true
_MaintenanceOrderOperation._WorkCenter._Text[1:Language = $session.system_language].WorkCenterText as WorkCenterText,
@Search.defaultSearchElement: true
@ObjectModel.text.element: ['PlantName']
@UI.lineItem: [{ position: 60, label: 'Plant Name' }]
@UI: {
textArrangement: #TEXT_ONLY
}
_MaintenanceOrderOperation.Plant,
@Search.defaultSearchElement: true
@UI.hidden: true
_MaintenanceOrderOperation._Plant.PlantName,
_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
ConcatenatedActiveSystStsName,
@UI.hidden: true
_MaintenanceOrderOperation,
_WorkPermit : redirected to parent C_WorkPermitTP
}
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