Skip to content

/AWS1/CL_BDCINVAGRUNCMDREQBODY

The request body structure for the InvokeAgentRuntimeCommand operation, containing the command to execute and optional configuration parameters.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_command TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.

Optional arguments:

iv_timeout TYPE /AWS1/BDCINTEGER /AWS1/BDCINTEGER

The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.


Queryable Attributes

command

The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.

Accessible with the following methods

Method Description
GET_COMMAND() Getter for COMMAND, with configurable default
ASK_COMMAND() Getter for COMMAND w/ exceptions if field has no value
HAS_COMMAND() Determine if COMMAND has a value

timeout

The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.

Accessible with the following methods

Method Description
GET_TIMEOUT() Getter for TIMEOUT, with configurable default
ASK_TIMEOUT() Getter for TIMEOUT w/ exceptions if field has no value
HAS_TIMEOUT() Determine if TIMEOUT has a value