Skip to content

/AWS1/CL_BCDSCHEDULECONFIG

Defines the schedule for a scheduled report, including the cron expression, time zone, active period, and the schedule state.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_scheduleexpression TYPE /AWS1/BCDGENERICSTRING /AWS1/BCDGENERICSTRING

The schedule expression that specifies when to trigger the scheduled report run. This value must be a cron expression consisting of six fields separated by white spaces: cron(minutes hours day_of_month month day_of_week year).

iv_schedulexprsntimezone TYPE /AWS1/BCDGENERICSTRING /AWS1/BCDGENERICSTRING

The time zone for the schedule expression, for example, UTC.

io_scheduleperiod TYPE REF TO /AWS1/CL_BCDSCHEDULEPERIOD /AWS1/CL_BCDSCHEDULEPERIOD

The time period during which the schedule is active.

iv_state TYPE /AWS1/BCDSCHEDULESTATE /AWS1/BCDSCHEDULESTATE

The state of the schedule. ENABLED means the scheduled report runs according to its schedule expression. DISABLED means the scheduled report is paused and will not run until re-enabled.


Queryable Attributes

scheduleExpression

The schedule expression that specifies when to trigger the scheduled report run. This value must be a cron expression consisting of six fields separated by white spaces: cron(minutes hours day_of_month month day_of_week year).

Accessible with the following methods

Method Description
GET_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION, with configurable default
ASK_SCHEDULEEXPRESSION() Getter for SCHEDULEEXPRESSION w/ exceptions if field has no
HAS_SCHEDULEEXPRESSION() Determine if SCHEDULEEXPRESSION has a value

scheduleExpressionTimeZone

The time zone for the schedule expression, for example, UTC.

Accessible with the following methods

Method Description
GET_SCHEDULEXPRSNTIMEZONE() Getter for SCHEDULEEXPRESSIONTIMEZONE, with configurable def
ASK_SCHEDULEXPRSNTIMEZONE() Getter for SCHEDULEEXPRESSIONTIMEZONE w/ exceptions if field
HAS_SCHEDULEXPRSNTIMEZONE() Determine if SCHEDULEEXPRESSIONTIMEZONE has a value

schedulePeriod

The time period during which the schedule is active.

Accessible with the following methods

Method Description
GET_SCHEDULEPERIOD() Getter for SCHEDULEPERIOD

state

The state of the schedule. ENABLED means the scheduled report runs according to its schedule expression. DISABLED means the scheduled report is paused and will not run until re-enabled.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value