C_WorkPermitOrderValueHelp

DDL: C_WORKPERMITORDERVALUEHELP Type: view_entity CONSUMPTION Package: VDM_EAM_WCM_PERMIT_TO_WORK

Maintenance Orders in Work Permit

C_WorkPermitOrderValueHelp is a Consumption CDS View that provides data about "Maintenance Orders in Work Permit" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceOrder) and exposes 20 fields with key field MaintenanceOrder. It has 2 associations to related views. 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)

SourceAliasJoin Type
I_MaintenanceOrder _MaintenanceOrder from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_OrderTypeText _OrderTypeText $projection.MaintenanceOrderType = _OrderTypeText.OrderType and _OrderTypeText.Language = $session.system_language
[1..1] I_Plant _Plant $projection.MaintenancePlanningPlant = _Plant.Plant

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName CWRKPMTORDERVH view
ObjectModel.representativeKey MaintenanceOrder view
EndUserText.label Maintenance Orders in Work Permit view

OData Services (1)

ServiceBindingVersionContractRelease
UI_WORKPERMIT UI_WORKPERMIT V2 C1 NOT_RELEASED

Fiori Apps (1)

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

KeyFieldSource TableSource FieldDescription
KEY MaintenanceOrder I_MaintenanceOrder MaintenanceOrder Order
MaintenanceOrderDesc I_MaintenanceOrder MaintenanceOrderDesc Maintenance Order Description
MaintenancePlanningPlant I_MaintenanceOrder MaintenancePlanningPlant Planning Plant
PlantName _Plant PlantName Plant Name
MaintenanceOrderType I_MaintenanceOrder MaintenanceOrderType Order Type
OrderTypeName _OrderTypeText OrderTypeName
MaintenanceOrderCategory I_MaintenanceOrder MaintenanceOrderCategory
MainWorkCenter I_MaintenanceOrder MainWorkCenter Work Center
WorkCenterTypeCode I_MaintenanceOrder WorkCenterTypeCode Object Type
WorkCenterInternalID I_MaintenanceOrder WorkCenterInternalID Work Center
MaintenanceOrderInternalID I_MaintenanceOrder MaintenanceOrderInternalID Object number
MaintenancePlannerGroup I_MaintenanceOrder MaintenancePlannerGroup Planner Group
CompanyCode I_MaintenanceOrder CompanyCode Receiver Company Code
MaintenanceProcessingPhase I_MaintenanceOrder MaintenanceProcessingPhase Phase
_MaintenancePlanPlant I_MaintenanceOrder _MaintenancePlanPlant
_MaintenanceOrderType I_MaintenanceOrder _MaintenanceOrderType
_MaintenanceOrderCategory I_MaintenanceOrder _MaintenanceOrderCategory
_CompanyCode _CompanyCode
_Plant _Plant
_OrderTypeText _OrderTypeText

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_WorkPermitOrderValueHelp.
-- 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_WorkPermitOrderValueHelp AS
SELECT
  _MaintenanceOrder.MaintenanceOrder AS MaintenanceOrder,
  _MaintenanceOrder.MaintenanceOrderDesc AS MaintenanceOrderDesc,
  _MaintenanceOrder.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  _Plant.PlantName AS PlantName,
  _MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType,
  _OrderTypeText.OrderTypeName AS OrderTypeName,
  _MaintenanceOrder.MaintenanceOrderCategory AS MaintenanceOrderCategory,
  _MaintenanceOrder.MainWorkCenter AS MainWorkCenter,
  _MaintenanceOrder.WorkCenterTypeCode AS WorkCenterTypeCode,
  _MaintenanceOrder.WorkCenterInternalID AS WorkCenterInternalID,
  _MaintenanceOrder.MaintenanceOrderInternalID AS MaintenanceOrderInternalID,
  _MaintenanceOrder.MaintenancePlannerGroup AS MaintenancePlannerGroup,
  _MaintenanceOrder.CompanyCode AS CompanyCode,
  _MaintenanceOrder.MaintenanceProcessingPhase AS MaintenanceProcessingPhase,
  _MaintenanceOrder._MaintenancePlanPlant AS _MaintenancePlanPlant,
  _MaintenanceOrder._MaintenanceOrderType AS _MaintenanceOrderType,
  _MaintenanceOrder._MaintenanceOrderCategory AS _MaintenanceOrderCategory
FROM I_MaintenanceOrder AS _MaintenanceOrder
LEFT OUTER JOIN I_OrderTypeText AS _OrderTypeText ON MaintenanceOrderType = _OrderTypeText.OrderType AND _OrderTypeText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON MaintenancePlanningPlant = _Plant.Plant  -- association [1..1]
;