I_WrkPmtReferenceTemplateVH

DDL: I_WRKPMTREFERENCETEMPLATEVH Type: view_entity COMPOSITE Package: VDM_EAM_WCM_PERMIT_TO_WORK

Work Permit Reference Template

I_WrkPmtReferenceTemplateVH is a Composite CDS View that provides data about "Work Permit Reference Template" in SAP S/4HANA. It reads from 1 data source (I_WorkPermitTemplate) and exposes 16 fields with key field WorkPermit. It has 5 associations to related views. It is exposed through 3 OData services (ASQL_F4692, UI_WORKPERMIT, UI_WORKPERMITTEMPLATE). It is used in 2 Fiori applications: Manage Work Permit Templates, Manage Work Permits. Part of development package VDM_EAM_WCM_PERMIT_TO_WORK.

Data Sources (1)

SourceAliasJoin Type
I_WorkPermitTemplate I_WorkPermitTemplate from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_Equipment _Equipment $projection.Equipment = _Equipment.Equipment
[0..*] I_EquipmentText _EquipmentText $projection.Equipment = _EquipmentText.Equipment
[0..1] I_FunctionalLocation _FunctionalLocation $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation
[0..*] I_FunctionalLocationText _FunctionalLocationText $projection.FunctionalLocation = _FunctionalLocationText.FunctionalLocation
[0..1] I_FunctionalLocationLabel _FunctionalLocationLabel $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
ObjectModel.dataCategory #VALUE_HELP view
Analytics.technicalName IWRKPMTREFTMPL view
EndUserText.label Work Permit Reference Template view
ObjectModel.representativeKey WorkPermit view
Search.searchable true view

OData Services (3)

ServiceBindingVersionContractRelease
ASQL_F4692 ASQL_F4692 C2 NOT_RELEASED
UI_WORKPERMIT UI_WORKPERMIT V2 C1 NOT_RELEASED
UI_WORKPERMITTEMPLATE UI_WORKPERMITTEMPLATE V2 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
F4692 Manage Work Permit Templates Transactional Work permit template provides a predesigned structure that can be used to create work permits of consistent format. This can help you streamline the process when Permits for similar work are required to be created periodically. You can use this app to maintain the re-use library of templates to use them for creating actual work permits.
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 Permit Templates

Business Role: Industrial Hygienist

The Manage Work Permit Templates app allows to create work permit templates as predesigned models for creating work permits. The templates can be used as they are, or easily modified while work permits are created. Usage of work permit templates can help to streamline the work permit creation process when identical work permits are generated often. The app can perform the following operations:Allows to create, process, and manage work permit templatesProvides the ability to assign multiple functional locations, equipment, partners, and attachmentsAllows the configuration of the nature of work, personal protective equipment, and safety precautionsOffers easy data validation and a simplified approval process that adheres to a four-eyes principleProvides 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 (16)

KeyFieldSource TableSource FieldDescription
KEY WorkPermit WorkPermit Application
WrkPermitDesc WrkPermitDesc Short Text
WorkPermitType WorkPermitType Work Permit Type
WrkPmtMgmtObjSubType WrkPmtMgmtObjSubType Object Type
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
Equipment Equipment Equipment check
FunctionalLocation FunctionalLocation Object ID
ValidFromDateTime ValidFromDateTime Time Stamp
ValidToDateTime ValidToDateTime Time Stamp
WorkPermitProcessingStatus WorkPermitProcessingStatus Processing State
WorkPermitProcessingStatusText WorkPermitProcessingStatusText Short Description
_Equipment _Equipment
_EquipmentText _EquipmentText
_FunctionalLocation _FunctionalLocation
_FunctionalLocationText _FunctionalLocationText
_FunctionalLocationLabel _FunctionalLocationLabel

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 I_WrkPmtReferenceTemplateVH.
-- 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 I_WrkPmtReferenceTemplateVH AS
SELECT
  WorkPermit,
  WrkPermitDesc,
  WorkPermitType,
  WrkPmtMgmtObjSubType,
  MaintenancePlanningPlant,
  Equipment,
  FunctionalLocation,
  ValidFromDateTime,
  ValidToDateTime,
  WorkPermitProcessingStatus,
  WorkPermitProcessingStatusText
FROM I_WorkPermitTemplate
LEFT OUTER JOIN I_Equipment AS _Equipment ON Equipment = _Equipment.Equipment  -- association [0..1]
LEFT OUTER JOIN I_EquipmentText AS _EquipmentText ON Equipment = _EquipmentText.Equipment  -- association [0..*]
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON FunctionalLocation = _FunctionalLocation.FunctionalLocation  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocationText AS _FunctionalLocationText ON FunctionalLocation = _FunctionalLocationText.FunctionalLocation  -- association [0..*]
LEFT OUTER JOIN I_FunctionalLocationLabel AS _FunctionalLocationLabel ON FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation  -- association [0..1]
;