C_WorkPermitOrderOperationTP

DDL: C_WORKPERMITORDEROPERATIONTP Type: view_entity CONSUMPTION

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)

SourceAliasJoin Type
R_WorkPermitOrderOperationTP R_WorkPermitOrderOperationTP projection

Annotations (12)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
UI_WORKPERMIT UI_WORKPERMIT V2 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
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)

KeyFieldSource TableSource FieldDescription
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
}