I_RSHMaintSchedExistingOp

DDL: I_RSHMAINTSCHEDEXISTINGOP SQL: IRSHMNTSCHEXOPS Type: view COMPOSITE

Existing Operations not part of Schedule

I_RSHMaintSchedExistingOp is a Composite CDS View that provides data about "Existing Operations not part of Schedule" in SAP S/4HANA. It reads from 6 data sources and exposes 92 fields with key fields MaintSchedSimlnUUID, MaintOrderRoutingNumber, MaintOrderOperationCounter. It has 10 associations to related views.

Data Sources (6)

SourceAliasJoin Type
I_StatusObjectStatusBasic ExclStatusObj left_outer
I_StatusObjectStatusBasic InclStatusObj left_outer
I_RSHOrder MaintenanceOrder inner
I_OperationControlProfile OperationControlProfile inner
I_MaintOrderOperPlanningValues OperationPlanningValues inner
I_RSHMaintSchedSmltdWrkCtr SimulatedWrkCtr inner

Associations (10)

CardinalityTargetAliasCondition
[1..1] I_RSHMaintSchedSimulationTP _MaintSchedSimulation _MaintSchedSimulation.MaintSchedSimlnUUID = $projection.MaintSchedSimlnUUID
[1..1] I_RSHOperationProcessingStatus _ProcStatus _ProcStatus.StatusObject = Operation.ObjectInternalID
[1..1] I_RSHOrderMaterialStatus _MaterialStatus MaintenanceOrder.MaintenanceOrderInternalID = _MaterialStatus.StatusObject
[0..1] I_RSHOperationHasCrossOrderRel _OperationHasCrossOrderRel $projection.MaintOrderRoutingNumber = _OperationHasCrossOrderRel.MaintOrderRoutingNumber and $projection.MaintOrderOperationCounter = _OperationHasCrossOrderRel.MaintOrderOperationCounter
[0..1] I_OrderOperationBasic _SuperiorOperation $projection.MaintOrderRoutingNumber = _SuperiorOperation.OrderInternalID and $projection.SuperiorOperationInternalID = _SuperiorOperation.OrderOperationInternalID
[0..1] I_WorkCenter _WorkCenter _WorkCenter.WorkCenterInternalID = Operation.WorkCenterInternalID and _WorkCenter.WorkCenterTypeCode = 'A'
[0..1] I_WorkAssignment _PersonResponsible $projection.OperationPersonResponsible = _PersonResponsible.WorkAssignment
[0..1] C_RSHOrderMaterialStatusVH _MaterialStatusVH $projection.MaterialStatus = _MaterialStatusVH.MaterialStatus
[0..1] I_MaintOrderOperObjectListLink _MaintOrderOpObjectListLink $projection.MaintOrderOperationCounter = _MaintOrderOpObjectListLink.MaintOrderOperationCounter and $projection.MaintOrderRoutingNumber = _MaintOrderOpObjectListLink.MaintOrderRoutingNumber
[0..1] I_FunctionalLocationLabel _OperationFuncLocationLabel $projection.RelevantOperationFuncLocation = _OperationFuncLocationLabel.FunctionalLocation

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IRSHMNTSCHEXOPS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Existing Operations not part of Schedule view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (92)

