I_SchedulingRunRequestResult

DDL: I_SCHEDULINGRUNREQUESTRESULT Type: view_entity BASIC

Result of Scheduling Run Request

I_SchedulingRunRequestResult is a Basic CDS View that provides data about "Result of Scheduling Run Request" in SAP S/4HANA. It reads from 1 data source (bps_result) and exposes 28 fields with key field SchedulingRunResultUUID. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
bps_result bps_result from

Associations (11)

CardinalityTargetAliasCondition
[1..1] I_SchedulingRun _SchedulingRun $projection.SchedulingRunUUID = _SchedulingRun.SchedulingRunUUID
[1..1] I_TimeZoneIANACodeMap _IANATimeZone $projection.TimeZoneIANACode = _IANATimeZone.TimeZoneIANACode
[0..1] I_SchedulingActivity _Activity $projection.SchedulingActivity = _Activity.SchedulingActivity
[0..1] I_SchedulingDateType _StartDateType $projection.SchedulingStartDateType = _StartDateType.SchedulingDateType
[0..1] I_SchedulingDateType _EndDateType $projection.SchedulingEndDateType = _EndDateType.SchedulingDateType
[0..1] I_FactoryCalendar _Calendar $projection.SchedulingCalendar = _Calendar.FactoryCalendar
[0..1] I_SchedulingWorkingTime _WorkingTime $projection.SchedulingWorkingTimeID = _WorkingTime.SchedulingWorkingTimeID and $projection.SchedulingCalendar = _WorkingTime.SchedulingCalendar
[0..1] I_TimeZone _TimeZone $projection.SchedulingActivityTimeZone = _TimeZone.TimeZoneID
[0..*] I_SchedgRsltDetermination _Determination
[0..*] I_SchedgRsltWrkgTmeInterval _Interval
[0..*] I_SchedulingResultMessage _Message

Annotations (8)

NameValueLevelField
EndUserText.label Result of Scheduling Run Request view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey SchedulingRunResultUUID view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY SchedulingRunResultUUID result_uuid UUID
SchedulingRunRequestUUID request_uuid UUID
SchedulingRunUUID run_uuid Scheduling Worklist Run UUID
SchedulingActivity activity_id IMG Activity
SchedgActivitySequenceNumber sequence_no Sqnc No. in Ext File
SchedgActivityStartDateTime timestamp_start Timestamp start
SchedulingActivityEndDateTime timestamp_end Timestamp end
SchedulingActivityTimeZone tzone Time Zone Difference
TimeZoneIANACode iana_tzone IANA time zone
SchedgGrossDurationInSeconds gross_duration Gross duration
SchedulingDurationInDays duration_day Duration in Days
SchedulingDurationInHours duration_hour Duration in Hours
SchedulingCalendar calendar Workdays only
SchedulingWorkingTimeID working_time Working Time
SchedulingStartDateType date_type_start BSP - Date Type Start
SchedulingEndDateType date_type_end BSP - Date type end
_Request _Request
_SchedulingRun _SchedulingRun
_Determination _Determination
_IANATimeZone _IANATimeZone
_Activity _Activity
_StartDateType _StartDateType
_EndDateType _EndDateType
_Calendar _Calendar
_WorkingTime _WorkingTime
_TimeZone _TimeZone
_Interval _Interval
_Message _Message

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_SchedulingRunRequestResult.
-- 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_SchedulingRunRequestResult AS
SELECT
  result_uuid AS SchedulingRunResultUUID,
  request_uuid AS SchedulingRunRequestUUID,
  run_uuid AS SchedulingRunUUID,
  activity_id AS SchedulingActivity,
  sequence_no AS SchedgActivitySequenceNumber,
  timestamp_start AS SchedgActivityStartDateTime,
  timestamp_end AS SchedulingActivityEndDateTime,
  tzone AS SchedulingActivityTimeZone,
  iana_tzone AS TimeZoneIANACode,
  gross_duration AS SchedgGrossDurationInSeconds,
  duration_day AS SchedulingDurationInDays,
  duration_hour AS SchedulingDurationInHours,
  calendar AS SchedulingCalendar,
  working_time AS SchedulingWorkingTimeID,
  date_type_start AS SchedulingStartDateType,
  date_type_end AS SchedulingEndDateType
FROM bps_result
LEFT OUTER JOIN I_SchedulingRun AS _SchedulingRun ON SchedulingRunUUID = _SchedulingRun.SchedulingRunUUID  -- association [1..1]
LEFT OUTER JOIN I_TimeZoneIANACodeMap AS _IANATimeZone ON TimeZoneIANACode = _IANATimeZone.TimeZoneIANACode  -- association [1..1]
LEFT OUTER JOIN I_SchedulingActivity AS _Activity ON SchedulingActivity = _Activity.SchedulingActivity  -- association [0..1]
LEFT OUTER JOIN I_SchedulingDateType AS _StartDateType ON SchedulingStartDateType = _StartDateType.SchedulingDateType  -- association [0..1]
LEFT OUTER JOIN I_SchedulingDateType AS _EndDateType ON SchedulingEndDateType = _EndDateType.SchedulingDateType  -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _Calendar ON SchedulingCalendar = _Calendar.FactoryCalendar  -- association [0..1]
LEFT OUTER JOIN I_SchedulingWorkingTime AS _WorkingTime ON SchedulingWorkingTimeID = _WorkingTime.SchedulingWorkingTimeID AND SchedulingCalendar = _WorkingTime.SchedulingCalendar  -- association [0..1]
LEFT OUTER JOIN I_TimeZone AS _TimeZone ON SchedulingActivityTimeZone = _TimeZone.TimeZoneID  -- association [0..1]
LEFT OUTER JOIN I_SchedgRsltDetermination AS _Determination ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_SchedgRsltWrkgTmeInterval AS _Interval ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_SchedulingResultMessage AS _Message ON /* condition not available in parsed metadata */  -- association [0..*]
;