C_WorkPermitOrderTP

DDL: C_WORKPERMITORDERTP Type: view_entity CONSUMPTION

Work Permit Assigned Orders

C_WorkPermitOrderTP is a Consumption CDS View that provides data about "Work Permit Assigned Orders" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitOrderTP) and exposes 21 fields with key fields MaintenanceOrderInternalID, WorkPermitInternalID. 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_WorkPermitOrderTP R_WorkPermitOrderTP projection

Annotations (11)

NameValueLevelField
EndUserText.label Work Permit Assigned Orders view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
UI.headerInfo.typeName Orders view
UI.headerInfo.typeNamePlural Orders view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.label OrderNumber 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 (21)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrderInternalID MaintenanceOrderInternalID Object number
KEY WorkPermitInternalID WorkPermitInternalID Object number
WorkPermit WorkPermit Application
MaintenanceOrder MaintenanceOrder Order
RowIndex RowIndex Row index
MaintenanceOrderDesc _MaintenanceOrder MaintenanceOrderDesc Maintenance Order Desc
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
WorkPermitOrderObjectType WorkPermitOrderObjectType 1st ObjTyp
WorkPermitObjectType WorkPermitObjectType 2nd ObjTyp
MaintenanceOrderType MaintenanceOrderType Order Type
MaintenanceOrderOperation MaintenanceOrderOperation Suboperation
MaintOrderRoutingNumber MaintOrderRoutingNumber Plan No.f.Oper.
MainWorkCenter _MaintenanceOrder MainWorkCenter Work Center
WorkCenterText Work Center Text
MainWorkCenterPlant _MaintenanceOrder MainWorkCenterPlant Plnt WorkCenter
MaintOrdProcessPhaseCode _MaintenanceOrder MaintOrdProcessPhaseCode Process Phase
EAMProcessPhaseCodeDesc Phase
MaintOrdProcessSubPhaseCode _MaintenanceOrder MaintOrdProcessSubPhaseCode Subphase
EAMProcessSubPhaseCodeDesc Subphase
MaintOrdCnctntdActvSystSts MaintOrdCnctntdActvSystSts Concatenated System Status
_MaintenanceOrder _MaintenanceOrder

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view C_WorkPermitOrderTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW C_WorkPermitOrderTP AS
SELECT
  MaintenanceOrderInternalID,
  WorkPermitInternalID,
  WorkPermit,
  MaintenanceOrder,
  RowIndex,
  _MaintenanceOrder.MaintenanceOrderDesc AS MaintenanceOrderDesc,
  MaintenancePlanningPlant,
  WorkPermitOrderObjectType,
  WorkPermitObjectType,
  MaintenanceOrderType,
  MaintenanceOrderOperation,
  MaintOrderRoutingNumber,
  _MaintenanceOrder.MainWorkCenter AS MainWorkCenter,
  _MaintenanceOrder._MainWorkCenter._Text[1:Language = $session.system_language].WorkCenterText AS WorkCenterText,
  _MaintenanceOrder.MainWorkCenterPlant AS MainWorkCenterPlant,
  _MaintenanceOrder.MaintOrdProcessPhaseCode AS MaintOrdProcessPhaseCode,
  _MaintenanceOrder._EAMProcessPhase._EAMProcessPhaseText[1:Language = $session.system_language].EAMProcessPhaseCodeDesc AS EAMProcessPhaseCodeDesc,
  _MaintenanceOrder.MaintOrdProcessSubPhaseCode AS MaintOrdProcessSubPhaseCode,
  _MaintenanceOrder._EAMProcessSubPhase._EAMProcessSubPhaseText[1:Language = $session.system_language].EAMProcessSubPhaseCodeDesc AS EAMProcessSubPhaseCodeDesc,
  MaintOrdCnctntdActvSystSts
FROM R_WorkPermitOrderTP
;