KeyFieldSource TableSource FieldDescription
KEY MaintSchedSimlnUUID MaintSchedSimlnUUID UUID
KEY MaintOrderRoutingNumber Operation OrderInternalID Plan No.f.Oper.
KEY MaintOrderOperationCounter Operation OrderOperationInternalID
SuperiorOperationInternalID Operation SuperiorOperationInternalID Sup. Op. Node
MaintOrderOperationInternalID Operation ObjectInternalID Object number
MaintenanceOrderOperation Operation Operation Transaction
OperationControlKey Operation OperationControlProfile Control Key
OperationDescription Operation OperationText Description
Plant Operation Plant Valuation Area
WorkCenter _WorkCenter WorkCenter Work Center
WorkCenterInternalID Operation WorkCenterInternalID Work Center
WorkCenterTypeCode Operation WorkCenterTypeCode Object Type
NumberOfCapacities Operation NumberOfCapacities Number
MaintOrderConfirmation Operation OperationConfirmation
OperationPersonResponsible Operation OperationPersonResponsible Personnel no.
Language Operation Language Report Text Language
OperationHasLongText
MaintOperationExecStageCode Operation MaintOperationExecStageCode Execution Stage
OperationEquipment Operation Equipment Equipment check
RelevantOperationFuncLocation Operation FunctionalLocation Object ID
OperationFunctionalLocation
OperationSystemCondition Operation OperationSystemCondition SystemCondition
MaintenanceOrder I_RSHOrder MaintenanceOrder Order
BasicSchedulingType I_RSHOrder BasicSchedulingType Scheduling type
MaintenanceOrderInternalID I_RSHOrder MaintenanceOrderInternalID Object number
MaintPriority I_RSHOrder MaintPriority Priority
MaintPriorityType I_RSHOrder MaintPriorityType PriorityType
MaintenanceOrderType I_RSHOrder MaintenanceOrderType Order Type
MaintenanceActivityType I_RSHOrder MaintenanceActivityType MaintActivType
MaintenancePlanningPlant I_RSHOrder MaintenancePlanningPlant Planning Plant
MaintenanceOrderDesc I_RSHOrder MaintenanceOrderDesc Description
MaintOrdBasicStartDate I_RSHOrder MaintOrdBasicStartDate Bas. Start Date
MaintOrdBasicStartTime I_RSHOrder MaintOrdBasicStartTime
MaintOrdBasicEndDate I_RSHOrder MaintOrdBasicEndDate Basic fin. date
MaintOrdBasicEndTime I_RSHOrder MaintOrdBasicEndTime
MaintenancePlannerGroup I_RSHOrder MaintenancePlannerGroup Planner Group
MaintenanceRevision I_RSHOrder MaintenanceRevision Revision
OrderSystemCondition I_RSHOrder OperationSystemCondition SystemCondition
OrderSystemConditionText
MaintenanceNotification I_RSHOrder MaintenanceNotification Notification
Equipment I_RSHOrder Equipment Equipment check
FunctionalLocation
FunctionalLocationName
MaintObjectLocAcctAssgmtNmbr I_RSHOrder MaintObjectLocAcctAssgmtNmbr Loc/AccAssmt
MaintenancePlan I_RSHOrder MaintenancePlan MaintenancePlan
MaintenancePlant I_RSHOrder MaintenancePlant Plant
SchedulingIsPerformedBackward I_RSHOrder SchedulingIsPerformedBackward
SchedulingType I_RSHOrder SchedulingType
SuperiorProjectNetwork I_RSHOrder SuperiorProjectNetwork Subnetwork of
ControllingArea I_RSHOrder ControllingArea Controlling Area
ResponsibleCostCenter I_RSHOrder ResponsibleCostCenter Responsible Cost Center
MainWorkCenter I_RSHOrder MainWorkCenter Work Center
MainWorkCenterPlant I_RSHOrder MainWorkCenterPlant Plnt WorkCenter
LatestAcceptableCompletionDate I_RSHOrder LatestAcceptableCompletionDate Final Due Date
MaterialStatus
OpErlstSchedldExecStrtDte I_MaintOrderOperPlanningValues OpErlstSchedldExecStrtDte Earl.start date
OpErlstSchedldExecStrtTme I_MaintOrderOperPlanningValues OpErlstSchedldExecStrtTme Earl.start time
OpErlstSchedldExecEndDte I_MaintOrderOperPlanningValues OpErlstSchedldExecEndDte EarliestEndDate
OpErlstSchedldExecEndTme I_MaintOrderOperPlanningValues OpErlstSchedldExecEndTme Earliest finish
OpLtstSchedldExecStrtDte I_MaintOrderOperPlanningValues OpLtstSchedldExecStrtDte Latest start
OpLtstSchedldExecStrtTme I_MaintOrderOperPlanningValues OpLtstSchedldExecStrtTme Lat. start time
OpLtstSchedldExecEndDte I_MaintOrderOperPlanningValues OpLtstSchedldExecEndDte Lat.finish date
OpLtstSchedldExecEndTme I_MaintOrderOperPlanningValues OpLtstSchedldExecEndTme Latest fin.time
OpActualExecutionStartDate I_MaintOrderOperPlanningValues OpActualExecutionStartDate Execution Start Date
OpActualExecutionStartTime I_MaintOrderOperPlanningValues OpActualExecutionStartTime Execution Start Time
OpActualExecutionEndDate I_MaintOrderOperPlanningValues OpActualExecutionEndDate Execution End Date
OpActualExecutionEndTime I_MaintOrderOperPlanningValues OpActualExecutionEndTime Execution End Time
OperationPlannedWork I_MaintOrderOperPlanningValues OperationPlannedWork Work
OperationPlannedWorkUnit I_MaintOrderOperPlanningValues OperationPlannedWorkUnit Unit for work
OperationDuration I_MaintOrderOperPlanningValues OperationDuration Normal duration
OperationDurationUnit I_MaintOrderOperPlanningValues OperationDurationUnit Norm.duratn un.
ProcessingStatus _ProcStatus ProcessingStatus Worklist Status
MaintOrdProcessPhaseCode I_RSHOrder MaintOrdProcessPhaseCode Process Phase
MaintOrdProcessSubPhaseCode I_RSHOrder MaintOrdProcessSubPhaseCode Process Subphase
MaintOrdOpProcessPhaseCode MaintOrdOpProcessPhaseCode Process Phase
MaintOrdOpProcessSubPhaseCode MaintOrdOpProcessSubPhaseCode Process Subphase
WBSElementInternalID I_RSHOrder WBSElementInternalID WBS Internal ID
ProjectInternalID
_WorkCenter _WorkCenter
_SuperiorOperation _SuperiorOperation
_MaterialStatus _MaterialStatus
_OperationHasCrossOrderRel _OperationHasCrossOrderRel
_PersonResponsible _PersonResponsible
_BasicSchedulingType I_RSHOrder _BasicSchedulingType
_Equipment I_RSHOrder _Equipment
_LocationAccountAssignment I_RSHOrder _LocationAccountAssignment
_MaintenanceActivityType I_RSHOrder _MaintenanceActivityType
_MaintenanceNotification I_RSHOrder _MaintenanceNotification
_MaintenancePriority I_RSHOrder _MaintenancePriority
_WBSElement I_RSHOrder _WBSElement
_Project I_RSHOrder _Project
_MaintSchedSimulation _MaintSchedSimulation

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_RSHMaintSchedExistingOp.
-- 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: IRSHMNTSCHEXOPS

