C_WrkPmtSftyCertValueHelp
Safety Certificate in Work Permit
C_WrkPmtSftyCertValueHelp is a Consumption CDS View that provides data about "Safety Certificate in Work Permit" in SAP S/4HANA. It reads from 1 data source (I_SafetyCertificate) and exposes 24 fields with key field SafetyCertificate. It has 7 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)
| Source | Alias | Join Type |
|---|---|---|
| I_SafetyCertificate | I_SafetyCertificate | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 |
| [1..1] | I_SafetyCertificateTypeText | _SafetyCertificateTypeText | $projection.SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType and $projection.MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant and _SafetyCertificateTypeText.Language = $session.system_language |
| [1..1] | I_Plant | _Plant | $projection.MaintenancePlanningPlant = _Plant.Plant |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Analytics.technicalName | CPMTSFTYCERTVH | view | |
| ObjectModel.representativeKey | SafetyCertificate | view | |
| EndUserText.label | Safety Certificate in Work Permit | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_WORKPERMIT | UI_WORKPERMIT | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| 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 (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SafetyCertificate | SafetyCertificate | ||
| SafetyCertificateInternalID | SafetyCertificateInternalID | |||
| SftyCertDesc | SftyCertDesc | |||
| SafetyCertificateType | SafetyCertificateType | |||
| SftyCertificateTypeDescription | _SafetyCertificateTypeText | SftyCertificateTypeDescription | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | |||
| PlantName | _Plant | PlantName | ||
| Equipment | Equipment | |||
| FunctionalLocation | FunctionalLocation | |||
| ValidFromDateTime | ValidFromDateTime | |||
| ValidToDateTime | ValidToDateTime | |||
| SftyCertProcessingStatus | SftyCertProcessingStatus | |||
| SftyCertProcessingStatusText | SftyCertProcessingStatusText | |||
| WorkCenter | WorkCenter | |||
| WorkCenterText | WorkCenterText | |||
| MaintenancePlannerGroup | MaintenancePlannerGroup | |||
| TechObjAuthorizationGroup | TechObjAuthorizationGroup | |||
| _Equipment | _Equipment | |||
| _EquipmentText | _EquipmentText | |||
| _FunctionalLocation | _FunctionalLocation | |||
| _FunctionalLocationText | _FunctionalLocationText | |||
| _FunctionalLocationLabel | _FunctionalLocationLabel | |||
| _SafetyCertificateTypeText | _SafetyCertificateTypeText | |||
| _Plant | _Plant |
@AccessControl.authorizationCheck: #MANDATORY
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #S, dataClass: #META}
@ObjectModel.dataCategory: #VALUE_HELP
@Analytics.technicalName: 'CPMTSFTYCERTVH'
@ObjectModel.representativeKey: 'SafetyCertificate'
@EndUserText.label: 'Safety Certificate in Work Permit'
@AccessControl.personalData.blocking: #NOT_REQUIRED
define view entity C_WrkPmtSftyCertValueHelp
as select from I_SafetyCertificate
association [0..1] to I_Equipment as _Equipment on $projection.Equipment = _Equipment.Equipment
association [0..*] to I_EquipmentText as _EquipmentText on $projection.Equipment = _EquipmentText.Equipment
association [0..1] to I_FunctionalLocation as _FunctionalLocation on $projection.FunctionalLocation = _FunctionalLocation.FunctionalLocation
association [0..*] to I_FunctionalLocationText as _FunctionalLocationText on $projection.FunctionalLocation = _FunctionalLocationText.FunctionalLocation
association [0..1] to I_FunctionalLocationLabel as _FunctionalLocationLabel on $projection.FunctionalLocation = _FunctionalLocationLabel.FunctionalLocation
association [1..1] to I_SafetyCertificateTypeText as _SafetyCertificateTypeText on $projection.SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType
and $projection.MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant
and _SafetyCertificateTypeText.Language = $session.system_language
association [1..1] to I_Plant as _Plant on $projection.MaintenancePlanningPlant = _Plant.Plant
{
@EndUserText: { label: 'Safety Certificate', quickInfo: 'Safety Certificate' }
@ObjectModel.text.element: ['SftyCertDesc']
@Search: {defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@UI: {
selectionField: [{ position: 30 }],
lineItem:[ {position:30, importance: #HIGH} ],
textArrangement: #TEXT_FIRST
}
key SafetyCertificate,
SafetyCertificateInternalID,
@EndUserText: { label: 'Description', quickInfo: 'Safety Certificate Description' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
@Semantics.text:true
SftyCertDesc,
@EndUserText: { label: 'Safety Certificate Type', quickInfo: 'Safety Certificate Type' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
SafetyCertificateType,
@EndUserText: { label: 'Safety Certificate Type Description', quickInfo: 'Safety Certificate Type Description' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
_SafetyCertificateTypeText.SftyCertificateTypeDescription,
@EndUserText: { label: 'Maintenance Planning Plant', quickInfo: 'Maintenance Planning Plant' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
@ObjectModel.text.element: ['PlantName']
MaintenancePlanningPlant,
@EndUserText: { label: 'Plant Name', quickInfo: 'Plant Name' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
_Plant.PlantName,
@EndUserText: { label: 'Technical Object', quickInfo: 'Technical Object' }
@Consumption.filter.hidden: true
cast( case when _Equipment.Equipment <> '' then ltrim( _Equipment.Equipment,'0')
else case when _FunctionalLocation.FunctionalLocation <> ''
then _FunctionalLocationLabel.FunctionalLocationLabelName
else '' end end as eams_tec_obj preserving type ) as TechnicalObjectLabel,
@Semantics.text: true
cast( case when _Equipment.Equipment <> ''
then _EquipmentText[1:Language = $session.system_language].EquipmentName
else case when _FunctionalLocation.FunctionalLocation <> ''
then _FunctionalLocationText[1:Language = $session.system_language].FunctionalLocationName
else '' end end as eams_tec_obj_des preserving type ) as TechnicalObjectDescription,
@UI.hidden: true
Equipment,
@UI.hidden: true
FunctionalLocation,
@UI.hidden: true
ValidFromDateTime,
@UI.hidden: true
ValidToDateTime,
@EndUserText: { label: 'Safety Certificate Processing Status', quickInfo: 'Safety Certificate Processing Status' }
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.7 }
SftyCertProcessingStatus,
@EndUserText: { label: 'Processing Status', quickInfo: 'Processing Status' }
@Search.defaultSearchElement: true
@Search.ranking:#MEDIUM
SftyCertProcessingStatusText,
WorkCenter,
WorkCenterText,
MaintenancePlannerGroup,
TechObjAuthorizationGroup,
_Equipment,
_EquipmentText,
_FunctionalLocation,
_FunctionalLocationText,
_FunctionalLocationLabel,
_SafetyCertificateTypeText,
_Plant
}
where
(
SftyCertProcessingStatus < 'PS80'
)
and SftyCertificateSubobjectType = 'S'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA