C_TechObjMaintenanceItem
Maintenance Items for Technical Object
C_TechObjMaintenanceItem is a Consumption CDS View that provides data about "Maintenance Items for Technical Object" in SAP S/4HANA. It reads from 2 data sources (I_MaintenanceItem, I_MaintenanceItem) and exposes 53 fields with key field MaintenanceItem. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MaintenanceItem | I_MaintenanceItem | from |
| I_MaintenanceItem | I_MaintenanceItem | union_all |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_TechObjIsEquipOrFuncnlLocT | _TechObjIsEquipOrFuncnlLocT | _TechObjIsEquipOrFuncnlLocT.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI' and _TechObjIsEquipOrFuncnlLocT.Language = $session.system_language |
| [0..1] | I_MaintenancePlanStatus_2 | _MaintenancePlanStatus_2 | $projection.MaintenancePlan = _MaintenancePlanStatus_2.MaintenancePlan |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.sqlViewName | CTOMAINTITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maintenance Items for Technical Object | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (53)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenanceItem | MaintenanceItem | MaintItem | |
| MaintenanceItemDescription | MaintenanceItemDescription | Maintenance Item Text | ||
| MaintenancePlan | MaintenancePlan | MaintenancePlan | ||
| MaintenancePlanDesc | _MaintenancePlan | MaintenancePlanDesc | Maintenance Plan Text | |
| MaintPriority | ||||
| MaintPriorityDesc | ||||
| TechnicalObjectLabel | Equipment check | |||
| TechnicalObjectDescription | Technical Object Description | |||
| TechObjIsEquipOrFuncnlLoc | Technical Object Type | |||
| TechObjIsEquipOrFuncnlLocDesc | _TechObjIsEquipOrFuncnlLocT | TechObjIsEquipOrFuncnlLocDesc | Technical Object Type Description | |
| MaintenancePlanCategory | MaintenancePlanCategory | Maintenance Item Category | ||
| MaintenancePlanCategoryDesc | Maintenance Item Category Text | |||
| MaintenanceStrategy | MaintenanceStrategy | |||
| MaintenanceStrategyDesc | Maintenance Strategy Text | |||
| NotificationType | NotificationType | Notifictn Type | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| SystemStatusName | _MaintenancePlanStatus_2 | SystemStatusName | Plan Status | |
| MaintPlanStatusCriticality | _MaintenancePlanStatus_2 | MaintPlanStatusCriticality | ||
| AuthorizationGroup | _Equipment | AuthorizationGroup | AuthorizGroup | |
| CostCenter | _LocationAccountAssignment | CostCenter | Cost Center | |
| ControllingArea | _LocationAccountAssignment | ControllingArea | Controlling Area | |
| MaintenancePlant | ||||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | Loc/AccAssmt | ||
| MaintenanceOrderType | _MaintenanceOrder | MaintenanceOrderType | Order Type | |
| TechnicalObject | Object ID | |||
| MaintenancePlankeyMaintenanceItem | ||||
| MaintenanceItemDescription | MaintenanceItemDescription | MaintItem text | ||
| MaintenancePlan | MaintenancePlan | MaintenancePlan | ||
| MaintenancePlanDesc | _MaintenancePlan | MaintenancePlanDesc | ||
| MaintPriority | ||||
| MaintPriorityDesc | ||||
| TechnicalObjectLabel | Equipment check | |||
| TechnicalObjectDescription | ||||
| TechObjIsEquipOrFuncnlLoc | ||||
| TechObjIsEquipOrFuncnlLocDesc | _TechObjIsEquipOrFuncnlLocT | TechObjIsEquipOrFuncnlLocDesc | TObj.Type Desc. | |
| MaintenancePlanCategory | MaintenancePlanCategory | |||
| MaintenancePlanCategoryDesc | ||||
| MaintenanceStrategy | MaintenanceStrategy | |||
| MaintenanceStrategyDesc | ||||
| NotificationType | NotificationType | Notifictn Type | ||
| MaintenancePlanningPlant | MaintenancePlanningPlant | Planning Plant | ||
| MaintenancePlannerGroup | MaintenancePlannerGroup | Planner Group | ||
| SystemStatusName | _MaintenancePlanStatus_2 | SystemStatusName | ||
| MaintPlanStatusCriticality | _MaintenancePlanStatus_2 | MaintPlanStatusCriticality | ||
| AuthorizationGroup | AuthorizGroup | |||
| CostCenter | _LocationAccountAssignment | CostCenter | Cost Center | |
| ControllingArea | _LocationAccountAssignment | ControllingArea | Controlling Area | |
| MaintenancePlant | ||||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | Loc/AccAssmt | ||
| MaintenanceOrderType | _MaintenanceOrder | MaintenanceOrderType | Order Type | |
| TechnicalObject | Object ID | |||
| _LocationAccountAssignment | _LocationAccountAssignment |
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_TechObjMaintenanceItem.
-- 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.
-- SQL view name: CTOMAINTITEM
CREATE VIEW C_TechObjMaintenanceItem AS
SELECT
MaintenanceItem,
MaintenanceItemDescription,
MaintenancePlan,
_MaintenancePlan.MaintenancePlanDesc AS MaintenancePlanDesc,
_PMNotificationPriority._Text[1:Language=$session.system_language].MaintPriority AS MaintPriority,
_PMNotificationPriority._Text[1:Language=$session.system_language].MaintPriorityDesc AS MaintPriorityDesc,
cast( Equipment as eams_tech_obj_conv ) AS TechnicalObjectLabel,
cast( _Equipment._EquipmentText[ 1: Language = $session.system_language ].EquipmentName as eams_tec_obj_des ) AS TechnicalObjectDescription,
cast ( 'EAMS_EQUI' as eams_tec_obj_type_value) AS TechObjIsEquipOrFuncnlLoc,
_TechObjIsEquipOrFuncnlLocT.TechObjIsEquipOrFuncnlLocDesc AS TechObjIsEquipOrFuncnlLocDesc,
MaintenancePlanCategory,
_MaintenancePlanCatParam._Text[1:Language=$session.system_language].MaintenancePlanCategoryDesc AS MaintenancePlanCategoryDesc,
MaintenanceStrategy,
_MaintenanceStrategy._MaintenanceStrategyText[1:Language=$session.system_language].MaintenanceStrategyDesc AS MaintenanceStrategyDesc,
NotificationType,
MaintenancePlanningPlant,
MaintenancePlannerGroup,
_MaintenancePlanStatus_2.SystemStatusName AS SystemStatusName,
_MaintenancePlanStatus_2.MaintPlanStatusCriticality AS MaintPlanStatusCriticality,
_Equipment.AuthorizationGroup AS AuthorizationGroup,
_LocationAccountAssignment.CostCenter AS CostCenter,
_LocationAccountAssignment.ControllingArea AS ControllingArea,
_LocationAccountAssignment._WorkCenter.Plant AS MaintenancePlant,
MaintObjectLocAcctAssgmtNmbr,
_MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType,
cast( Equipment as eams_tec_obj ) AS TechnicalObject
FROM I_MaintenanceItem
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLocT AS _TechObjIsEquipOrFuncnlLocT ON _TechObjIsEquipOrFuncnlLocT.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI' AND _TechObjIsEquipOrFuncnlLocT.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MaintenancePlanStatus_2 AS _MaintenancePlanStatus_2 ON MaintenancePlan = _MaintenancePlanStatus_2.MaintenancePlan -- association [0..1]
-- UNION ALL with additional select branch(es): I_MaintenanceItem
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA