Skip to content

/AWS1/CL_BDCCONTENTSTOPEVENT

An event that signals the completion of a command execution. This event contains the final status and exit code of the executed command.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_exitcode TYPE /AWS1/BDCINTEGER /AWS1/BDCINTEGER

The exit code returned by the executed command. An exit code of 0 indicates successful execution, -1 indicates a platform error, and values greater than 0 indicate command-specific errors.

iv_status TYPE /AWS1/BDCCOMMANDEXECSTATUS /AWS1/BDCCOMMANDEXECSTATUS

The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.


Queryable Attributes

exitCode

The exit code returned by the executed command. An exit code of 0 indicates successful execution, -1 indicates a platform error, and values greater than 0 indicate command-specific errors.

Accessible with the following methods

Method Description
GET_EXITCODE() Getter for EXITCODE, with configurable default
ASK_EXITCODE() Getter for EXITCODE w/ exceptions if field has no value
HAS_EXITCODE() Determine if EXITCODE has a value

status

The final status of the command execution. Valid values are COMPLETED for successful completion or TIMED_OUT if the command exceeded the specified timeout.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value