Skip to content

/AWS1/CL_GUP=>UPDATEPROFILINGGROUP()

About UpdateProfilingGroup

Updates a profiling group.

Method Signature

IMPORTING

Required arguments:

iv_profilinggroupname TYPE /AWS1/GUPPROFILINGGROUPNAME /AWS1/GUPPROFILINGGROUPNAME

The name of the profiling group to update.

io_agentorchestrationconfig TYPE REF TO /AWS1/CL_GUPAGENTORCHESTRATI00 /AWS1/CL_GUPAGENTORCHESTRATI00

Specifies whether profiling is enabled or disabled for a profiling group.

RETURNING

oo_output TYPE REF TO /aws1/cl_gupupdprofilinggrprsp /AWS1/CL_GUPUPDPROFILINGGRPRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

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.

DATA(lo_result) = lo_client->/aws1/if_gup~updateprofilinggroup(
  io_agentorchestrationconfig = new /aws1/cl_gupagentorchestrati00( ABAP_TRUE )
  iv_profilinggroupname = |string|
).

This is an example of reading all possible response values

lv_profilinggroupname = lo_profilinggroupdescripti->get_name( ).
lv_boolean = lo_agentorchestrationconfi->get_profilingenabled( ).
lv_profilinggrouparn = lo_profilinggroupdescripti->get_arn( ).
lv_timestamp = lo_profilinggroupdescripti->get_createdat( ).
lv_timestamp = lo_profilinggroupdescripti->get_updatedat( ).
lv_timestamp = lo_profilingstatus->get_latestagentpflreportedat( ).
lv_timestamp = lo_aggregatedprofiletime->get_start( ).
lv_aggregationperiod = lo_aggregatedprofiletime->get_period( ).
lv_timestamp = lo_profilingstatus->get_latstagentorchestratedat( ).
lv_computeplatform = lo_profilinggroupdescripti->get_computeplatform( ).
LOOP AT lo_profilinggroupdescripti->get_tags( ) into ls_row.
  lv_key = ls_row-key.
  lv_string = lo_value->get_value( ).
ENDLOOP.