Skip to content

/AWS1/CL_CWLTRIGGERHISTORYREC

A record of a scheduled query execution, including execution status, timestamp, and destination processing results.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_queryid TYPE /AWS1/CWLQUERYID /AWS1/CWLQUERYID

The unique identifier for this query execution.

iv_executionstatus TYPE /AWS1/CWLEXECUTIONSTATUS /AWS1/CWLEXECUTIONSTATUS

The execution status of the scheduled query run.

iv_triggeredtimestamp TYPE /AWS1/CWLTIMESTAMP /AWS1/CWLTIMESTAMP

The timestamp when the scheduled query execution was triggered.

iv_errormessage TYPE /AWS1/CWLSTRING /AWS1/CWLSTRING

Error message if the query execution failed.

it_destinations TYPE /AWS1/CL_CWLSCHEDULEDQUERYDST=>TT_SCHEDULEDQUERYDSTLIST TT_SCHEDULEDQUERYDSTLIST

Information about destination processing for this query execution.


Queryable Attributes

queryId

The unique identifier for this query execution.

Accessible with the following methods

Method Description
GET_QUERYID() Getter for QUERYID, with configurable default
ASK_QUERYID() Getter for QUERYID w/ exceptions if field has no value
HAS_QUERYID() Determine if QUERYID has a value

executionStatus

The execution status of the scheduled query run.

Accessible with the following methods

Method Description
GET_EXECUTIONSTATUS() Getter for EXECUTIONSTATUS, with configurable default
ASK_EXECUTIONSTATUS() Getter for EXECUTIONSTATUS w/ exceptions if field has no val
HAS_EXECUTIONSTATUS() Determine if EXECUTIONSTATUS has a value

triggeredTimestamp

The timestamp when the scheduled query execution was triggered.

Accessible with the following methods

Method Description
GET_TRIGGEREDTIMESTAMP() Getter for TRIGGEREDTIMESTAMP, with configurable default
ASK_TRIGGEREDTIMESTAMP() Getter for TRIGGEREDTIMESTAMP w/ exceptions if field has no
HAS_TRIGGEREDTIMESTAMP() Determine if TRIGGEREDTIMESTAMP has a value

errorMessage

Error message if the query execution failed.

Accessible with the following methods

Method Description
GET_ERRORMESSAGE() Getter for ERRORMESSAGE, with configurable default
ASK_ERRORMESSAGE() Getter for ERRORMESSAGE w/ exceptions if field has no value
HAS_ERRORMESSAGE() Determine if ERRORMESSAGE has a value

destinations

Information about destination processing for this query execution.

Accessible with the following methods

Method Description
GET_DESTINATIONS() Getter for DESTINATIONS, with configurable default
ASK_DESTINATIONS() Getter for DESTINATIONS w/ exceptions if field has no value
HAS_DESTINATIONS() Determine if DESTINATIONS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_TRIGGERHISTORYRECORDLIST

TYPES TT_TRIGGERHISTORYRECORDLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLTRIGGERHISTORYREC WITH DEFAULT KEY
.