CREATE VIEW I_RSHMaintSchedExistingOp AS
SELECT
  MaintSchedSimlnUUID,
  Operation.OrderInternalID AS MaintOrderRoutingNumber,
  Operation.OrderOperationInternalID AS MaintOrderOperationCounter,
  Operation.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  Operation.ObjectInternalID AS MaintOrderOperationInternalID,
  Operation.Operation AS MaintenanceOrderOperation,
  Operation.OperationControlProfile AS OperationControlKey,
  Operation.OperationText AS OperationDescription,
  Operation.Plant AS Plant,
  _WorkCenter.WorkCenter AS WorkCenter,
  Operation.WorkCenterInternalID AS WorkCenterInternalID,
  Operation.WorkCenterTypeCode AS WorkCenterTypeCode,
  Operation.NumberOfCapacities AS NumberOfCapacities,
  Operation.OperationConfirmation AS MaintOrderConfirmation,
  Operation.OperationPersonResponsible AS OperationPersonResponsible,
  Operation.Language AS Language,
  cast(case when Language = '' then '' else 'X' end as rsh_eam_long_text_available preserving type ) AS OperationHasLongText,
  Operation.MaintOperationExecStageCode AS MaintOperationExecStageCode,
  Operation.Equipment AS OperationEquipment,
  Operation.FunctionalLocation AS RelevantOperationFuncLocation,
  cast(_OperationFuncLocationLabel.FunctionalLocationLabelName as rsh_eams_oper_func_loc preserving type ) AS OperationFunctionalLocation,
  Operation.OperationSystemCondition AS OperationSystemCondition,
  MaintenanceOrder.MaintenanceOrder AS MaintenanceOrder,
  MaintenanceOrder.BasicSchedulingType AS BasicSchedulingType,
  MaintenanceOrder.MaintenanceOrderInternalID AS MaintenanceOrderInternalID,
  MaintenanceOrder.MaintPriority AS MaintPriority,
  MaintenanceOrder.MaintPriorityType AS MaintPriorityType,
  MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType,
  MaintenanceOrder.MaintenanceActivityType AS MaintenanceActivityType,
  MaintenanceOrder.MaintenancePlanningPlant AS MaintenancePlanningPlant,
  MaintenanceOrder.MaintenanceOrderDesc AS MaintenanceOrderDesc,
  MaintenanceOrder.MaintOrdBasicStartDate AS MaintOrdBasicStartDate,
  MaintenanceOrder.MaintOrdBasicStartTime AS MaintOrdBasicStartTime,
  MaintenanceOrder.MaintOrdBasicEndDate AS MaintOrdBasicEndDate,
  MaintenanceOrder.MaintOrdBasicEndTime AS MaintOrdBasicEndTime,
  MaintenanceOrder.MaintenancePlannerGroup AS MaintenancePlannerGroup,
  MaintenanceOrder.MaintenanceRevision AS MaintenanceRevision,
  MaintenanceOrder.OperationSystemCondition AS OrderSystemCondition,
  MaintenanceOrder._OperationSystemCondition._Text[1:Language = $session.system_language].OperationSystemConditionText AS OrderSystemConditionText,
  MaintenanceOrder.MaintenanceNotification AS MaintenanceNotification,
  MaintenanceOrder.Equipment AS Equipment,
  MaintenanceOrder._LocationAccountAssignment.FunctionalLocation AS FunctionalLocation,
  cast( MaintenanceOrder._LocationAccountAssignment._FunctionalLocation._FunctionalLocationText[ 1: Language = $session.system_language ].FunctionalLocationName as ps_s4_pltxt preserving type ) AS FunctionalLocationName,
  MaintenanceOrder.MaintObjectLocAcctAssgmtNmbr AS MaintObjectLocAcctAssgmtNmbr,
  MaintenanceOrder.MaintenancePlan AS MaintenancePlan,
  MaintenanceOrder.MaintenancePlant AS MaintenancePlant,
  MaintenanceOrder.SchedulingIsPerformedBackward AS SchedulingIsPerformedBackward,
  MaintenanceOrder.SchedulingType AS SchedulingType,
  MaintenanceOrder.SuperiorProjectNetwork AS SuperiorProjectNetwork,
  MaintenanceOrder.ControllingArea AS ControllingArea,
  MaintenanceOrder.ResponsibleCostCenter AS ResponsibleCostCenter,
  MaintenanceOrder.MainWorkCenter AS MainWorkCenter,
  MaintenanceOrder.MainWorkCenterPlant AS MainWorkCenterPlant,
  MaintenanceOrder.LatestAcceptableCompletionDate AS LatestAcceptableCompletionDate,
  cast( coalesce( _MaterialStatus.MaterialStatus , 30 ) as rsh_eam_material_status_int preserving type ) AS MaterialStatus,
  OperationPlanningValues.OpErlstSchedldExecStrtDte AS OpErlstSchedldExecStrtDte,
  OperationPlanningValues.OpErlstSchedldExecStrtTme AS OpErlstSchedldExecStrtTme,
  OperationPlanningValues.OpErlstSchedldExecEndDte AS OpErlstSchedldExecEndDte,
  OperationPlanningValues.OpErlstSchedldExecEndTme AS OpErlstSchedldExecEndTme,
  OperationPlanningValues.OpLtstSchedldExecStrtDte AS OpLtstSchedldExecStrtDte,
  OperationPlanningValues.OpLtstSchedldExecStrtTme AS OpLtstSchedldExecStrtTme,
  OperationPlanningValues.OpLtstSchedldExecEndDte AS OpLtstSchedldExecEndDte,
  OperationPlanningValues.OpLtstSchedldExecEndTme AS OpLtstSchedldExecEndTme,
  OperationPlanningValues.OpActualExecutionStartDate AS OpActualExecutionStartDate,
  OperationPlanningValues.OpActualExecutionStartTime AS OpActualExecutionStartTime,
  OperationPlanningValues.OpActualExecutionEndDate AS OpActualExecutionEndDate,
  OperationPlanningValues.OpActualExecutionEndTime AS OpActualExecutionEndTime,
  OperationPlanningValues.OperationPlannedWork AS OperationPlannedWork,
  OperationPlanningValues.OperationPlannedWorkUnit AS OperationPlannedWorkUnit,
  OperationPlanningValues.OperationDuration AS OperationDuration,
  OperationPlanningValues.OperationDurationUnit AS OperationDurationUnit,
  _ProcStatus.ProcessingStatus AS ProcessingStatus,
  MaintenanceOrder.MaintOrdProcessPhaseCode AS MaintOrdProcessPhaseCode,
  MaintenanceOrder.MaintOrdProcessSubPhaseCode AS MaintOrdProcessSubPhaseCode,
  MaintOrdOpProcessPhaseCode,
  MaintOrdOpProcessSubPhaseCode,
  MaintenanceOrder.WBSElementInternalID AS WBSElementInternalID,
  cast( MaintenanceOrder.ProjectInternalID as rsh_eam_project_int_id preserving type ) AS ProjectInternalID,
  MaintenanceOrder._BasicSchedulingType AS _BasicSchedulingType,
  MaintenanceOrder._Equipment AS _Equipment,
  MaintenanceOrder._LocationAccountAssignment AS _LocationAccountAssignment,
  MaintenanceOrder._MaintenanceActivityType AS _MaintenanceActivityType,
  MaintenanceOrder._MaintenanceNotification AS _MaintenanceNotification,
  MaintenanceOrder._MaintenancePriority AS _MaintenancePriority,
  MaintenanceOrder._WBSElement AS _WBSElement,
  MaintenanceOrder._Project AS _Project
