I_SchedulingRunRequestResult
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. Part of development package BPS_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| bps_result | bps_result | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SchedulingRunResultUUID | result_uuid | ||
| SchedulingRunRequestUUID | request_uuid | |||
| SchedulingRunUUID | run_uuid | |||
| SchedulingActivity | activity_id | |||
| SchedgActivitySequenceNumber | sequence_no | |||
| SchedgActivityStartDateTime | timestamp_start | |||
| SchedulingActivityEndDateTime | timestamp_end | |||
| SchedulingActivityTimeZone | tzone | |||
| TimeZoneIANACode | iana_tzone | |||
| SchedgGrossDurationInSeconds | gross_duration | |||
| SchedulingDurationInDays | duration_day | |||
| SchedulingDurationInHours | duration_hour | |||
| SchedulingCalendar | calendar | |||
| SchedulingWorkingTimeID | working_time | |||
| SchedulingStartDateType | date_type_start | |||
| SchedulingEndDateType | 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 |
@EndUserText.label: 'Result of Scheduling Run Request'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
representativeKey: 'SchedulingRunResultUUID',
usageType: {
serviceQuality: #A,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
}
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK" ] } */
define view entity I_SchedulingRunRequestResult
as select from bps_result
composition [0..*] of I_SchedgRsltDetermination as _Determination
composition [0..*] of I_SchedgRsltWrkgTmeInterval as _Interval
composition [0..*] of I_SchedulingResultMessage as _Message
association to parent I_SchedulingRunRequest as _Request on $projection.SchedulingRunRequestUUID = _Request.SchedulingRunRequestUUID
association [1..1] to I_SchedulingRun as _SchedulingRun on $projection.SchedulingRunUUID = _SchedulingRun.SchedulingRunUUID
association [1..1] to I_TimeZoneIANACodeMap as _IANATimeZone on $projection.TimeZoneIANACode = _IANATimeZone.TimeZoneIANACode
association [0..1] to I_SchedulingActivity as _Activity on $projection.SchedulingActivity = _Activity.SchedulingActivity
association [0..1] to I_SchedulingDateType as _StartDateType on $projection.SchedulingStartDateType = _StartDateType.SchedulingDateType
association [0..1] to I_SchedulingDateType as _EndDateType on $projection.SchedulingEndDateType = _EndDateType.SchedulingDateType
association [0..1] to I_FactoryCalendar as _Calendar on $projection.SchedulingCalendar = _Calendar.FactoryCalendar
association [0..1] to I_SchedulingWorkingTime as _WorkingTime on $projection.SchedulingWorkingTimeID = _WorkingTime.SchedulingWorkingTimeID
and $projection.SchedulingCalendar = _WorkingTime.SchedulingCalendar
association [0..1] to I_TimeZone as _TimeZone on $projection.SchedulingActivityTimeZone = _TimeZone.TimeZoneID
{
key result_uuid as SchedulingRunResultUUID,
@ObjectModel.foreignKey.association: '_Request'
request_uuid as SchedulingRunRequestUUID,
@ObjectModel.foreignKey.association: '_SchedulingRun'
run_uuid as SchedulingRunUUID,
activity_id as SchedulingActivity,
sequence_no as SchedgActivitySequenceNumber,
timestamp_start as SchedgActivityStartDateTime,
timestamp_end as SchedulingActivityEndDateTime,
@ObjectModel.foreignKey.association: '_Timezone'
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,
_Request,
_SchedulingRun,
_Determination,
_IANATimeZone,
_Activity,
_StartDateType,
_EndDateType,
_Calendar,
_WorkingTime,
_TimeZone,
_Interval,
_Message
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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