C_MaintJobWorkItemChecklist
Maintenance Work Item Check List
C_MaintJobWorkItemChecklist is a Consumption CDS View that provides data about "Maintenance Work Item Check List" in SAP S/4HANA. It reads from 1 data source (I_MaintOrderInspectionLot) and exposes 10 fields with key fields MaintenanceOrder, MaintenanceOrderOperation. It has 2 associations to related views. Part of development package VDM_EAM_MAINTJOB_MANAGE_CHKLST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintOrderInspectionLot | I_MaintOrderInspectionLot | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MaintenanceOrderOperation | _MaintenanceOrderOperation | $projection.MaintenanceBusinessSubobject = _MaintenanceOrderOperation.MaintOrderOperationInternalID |
| [1..*] | I_InspectionLotAggregate | _InspectionLotAggregate | $projection.InspectionLot = _InspectionLotAggregate.InspectionLot |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceOrder | MaintenanceOrder | ||
| KEY | MaintenanceOrderOperation | |||
| MaintenanceBusinessSubobject | MaintenanceBusinessSubobject | |||
| InspectionLot | InspectionLot | |||
| Plant | Plant | |||
| InspCharAcceptedCount | _InspectionLotAggregate | InspCharAcceptedCount | ||
| InspCharOpenCount | _InspectionLotAggregate | InspCharOpenCount | ||
| InspCharRejectedCount | _InspectionLotAggregate | InspCharRejectedCount | ||
| _MaintenanceOrderOperation | _MaintenanceOrderOperation | |||
| _InspectionLotAggregate | _InspectionLotAggregate |
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@AccessControl.authorizationCheck : #MANDATORY
@Metadata.allowExtensions: true
@VDM: {
viewType: #CONSUMPTION
}
@VDM.lifecycle.status: #DEPRECATED
define view entity C_MaintJobWorkItemChecklist
as select from I_MaintOrderInspectionLot
association [0..1] to I_MaintenanceOrderOperation as _MaintenanceOrderOperation on $projection.MaintenanceBusinessSubobject = _MaintenanceOrderOperation.MaintOrderOperationInternalID
association [1..*] to I_InspectionLotAggregate as _InspectionLotAggregate on $projection.InspectionLot = _InspectionLotAggregate.InspectionLot
{
key MaintenanceOrder,
key cast(_MaintenanceOrderOperation.MaintenanceOrderOperation as maintenanceorderoperation preserving type) as MaintenanceOrderOperation,
MaintenanceBusinessSubobject,
InspectionLot,
Plant,
// If Equipment is available in inspection lot, Technical Object will hold Equipment,
// otherwise will hold Functional Location Data
case when Equipment = '' then
cast( FunctionalLocation as eams_tec_obj )
else cast( Equipment as eams_tec_obj ) end as TechnicalObject,
// Technical Object Type : If Equipment is available in inspection lot, Technical Object will hold Equipment,
// otherwise will hold Functional Location Data
cast( case when Equipment = '' and FunctionalLocation = '' then ''
else case when Equipment = '' then 'EAMS_FL'
else 'EAMS_EQUI' end end as eams_tec_obj_type_value ) as TechObjIsEquipOrFuncnlLoc,
//_association_name // Make association public
_InspectionLotAggregate.InspCharAcceptedCount,
_InspectionLotAggregate.InspCharOpenCount,
_InspectionLotAggregate.InspCharRejectedCount,
_MaintenanceOrderOperation,
_InspectionLotAggregate
}
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