INNER JOIN I_RSHOrder AS MaintenanceOrder ON /* join condition not captured in parsed metadata */
INNER JOIN I_RSHMaintSchedSmltdWrkCtr AS SimulatedWrkCtr ON /* join condition not captured in parsed metadata */
INNER JOIN I_OperationControlProfile AS OperationControlProfile ON /* join condition not captured in parsed metadata */
INNER JOIN I_MaintOrderOperPlanningValues AS OperationPlanningValues ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StatusObjectStatusBasic AS ExclStatusObj ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StatusObjectStatusBasic AS InclStatusObj ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RSHMaintSchedSimulationTP AS _MaintSchedSimulation ON _MaintSchedSimulation.MaintSchedSimlnUUID = MaintSchedSimlnUUID  -- association [1..1]
LEFT OUTER JOIN I_RSHOperationProcessingStatus AS _ProcStatus ON _ProcStatus.StatusObject = Operation.ObjectInternalID  -- association [1..1]
LEFT OUTER JOIN I_RSHOrderMaterialStatus AS _MaterialStatus ON MaintenanceOrder.MaintenanceOrderInternalID = _MaterialStatus.StatusObject  -- association [1..1]
LEFT OUTER JOIN I_RSHOperationHasCrossOrderRel AS _OperationHasCrossOrderRel ON MaintOrderRoutingNumber = _OperationHasCrossOrderRel.MaintOrderRoutingNumber AND MaintOrderOperationCounter = _OperationHasCrossOrderRel.MaintOrderOperationCounter  -- association [0..1]
LEFT OUTER JOIN I_OrderOperationBasic AS _SuperiorOperation ON MaintOrderRoutingNumber = _SuperiorOperation.OrderInternalID AND SuperiorOperationInternalID = _SuperiorOperation.OrderOperationInternalID  -- association [0..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON _WorkCenter.WorkCenterInternalID = Operation.WorkCenterInternalID AND _WorkCenter.WorkCenterTypeCode = 'A'  -- association [0..1]
LEFT OUTER JOIN I_WorkAssignment AS _PersonResponsible ON OperationPersonResponsible = _PersonResponsible.WorkAssignment  -- association [0..1]
LEFT OUTER JOIN C_RSHOrderMaterialStatusVH AS _MaterialStatusVH ON MaterialStatus = _MaterialStatusVH.MaterialStatus  -- association [0..1]
LEFT OUTER JOIN I_MaintOrderOperObjectListLink AS _MaintOrderOpObjectListLink ON MaintOrderOperationCounter = _MaintOrderOpObjectListLink.MaintOrderOperationCounter AND MaintOrderRoutingNumber = _MaintOrderOpObjectListLink.MaintOrderRoutingNumber  -- association [0..1]
LEFT OUTER JOIN I_FunctionalLocationLabel AS _OperationFuncLocationLabel ON RelevantOperationFuncLocation = _OperationFuncLocationLabel.FunctionalLocation  -- association [0..1]
;