I_MaintenanceItemSituation

DDL: I_MAINTENANCEITEMSITUATION Type: view_entity COMPOSITE

Situation Handling Maintenance Item

I_MaintenanceItemSituation (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Asset Management

I_MaintenanceItemSituation is a Composite CDS View that provides data about "Situation Handling Maintenance Item" in SAP S/4HANA. It reads from 1 data source (I_MaintenanceItem) and exposes 66 fields with key field MaintenanceItem. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessAsset Management
Application ComponentPM-PRM-MP
CapabilitiesData Structure
PackageAsset Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_MaintenanceItem _MaintenanceItem from

Associations (1)

CardinalityTargetAliasCondition
[0..1] E_MaintenanceItemBasic _MaintenanceItemExtension $projection.MaintenanceItem = _MaintenanceItemExtension.MaintenanceItem

Annotations (15)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Situation Handling Maintenance Item view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.modelingPattern #DATA_STRUCTURE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.elementSuffix MIT view
AbapCatalog.extensibility.quota.maximumFields 250 view
AbapCatalog.extensibility.quota.maximumBytes 5000 view

Fields (66)

KeyFieldSource TableSource FieldDescription
KEY MaintenanceItem MaintenanceItem Maintenance Item
MaintenanceItemDescription MaintenanceItemDescription Item Description
Equipment Equipment Equipment Number
FunctionalLocation Functional Location
MaintenancePlant _LocationAccountAssignment MaintenancePlant Maintenance Plant
AdditionalDeviceData AdditionalDeviceData Additional Device Data
Assembly Assembly Assembly
BusinessArea BusinessArea Business Area (Loc.)
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
CreationDate CreationDate Date of creation
CycleSetSequence CycleSetSequence Cycle Set Sequence
ImmediateReleaseIsBlocked ImmediateReleaseIsBlocked Do Not Release Immediately
LastChangeDate LastChangeDate Last Changed On
LastChangedByUser LastChangedByUser Name of Person Who Changed Object
MaintCmplncCalculationMethod MaintCmplncCalculationMethod Maintenance Compliance Calculation Method
MaintCmplncStrtDteOffsetInDays MaintCmplncStrtDteOffsetInDays Maintenance Compliance Start Date Offset In Days
MaintCmplncEndDateOffsetInDays MaintCmplncEndDateOffsetInDays Maintenance Compliance End Date Offset In Days
MaintenanceActivityType MaintenanceActivityType Maintenance Activity Type
MaintenanceItemHasLongText MaintenanceItemHasLongText Maintenance Item has Long Text
MaintenancePlannerGroup MaintenancePlannerGroup Planner Group for Customer Service and Plant Maintenance
MaintenancePlanningPlant MaintenancePlanningPlant Maintenance Planning Plant
SettlementRuleIsMaintained SettlementRuleIsMaintained Indicator showing settlement rule maintained
MainWorkCenter _MainWorkCenter WorkCenter Main Work Center
MainWorkCenterPlant _MainWorkCenter Plant Main Work Center Plant
WorkCenter Production Work Center
TaskListType TaskListType Task List Type
TaskListGroup TaskListGroup Key for Task List Group
TaskListGroupCounter TaskListGroupCounter Task List Group Counter
MaintenancePlan MaintenancePlan Maintenance Plan
MaintPlanFreeDefinedAttrib _MaintenancePlan MaintPlanFreeDefinedAttrib Sort field for maintenance plans
ControllingArea _LocationAccountAssignment ControllingArea Controlling Area
CostCenter _LocationAccountAssignment CostCenter Cost Center
CompanyCode _LocationAccountAssignment CompanyCode Company Code
FixedAsset _LocationAccountAssignment FixedAsset Asset Subnumber
MasterFixedAsset _LocationAccountAssignment MasterFixedAsset Main Asset Number
AssetLocation _LocationAccountAssignment AssetLocation Location of maintenance object
AssetRoom _LocationAccountAssignment AssetRoom Room
PlantSection _LocationAccountAssignment PlantSection Plant Section
ServiceContract ServiceContract Service Contract
ServiceContractItem ServiceContractItem Shortened Item Number in Document
ServiceOrderTemplate ServiceOrderTemplate Service Order Template
StandingOrderNumber _LocationAccountAssignment StandingOrderNumber Standing order number
MaintenanceStrategy MaintenanceStrategy Maintenance Strategy
MaintenancePlanCategory MaintenancePlanCategory Maintenance Plan Category
NotificationType NotificationType Notification Type
MaintenanceNotification MaintenanceNotification Notification Number
MaintPriorityTypeendasMaintPriorityType Priority Type
MaintPriority MaintPriority Priority
MaintenanceOrder MaintenanceOrder Maintenance Order
MaintenanceOrderType MaintenanceOrderType Order Type
SerialNumber SerialNumber Serial Number
Material Material Material Number
OperationSystemCondition OperationSystemCondition Operation System Condition
NumberOfTaskListExecutions NumberOfTaskListExecutions Execution factor for whole task list
SalesDocument SalesDocument Sales Document
SettlementOrder SettlementOrder Settlement Order
Product Product Product Number
MaintenanceItemObjectList MaintenanceItemObjectList Object list number
ABCIndicator _LocationAccountAssignment ABCIndicator ABC Indicator for Technical Object
WBSElement Work Breakdown Structure Element (WBS Element) Edited
ServiceDocumentType ServiceDocumentType Business Transaction Type
MaintNotifTskIsAutomlyDtmnd MaintNotifTskIsAutomlyDtmnd Automatic task determination in the notification
MaintObjectLocAcctAssgmtNmbr MaintObjectLocAcctAssgmtNmbr Location and account assignment for technical object
_Equipment _Equipment
_LocationAccountAssignment _LocationAccountAssignment
_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 I_MaintenanceItemSituation.
-- 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 I_MaintenanceItemSituation AS
SELECT
  MaintenanceItem,
  MaintenanceItemDescription,
  Equipment,
  cast ( _LocationAccountAssignment.FunctionalLocation as tplnr_unconverted ) AS FunctionalLocation,
  _LocationAccountAssignment.MaintenancePlant AS MaintenancePlant,
  AdditionalDeviceData,
  Assembly,
  BusinessArea,
  CreatedByUser,
  CreationDate,
  CycleSetSequence,
  ImmediateReleaseIsBlocked,
  LastChangeDate,
  LastChangedByUser,
  MaintCmplncCalculationMethod,
  MaintCmplncStrtDteOffsetInDays,
  MaintCmplncEndDateOffsetInDays,
  MaintenanceActivityType,
  MaintenanceItemHasLongText,
  MaintenancePlannerGroup,
  MaintenancePlanningPlant,
  SettlementRuleIsMaintained,
  _MainWorkCenter.WorkCenter AS MainWorkCenter,
  _MainWorkCenter.Plant AS MainWorkCenterPlant,
  _LocationAccountAssignment._WorkCenter.WorkCenter AS WorkCenter,
  TaskListType,
  TaskListGroup,
  TaskListGroupCounter,
  MaintenancePlan,
  _MaintenancePlan.MaintPlanFreeDefinedAttrib AS MaintPlanFreeDefinedAttrib,
  _LocationAccountAssignment.ControllingArea AS ControllingArea,
  _LocationAccountAssignment.CostCenter AS CostCenter,
  _LocationAccountAssignment.CompanyCode AS CompanyCode,
  _LocationAccountAssignment.FixedAsset AS FixedAsset,
  _LocationAccountAssignment.MasterFixedAsset AS MasterFixedAsset,
  _LocationAccountAssignment.AssetLocation AS AssetLocation,
  _LocationAccountAssignment.AssetRoom AS AssetRoom,
  _LocationAccountAssignment.PlantSection AS PlantSection,
  ServiceContract,
  ServiceContractItem,
  ServiceOrderTemplate,
  _LocationAccountAssignment.StandingOrderNumber AS StandingOrderNumber,
  MaintenanceStrategy,
  MaintenancePlanCategory,
  NotificationType,
  MaintenanceNotification,
  case _MaintenancePlanCatParam.MaintenancePlanCallObject when '' then _MaintOrderTypeControlParam.MaintPriorityType when '2' then _PMNotificationType.MaintPriorityType end as MaintPriorityType AS MaintPriorityTypeendasMaintPriorityType,
  MaintPriority,
  MaintenanceOrder,
  MaintenanceOrderType,
  SerialNumber,
  Material,
  OperationSystemCondition,
  NumberOfTaskListExecutions,
  SalesDocument,
  SettlementOrder,
  Product,
  MaintenanceItemObjectList,
  _LocationAccountAssignment.ABCIndicator AS ABCIndicator,
  cast (_LocationAccountAssignment._WBSElementBasicData.WBSElement as ps_posid_edit ) AS WBSElement,
  ServiceDocumentType,
  MaintNotifTskIsAutomlyDtmnd,
  MaintObjectLocAcctAssgmtNmbr
FROM I_MaintenanceItem AS _MaintenanceItem
LEFT OUTER JOIN E_MaintenanceItemBasic AS _MaintenanceItemExtension ON MaintenanceItem = _MaintenanceItemExtension.MaintenanceItem  -- association [0..1]
;