I_RSHMaintSchedSmltdOpTP

DDL: I_RSHMAINTSCHEDSMLTDOPTP SQL: IRSHMNTSHSMOPTP Type: view TRANSACTIONAL

Operations of Maint Sched Simulation TP

I_RSHMaintSchedSmltdOpTP is a Transactional CDS View that provides data about "Operations of Maint Sched Simulation TP" in SAP S/4HANA. It has 3 associations to related views.

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_RSHMaintSchedSimulationTP _MaintSchedSimulation _MaintSchedSimulation.MaintSchedSimlnUUID = $projection.MaintSchedSimlnUUID
[1..1] I_RSHOrderMaterialStatus _MaterialStatus $projection.MaintenanceOrderInternalID = _MaterialStatus.StatusObject
[0..1] I_FunctionalLocationLabel _OperationFuncLocationLabel $projection.RelevantOperationFuncLocation = _OperationFuncLocationLabel.FunctionalLocation

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IRSHMNTSHSMOPTP view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
EndUserText.label Operations of Maint Sched Simulation TP view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.writeActivePersistence RSH_D_MNTSCHDOP view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #TRANSACTIONAL view

Fields (60)

KeyFieldSource TableSource FieldDescription
KEY MaintSchedSimlnOperationUUID I_RSHMaintSchedSmltdOp MaintSchedSimlnOperationUUID UUID
MaintSchedSimlnUUID I_RSHMaintSchedSmltdOp MaintSchedSimlnUUID UUID
MaintOrderRoutingNumber I_RSHMaintSchedSmltdOp MaintOrderRoutingNumber Plan No.f.Oper.
MaintOrderOperationCounter I_RSHMaintSchedSmltdOp MaintOrderOperationCounter Counter
MaintOrderConfirmation I_RSHMaintSchedSmltdOp MaintOrderConfirmation Confirmation
MaintOrdOpSimulatedStartDate I_RSHMaintSchedSmltdOp MaintOrdOpSimulatedStartDate Simulated Start Date
MaintOrdOpSimulatedStartTime I_RSHMaintSchedSmltdOp MaintOrdOpSimulatedStartTime Simulated Start Time
MaintOrdOpSimulatedEndDate I_RSHMaintSchedSmltdOp MaintOrdOpSimulatedEndDate Simulated End Date
MaintOrdOpSimulatedEndTime I_RSHMaintSchedSmltdOp MaintOrdOpSimulatedEndTime Simulated End Time
MaintSchedSimlnRescheduleUUID I_RSHMaintSchedSmltdOp MaintSchedSimlnRescheduleUUID UUID
SimulatedWorkCenterInternalID I_RSHMaintSchedSmltdOp SimulatedWorkCenterInternalID Object ID
SimulatedWorkCenterTypeCode I_RSHMaintSchedSmltdOp SimulatedWorkCenterTypeCode Object Type
SimulatedWorkCenter I_RSHMaintSchedSmltdOp SimulatedWorkCenter
MaintOrdOpSimulationStatus I_RSHMaintSchedSmltdOp MaintOrdOpSimulationStatus Technical Status
MaintOrdOpSchedSimulationMode I_RSHMaintSchedSmltdOp MaintOrdOpSchedSimulationMode Simulation Mode
MaintOrdOpSchedWork I_RSHMaintSchedSmltdOp MaintOrdOpSchedWork Scheduled Work
ProcessingStatus I_RSHMaintSchedSmltdOp ProcessingStatus Worklist Status
TechObjIsEquipOrFuncnlLoc I_RSHMaintSchedSmltdOp TechObjIsEquipOrFuncnlLoc Tech. Obj. Type
OperationTechnicalObject I_RSHMaintSchedSmltdOp OperationTechnicalObject
OpTechObjEquipOrFuncnlLoc I_RSHMaintSchedSmltdOp OpTechObjEquipOrFuncnlLoc
MaintOrderProcessingContext I_RSHMaintSchedSmltdOp MaintOrderProcessingContext Processing Context
ServiceDocument I_RSHMaintSchedSmltdOp ServiceDocument Transaction ID
ServiceDocumentType I_RSHMaintSchedSmltdOp ServiceDocumentType Transaction Type
ServiceDocumentItem I_RSHMaintSchedSmltdOp ServiceDocumentItem Service Document
OperationIsDue OperationIsDue
UserIsAssignedToOpWrkCtr I_RSHMaintSchedSmltdOp UserIsAssignedToOpWrkCtr
UserIsAssignedToOpSimWrkCtr I_RSHMaintSchedSmltdOp UserIsAssignedToOpSimWrkCtr
MaintSchedCollaboratorType I_RSHMaintSchedSmltdOp MaintSchedCollaboratorType Collaborator Type
ForceSchedulingSimulation
MaintOrdOpHasToScheduleAutom
MaintOrdOpHasToRespectSetStart
MaintSchedSetStartIsTimeBased
SimulationSessionState
SitnInstceAnchorObjectKey
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
MaintenanceOrderInternalID MaintenanceOrderInternalID Object number
MaintOrderOperationInternalID MaintOrderOperationInternalID Object number
OperationHasLongText
OperationPersonResponsible
MaterialStatus
MaintOperationExecStageCode _Operation MaintOperationExecStageCode Execution Stage
MaintOrdOpProcessPhaseCode _Operation MaintOrdOpProcessPhaseCode Process Phase
MaintOrdOpProcessSubPhaseCode _Operation MaintOrdOpProcessSubPhaseCode Process Subphase
Equipment Equipment Equipment check
RelevantOperationFuncLocation RelevantOperationFuncLocation
OperationFunctionalLocation
OperationSystemCondition _Operation OperationSystemCondition SystemCondition
FunctionalLocation
FunctionalLocationName
MaintSchedCacheIsActive
SuperiorOperationInternalID _Operation SuperiorOperationInternalID Sup. Op. Node
MaintenanceOrderType _MaintenanceOrder MaintenanceOrderType Order Type
_MaintSchedSimulation _MaintSchedSimulation
_MaintenanceOrder _MaintenanceOrder
_Operation _Operation
_OperationPlanningValues _OperationPlanningValues
_MaterialStatus _MaterialStatus
_ExclStatusObj _ExclStatusObj
_SimWorkCenter _SimWorkCenter

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_RSHMaintSchedSmltdOpTP.
-- 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: IRSHMNTSHSMOPTP

