C_WorkPermitApprovalSegmentTP

DDL: C_WORKPERMITAPPROVALSEGMENTTP Type: view_entity CONSUMPTION

Approval History

C_WorkPermitApprovalSegmentTP is a Consumption CDS View that provides data about "Approval History" in SAP S/4HANA. It reads from 1 data source (R_WorkPermitApprovalSegmentTP) and exposes 26 fields with key fields WorkPermitInternalID, WrkPermitApprvlSgmt, NumberOfWrkPermitApprovals. 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_WorkPermitApprovalSegmentTP R_WorkPermitApprovalSegmentTP projection

Annotations (11)

NameValueLevelField
EndUserText.label Approval History view
AccessControl.authorizationCheck #MANDATORY view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
UI.headerInfo.typeName Approval History view
UI.headerInfo.typeNamePlural Approvals History view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.label Approvals 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 (26)

KeyFieldSource TableSource FieldDescription
KEY WorkPermitInternalID WorkPermitInternalID Object number
KEY WrkPermitApprvlSgmt WrkPermitApprvlSgmt Counter
KEY NumberOfWrkPermitApprovals NumberOfWrkPermitApprovals Counter
WorkPermit WorkPermit Application
WorkPermitApproval WorkPermitApproval Approval Type
WorkPermitApprovalDescription WorkPermitApprovalDescription Description
WrkPermitApprvlEnteredByUsr WrkPermitApprvlEnteredByUsr Approved By
ApprovalDateTime ApprovalDateTime Approved On
WorkPermitApprovalComment WorkPermitApprovalComment Approval Comment
PlainLongText PlainLongText Approval Comments
WrkPermitApprvlDactvtdByUsr WrkPermitApprvlDactvtdByUsr Revoked By
WorkPermitRevokeDateTime WorkPermitRevokeDateTime Revoked On
WorkPermitRevokeLongText WorkPermitRevokeLongText Revoke Comments
WrkPermitApprvlEntryDate WrkPermitApprvlEntryDate Created on
WrkPermitApprvlEntryTime WrkPermitApprvlEntryTime Entered At
WrkPermitAprvdFromDate WrkPermitAprvdFromDate App.fr date
WrkPermitAprvdToDate WrkPermitAprvdToDate App.to date
WrkPermitAprvdFromTime WrkPermitAprvdFromTime Entered At
WrkPermitAprvdToTime WrkPermitAprvdToTime AppToTime
WrkPmtApprvlDeactivationDate WrkPmtApprvlDeactivationDate Deactivated on
WrkPmtApprvlDeactivationTime WrkPmtApprvlDeactivationTime Deactivated at
WrkPermitApprvlSgmtIsInactive WrkPermitApprvlSgmtIsInactive Permit inactive
OriglCreatedByUserDescription _CreatedByUser UserDescription Full Name
UserDescription _RejectByUser UserDescription Full Name
_CreatedByUser _CreatedByUser
_RejectByUser _RejectByUser

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_WorkPermitApprovalSegmentTP.
-- 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_WorkPermitApprovalSegmentTP AS
SELECT
  WorkPermitInternalID,
  WrkPermitApprvlSgmt,
  NumberOfWrkPermitApprovals,
  WorkPermit,
  WorkPermitApproval,
  WorkPermitApprovalDescription,
  WrkPermitApprvlEnteredByUsr,
  ApprovalDateTime,
  WorkPermitApprovalComment,
  PlainLongText,
  WrkPermitApprvlDactvtdByUsr,
  WorkPermitRevokeDateTime,
  WorkPermitRevokeLongText,
  WrkPermitApprvlEntryDate,
  WrkPermitApprvlEntryTime,
  WrkPermitAprvdFromDate,
  WrkPermitAprvdToDate,
  WrkPermitAprvdFromTime,
  WrkPermitAprvdToTime,
  WrkPmtApprvlDeactivationDate,
  WrkPmtApprvlDeactivationTime,
  WrkPermitApprvlSgmtIsInactive,
  _CreatedByUser.UserDescription AS OriglCreatedByUserDescription,
  _RejectByUser.UserDescription AS UserDescription
FROM R_WorkPermitApprovalSegmentTP
;