I_MaintJobControlParameter
Control Parameters for PMJ
I_MaintJobControlParameter is a Basic CDS View that provides data about "Control Parameters for PMJ" in SAP S/4HANA. It reads from 1 data source (t350_conf_ctrl) and exposes 3 fields with key fields Plant, MaintenanceOrderType, MaintJobWrkItmCtrlParameter.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t350_conf_ctrl | t350_conf_ctrl | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| EndUserText.label | Control Parameters for PMJ | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Plant | werks | ||
| KEY | MaintenanceOrderType | auart | ||
| KEY | MaintJobWrkItmCtrlParameter | eam_pmj_ind |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #S, dataClass: #CUSTOMIZING}
@EndUserText.label: 'Control Parameters for PMJ'
define view entity I_MaintJobControlParameter
as select from t350_conf_ctrl
// association [1..1] to I_Plant as _Plant on $projection.Plant = _Plant.Plant
// association [1..1] to I_OrderType as _OrderType on $projection.MaintenanceOrderType = _OrderType.OrderType
{
// @ObjectModel.foreignKey.association: '_Plant'
key werks as Plant,
// @ObjectModel.foreignKey.association: '_OrderType'
key auart as MaintenanceOrderType,
key eam_pmj_ind as MaintJobWrkItmCtrlParameter,
@Semantics.booleanIndicator: true
case eam_pmj_ind
when '1' then 'X'
else ''
end as MaintJobIsConfWthoutAssgmt,
@Semantics.booleanIndicator: true
case eam_pmj_ind
when '2' then 'X'
else ''
end as MaintJobIsJobAssgmtRestricted,
@Semantics.booleanIndicator: true
case eam_pmj_ind
when '3' then 'X'
else ''
end as MaintJobIsClearResvnAutomatic,
@Semantics.booleanIndicator: true
case eam_pmj_ind
when '4' then 'X'
else ''
end as MaintNotifCrtnIsAllowed,
@Semantics.booleanIndicator: true
case eam_pmj_ind
when 'C' then 'X'
else ''
end as MaintJobActlWrkIsInitialized,
// Maintenance Priority & Notification Type should be maintained only for Control ( 4 - Enable Create Notification Option for Recording Malfunction )
case eam_pmj_ind
when '4' then maintpriority
else ''
end as MaintPriority,
case eam_pmj_ind
when '4' then notificationtype
else ''
end as NotificationType
// _Plant,
// _OrderType
}
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