CREATE VIEW I_RSHMaintSchedSmltdOpTP AS
SELECT
  I_RSHMaintSchedSmltdOp.MaintSchedSimlnOperationUUID AS MaintSchedSimlnOperationUUID,
  I_RSHMaintSchedSmltdOp.MaintSchedSimlnUUID AS MaintSchedSimlnUUID,
  I_RSHMaintSchedSmltdOp.MaintOrderRoutingNumber AS MaintOrderRoutingNumber,
  I_RSHMaintSchedSmltdOp.MaintOrderOperationCounter AS MaintOrderOperationCounter,
  I_RSHMaintSchedSmltdOp.MaintOrderConfirmation AS MaintOrderConfirmation,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSimulatedStartDate AS MaintOrdOpSimulatedStartDate,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSimulatedStartTime AS MaintOrdOpSimulatedStartTime,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSimulatedEndDate AS MaintOrdOpSimulatedEndDate,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSimulatedEndTime AS MaintOrdOpSimulatedEndTime,
  I_RSHMaintSchedSmltdOp.MaintSchedSimlnRescheduleUUID AS MaintSchedSimlnRescheduleUUID,
  I_RSHMaintSchedSmltdOp.SimulatedWorkCenterInternalID AS SimulatedWorkCenterInternalID,
  I_RSHMaintSchedSmltdOp.SimulatedWorkCenterTypeCode AS SimulatedWorkCenterTypeCode,
  I_RSHMaintSchedSmltdOp.SimulatedWorkCenter AS SimulatedWorkCenter,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSimulationStatus AS MaintOrdOpSimulationStatus,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSchedSimulationMode AS MaintOrdOpSchedSimulationMode,
  I_RSHMaintSchedSmltdOp.MaintOrdOpSchedWork AS MaintOrdOpSchedWork,
  I_RSHMaintSchedSmltdOp.ProcessingStatus AS ProcessingStatus,
  I_RSHMaintSchedSmltdOp.TechObjIsEquipOrFuncnlLoc AS TechObjIsEquipOrFuncnlLoc,
  I_RSHMaintSchedSmltdOp.OperationTechnicalObject AS OperationTechnicalObject,
  I_RSHMaintSchedSmltdOp.OpTechObjEquipOrFuncnlLoc AS OpTechObjEquipOrFuncnlLoc,
  I_RSHMaintSchedSmltdOp.MaintOrderProcessingContext AS MaintOrderProcessingContext,
  I_RSHMaintSchedSmltdOp.ServiceDocument AS ServiceDocument,
  I_RSHMaintSchedSmltdOp.ServiceDocumentType AS ServiceDocumentType,
  I_RSHMaintSchedSmltdOp.ServiceDocumentItem AS ServiceDocumentItem,
  OperationIsDue,
  I_RSHMaintSchedSmltdOp.UserIsAssignedToOpWrkCtr AS UserIsAssignedToOpWrkCtr,
  I_RSHMaintSchedSmltdOp.UserIsAssignedToOpSimWrkCtr AS UserIsAssignedToOpSimWrkCtr,
  I_RSHMaintSchedSmltdOp.MaintSchedCollaboratorType AS MaintSchedCollaboratorType,
  '' AS ForceSchedulingSimulation,
  cast('' as xfeld) AS MaintOrdOpHasToScheduleAutom,
  cast('' as xfeld) AS MaintOrdOpHasToRespectSetStart,
  cast('' as xfeld) AS MaintSchedSetStartIsTimeBased,
  cast( '' as rsh_eam_maint_sched_sim_state ) AS SimulationSessionState,
  bintohex(MaintSchedSimlnOperationUUID) AS SitnInstceAnchorObjectKey,
  LastChangedByUser,
  LastChangeDateTime,
  MaintenanceOrderInternalID,
  MaintOrderOperationInternalID,
  cast(case when _Operation.Language = '' then '' else 'X' end as rsh_eam_long_text_available preserving type) AS OperationHasLongText,
  cast( _Operation.OperationPersonResponsible as rsh_eam_person_responsible preserving type ) AS OperationPersonResponsible,
  cast( coalesce( _MaterialStatus.MaterialStatus , 30 ) as rsh_eam_material_status_int preserving type ) AS MaterialStatus,
  _Operation.MaintOperationExecStageCode AS MaintOperationExecStageCode,
  _Operation.MaintOrdOpProcessPhaseCode AS MaintOrdOpProcessPhaseCode,
  _Operation.MaintOrdOpProcessSubPhaseCode AS MaintOrdOpProcessSubPhaseCode,
  Equipment,
  RelevantOperationFuncLocation,
  cast(_OperationFuncLocationLabel.FunctionalLocationLabelName as rsh_eams_oper_func_loc preserving type ) AS OperationFunctionalLocation,
  _Operation.OperationSystemCondition AS OperationSystemCondition,
  _MaintenanceOrder._LocationAccountAssignment.FunctionalLocation AS FunctionalLocation,
  coalesce(cast( _MaintenanceOrder._LocationAccountAssignment._FunctionalLocation._FunctionalLocationText[ 1: Language = $session.system_language ].FunctionalLocationName as rsh_eam_func_location_name preserving type ),'') AS FunctionalLocationName,
  cast( '' as rsh_eam_maint_sched_cache_this ) AS MaintSchedCacheIsActive,
  _Operation.SuperiorOperationInternalID AS SuperiorOperationInternalID,
  _MaintenanceOrder.MaintenanceOrderType AS MaintenanceOrderType
LEFT OUTER JOIN I_RSHMaintSchedSimulationTP AS _MaintSchedSimulation ON _MaintSchedSimulation.MaintSchedSimlnUUID = MaintSchedSimlnUUID  -- association [1..1]
LEFT OUTER JOIN I_RSHOrderMaterialStatus AS _MaterialStatus ON MaintenanceOrderInternalID = _MaterialStatus.StatusObject  -- association [1..1]
LEFT OUTER JOIN I_FunctionalLocationLabel AS _OperationFuncLocationLabel ON RelevantOperationFuncLocation = _OperationFuncLocationLabel.FunctionalLocation  -- association [0..1]
;