C_RSHMaintSchedSimlnSearch
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. Part of development package RSH_CDS_MAINT_SCHED_SIM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_RSHMaintSchedExecutionStatus | ExecutionStatus | inner |
| I_RSHMaintSchedSimulationTP | I_RSHMaintSchedSimulationTP | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA