C_MaintAstMaintenancePlanList

DDL: C_MAINTASTMAINTENANCEPLANLIST Type: view_entity CONSUMPTION Package: IEQM

Maintenance Items for Technical Object

C_MaintAstMaintenancePlanList 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 57 fields with key field MaintenanceItem. It has 1 association to related views. Part of development package IEQM.

Data Sources (2)

SourceAliasJoin Type
I_MaintenanceItem I_MaintenanceItem from
I_MaintenanceItem I_MaintenanceItem union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_TechObjIsEquipOrFuncnlLocT _TechObjIsEquipOrFuncnlLocT _TechObjIsEquipOrFuncnlLocT.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI' and _TechObjIsEquipOrFuncnlLocT.Language = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Maintenance Items for Technical Object view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (57)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceItem MaintenanceItem MaintItem
MaintenanceItemDescription MaintenanceItemDescription Maintenance Item Text
MaintenancePlan MaintenancePlan MaintenancePlan
MaintenancePlanDesc _MaintenancePlan MaintenancePlanDesc Maintenance Plan Text
MaintPriority
MaintPriorityDesc
MaintenanceOrderType _MaintenanceOrder MaintenanceOrderType Order Type
OrderTypeName
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
AuthorizationGroup _Equipment AuthorizationGroup AuthorizGroup
CostCenter _LocationAccountAssignment CostCenter Cost Center
ControllingArea _LocationAccountAssignment ControllingArea Controlling Area
MaintenancePlant
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
TechnicalObject Object ID
CreationDate CreationDate Creation Date
Equipment Equipment Equipment check
_LocationAccountAssignment _LocationAccountAssignment
_Equipment _Equipment
system_languagekeyMaintenanceItem
MaintenanceItemDescription MaintenanceItemDescription MaintItem text
MaintenancePlan MaintenancePlan MaintenancePlan
MaintenancePlanDesc _MaintenancePlan MaintenancePlanDesc
MaintPriority
MaintPriorityDesc
MaintenanceOrderType _MaintenanceOrder MaintenanceOrderType Order Type
OrderTypeName
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
AuthorizationGroup AuthorizGroup
CostCenter _LocationAccountAssignment CostCenter Cost Center
ControllingArea _LocationAccountAssignment ControllingArea Controlling Area
MaintenancePlant
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
TechnicalObject Object ID
CreationDate CreationDate Time Stamp
Equipment Equipment Equipment check
_LocationAccountAssignment _LocationAccountAssignment
_Equipment _Equipment
_MaintenancePlanCatParam _MaintenancePlanCatParam

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_MaintAstMaintenancePlanList.
-- 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_MaintAstMaintenancePlanList 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,
  _MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType,
  _MaintenanceOrderType._Text[1: Language=$session.system_language].OrderTypeName AS OrderTypeName,
  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,
  _Equipment.AuthorizationGroup AS AuthorizationGroup,
  _LocationAccountAssignment.CostCenter AS CostCenter,
  _LocationAccountAssignment.ControllingArea AS ControllingArea,
  _LocationAccountAssignment._WorkCenter.Plant AS MaintenancePlant,
  MaintObjectLocAcctAssgmtNmbr,
  cast( Equipment as eams_tec_obj ) AS TechnicalObject,
  CreationDate,
  Equipment
FROM I_MaintenanceItem
LEFT OUTER JOIN I_TechObjIsEquipOrFuncnlLocT AS _TechObjIsEquipOrFuncnlLocT ON _TechObjIsEquipOrFuncnlLocT.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI' AND _TechObjIsEquipOrFuncnlLocT.Language = $session.system_language  -- association [0..1]
-- UNION ALL with additional select branch(es): I_MaintenanceItem
;