Skip to content

/AWS1/IF_OMX=>UPDATERUNGROUP()

About UpdateRunGroup

Updates the settings of a run group and returns a response with no body if the operation is successful.

You can update the following settings with UpdateRunGroup:

  • Maximum number of CPUs

  • Run time (measured in minutes)

  • Number of GPUs

  • Number of concurrent runs

  • Group name

To confirm that the settings have been successfully updated, use the ListRunGroups or GetRunGroup API operations to verify that the desired changes have been made.

Method Signature

IMPORTING

Required arguments:

iv_id TYPE /AWS1/OMXRUNGROUPID /AWS1/OMXRUNGROUPID

The group's ID.

Optional arguments:

iv_name TYPE /AWS1/OMXRUNGROUPNAME /AWS1/OMXRUNGROUPNAME

A name for the group.

iv_maxcpus TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

The maximum number of CPUs to use.

iv_maxruns TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

The maximum number of concurrent runs for the group.

iv_maxduration TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

A maximum run time for the group in minutes.

iv_maxgpus TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

The maximum GPUs that can be used by a run group.

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

lo_client->/aws1/if_omx~updaterungroup(
  iv_id = |string|
  iv_maxcpus = 123
  iv_maxduration = 123
  iv_maxgpus = 123
  iv_maxruns = 123
  iv_name = |string|
).