C_WorkPermitIssueHistoryTP

DDL: C_WORKPERMITISSUEHISTORYTP Type: view_entity CONSUMPTION Package: VDM_EAM_WCM_PERMIT_TO_WORK

Work Permit Issue History

C_WorkPermitIssueHistoryTP is a Consumption CDS View that provides data about "Work Permit Issue History" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitIssueHistoryTP) and exposes 14 fields with key fields WorkPermitInternalID, NumberOfWorkPermitIssued. 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
R_WorkPermitIssueHistoryTP R_WorkPermitIssueHistoryTP projection

Annotations (9)

NameValueLevelField
EndUserText.label Work Permit Issue History 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
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.label Issue History 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 (14)

KeyFieldSource TableSource FieldDescription
KEY WorkPermitInternalID WorkPermitInternalID
KEY NumberOfWorkPermitIssued NumberOfWorkPermitIssued
WorkPermit WorkPermit
MaintenancePlanningPlant MaintenancePlanningPlant
WorkPermitType WorkPermitType
WorkPermitIssuedBy WorkPermitIssuedBy Issued By
WorkPermitIssuedTo WorkPermitIssuedTo Issued To
UserCommentsText UserCommentsText Comments
WorkPermitIssueDateTime WorkPermitIssueDateTime Issued At
WorkPermitReturnedTo WorkPermitReturnedTo Returned To
WorkPermitReturnedDateTime WorkPermitReturnedDateTime Returned At
WorkPermitIssuedByName WorkPermitIssuedByName
WorkPermitReturnedByName WorkPermitReturnedByName
PersonFullName PersonFullName
@EndUserText.label: 'Work Permit Issue History'
@Metadata.allowExtensions:true
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType: {serviceQuality: #C,
sizeCategory: #M, dataClass: #TRANSACTIONAL}
@VDM.viewType: #CONSUMPTION
@UI: {
  headerInfo: {
                title: { type: #STANDARD,label: 'Issue History' }
                } ,
               presentationVariant: [{
                          groupBy: [ 'WorkPermit'  ],visualizations: [{ type: #AS_LINEITEM }],
                          requestAtLeast: [ 'WorkPermit' ]  }]
}
define view entity C_WorkPermitIssueHistoryTP
  as projection on R_WorkPermitIssueHistoryTP as WorkPermitIssueHistory
{
      @UI.hidden: true
  key WorkPermitInternalID,
      @UI.hidden: true
  key NumberOfWorkPermitIssued,
      @UI.hidden: true
      WorkPermit,
      @UI.hidden: true
      MaintenancePlanningPlant,
      @UI.hidden: true
      WorkPermitType,
     @UI:{ lineItem:[  {position:10} ] }
      @EndUserText.label: 'Issued By'
      @EndUserText.quickInfo: 'Issued By'
      @ObjectModel.text.element: ['WorkPermitIssuedByName']
      WorkPermitIssuedBy,
      @UI:{ lineItem:[  {position:15} ] }
      @EndUserText.label: 'Issued To'
      @EndUserText.quickInfo: 'Issued To'
      @ObjectModel.text.element: ['PersonFullName']
      WorkPermitIssuedTo,
      @UI:{ lineItem:[  {position:20} ] }
      @EndUserText.label: 'Comments'
      @EndUserText.quickInfo: 'Comments'
      UserCommentsText,
      @UI:{ lineItem:[  {position:25} ] }
      @EndUserText.label: 'Issued At'
      @EndUserText.quickInfo: 'Issued At'
      WorkPermitIssueDateTime,
      @UI:{ lineItem:[  {position:30} ] }
      @EndUserText.label: 'Returned To'
      @ObjectModel.text.element: ['WorkPermitReturnedByName']
      @EndUserText.quickInfo: 'Returned To'
      WorkPermitReturnedTo,
      @UI:{ lineItem:[  {position:35} ] }
      @EndUserText.label: 'Returned At'
      @EndUserText.quickInfo: 'Returned At'
      WorkPermitReturnedDateTime,
      @UI.hidden: true
      WorkPermitIssuedByName,
      @UI.hidden: true
      WorkPermitReturnedByName,
      @UI.hidden: true
      PersonFullName,
      /* Associations */
      _WorkPermit : redirected to parent C_WorkPermitTP
}