C_RSHMaintSchedSimlnSearch

DDL: C_RSHMAINTSCHEDSIMLNSEARCH SQL: CRSHMNTSCHDSIMS Type: view CONSUMPTION

My Schedules for Enterprise Search

C_RSHMaintSchedSimlnSearch is a Consumption CDS View that provides data about "My Schedules for Enterprise Search" in SAP S/4HANA. It reads from 2 data sources (P_RSHMaintSchedExecutionStatus, I_RSHMaintSchedSimulationTP) and exposes 24 fields with key field MaintSchedSimlnUUID. It has 4 associations to related views.

Data Sources (2)

SourceAliasJoin Type
P_RSHMaintSchedExecutionStatus ExecutionStatus inner
I_RSHMaintSchedSimulationTP I_RSHMaintSchedSimulationTP from

Associations (4)

CardinalityTargetAliasCondition
[0..1] C_RSHMaintSchedExecStatusTxt _ExecutionStatusTxt _ExecutionStatusTxt.MaintOrdSchedExecutionStatus = $projection.MaintOrdSchedExecutionStatus
[0..1] C_RSHMaintSchedCollabtrTypeTxt _CollaboratorTypeTxt _CollaboratorTypeTxt.MaintSchedCollaboratorType = $projection.MaintSchedCollaboratorType
[0..1] I_User _CreatedByUser _CreatedByUser.UserID = I_RSHMaintSchedSimulationTP.CreatedByUser
[0..1] I_User _ChangedByUser _ChangedByUser.UserID = I_RSHMaintSchedSimulationTP.LastChangedByUser

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CRSHMNTSCHDSIMS view
AbapCatalog.compiler.compareFilter true view
EndUserText.label My Schedules for Enterprise Search view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY MaintSchedSimlnUUID I_RSHMaintSchedSimulationTP MaintSchedSimlnUUID UUID
MaintSchedSimulationStartDate I_RSHMaintSchedSimulationTP MaintSchedSimulationStartDate Start Date
MaintSchedSimulationEndDate I_RSHMaintSchedSimulationTP MaintSchedSimulationEndDate End Date
MaintSchedSimStartDateTime
MaintSchedSimEndDateTime
MaintSchedSimulationStartTime I_RSHMaintSchedSimulationTP MaintSchedSimulationStartTime Field of type TIMS
MaintSchedSimulationEndTime I_RSHMaintSchedSimulationTP MaintSchedSimulationEndTime Field of type TIMS
MaintSchedSimulationTimeZone I_RSHMaintSchedSimulationTP MaintSchedSimulationTimeZone Time Zone
MaintSchedSimlnDescription MaintSchedSimlnDescription Schedule
MaintSchedSimlnLongText MaintSchedSimlnLongText Schedule Description
CreatedByUser User Name
CreatedByUserName _CreatedByUser UserDescription Full Name
CreationDateTime Timestamp
LastChangedByUser User Name
LastChangedByUserName _ChangedByUser UserDescription Full Name
LastChangeDateTime Timestamp
SimulationSessionState SimulationSessionState Simulation View
SessionStateLastChangeDateTime Time Stamp
MaintOrdSchedExecutionStatus
MaintOrdSchedExecutionStatTxt
MaintSchedCollaboratorType
MaintSchedCollaboratorTypeText
_ExecutionStatusTxt _ExecutionStatusTxt
_CollaboratorTypeTxt _CollaboratorTypeTxt

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_RSHMaintSchedSimlnSearch.
-- 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: CRSHMNTSCHDSIMS

CREATE VIEW C_RSHMaintSchedSimlnSearch AS
SELECT
  I_RSHMaintSchedSimulationTP.MaintSchedSimlnUUID AS MaintSchedSimlnUUID,
  I_RSHMaintSchedSimulationTP.MaintSchedSimulationStartDate AS MaintSchedSimulationStartDate,
  I_RSHMaintSchedSimulationTP.MaintSchedSimulationEndDate AS MaintSchedSimulationEndDate,
  cast( I_RSHMaintSchedSimulationTP.MaintSchedSimStartDateTime as rsh_eam_schedule_start preserving type ) AS MaintSchedSimStartDateTime,
  cast( I_RSHMaintSchedSimulationTP.MaintSchedSimEndDateTime as rsh_eam_schedule_end preserving type ) AS MaintSchedSimEndDateTime,
  I_RSHMaintSchedSimulationTP.MaintSchedSimulationStartTime AS MaintSchedSimulationStartTime,
  I_RSHMaintSchedSimulationTP.MaintSchedSimulationEndTime AS MaintSchedSimulationEndTime,
  I_RSHMaintSchedSimulationTP.MaintSchedSimulationTimeZone AS MaintSchedSimulationTimeZone,
  MaintSchedSimlnDescription,
  MaintSchedSimlnLongText,
  cast ( CreatedByUser as rsh_eam_maint_sched_created_by preserving type ) AS CreatedByUser,
  _CreatedByUser.UserDescription AS CreatedByUserName,
  cast( CreationDateTime as rsh_eam_maint_sched_created_at preserving type ) AS CreationDateTime,
  cast ( LastChangedByUser as rsh_eam_maint_sched_changed_by preserving type ) AS LastChangedByUser,
  _ChangedByUser.UserDescription AS LastChangedByUserName,
  cast( LastChangeDateTime as rsh_eam_maint_sched_changed_at preserving type ) AS LastChangeDateTime,
  SimulationSessionState,
  cast( SessionStateLastChangeDateTime as rsh_eam_maint_sched_st_chgd_at preserving type ) AS SessionStateLastChangeDateTime,
  cast ( MaintOrdSchedExecutionStatus as rsh_eam_track_exec_status_int preserving type ) AS MaintOrdSchedExecutionStatus,
  cast ( _ExecutionStatusTxt.MaintOrdSchedExecutionStatTxt as rsh_eam_track_exec_status_text preserving type ) AS MaintOrdSchedExecutionStatTxt,
  cast( coalesce(MaintSchedCollaboratorType, 'P') as rsh_eam_mnt_schd_my_role preserving type ) AS MaintSchedCollaboratorType,
  cast( ' ' as rsh_eam_mnt_schd_my_role_text preserving type ) AS MaintSchedCollaboratorTypeText
FROM I_RSHMaintSchedSimulationTP
INNER JOIN P_RSHMaintSchedExecutionStatus AS ExecutionStatus ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_RSHMaintSchedExecStatusTxt AS _ExecutionStatusTxt ON _ExecutionStatusTxt.MaintOrdSchedExecutionStatus = MaintOrdSchedExecutionStatus  -- association [0..1]
LEFT OUTER JOIN C_RSHMaintSchedCollabtrTypeTxt AS _CollaboratorTypeTxt ON _CollaboratorTypeTxt.MaintSchedCollaboratorType = MaintSchedCollaboratorType  -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON _CreatedByUser.UserID = I_RSHMaintSchedSimulationTP.CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangedByUser ON _ChangedByUser.UserID = I_RSHMaintSchedSimulationTP.LastChangedByUser  -- association [0..1]
;