Skip to content

/AWS1/IF_LIC=>UPDATELICENSEASSETGROUP()

About UpdateLicenseAssetGroup

Updates a license asset group.

Method Signature

METHODS /AWS1/IF_LIC~UPDATELICENSEASSETGROUP
  IMPORTING
    !IV_NAME TYPE /AWS1/LICLICENSEASSETRESNAME OPTIONAL
    !IV_DESCRIPTION TYPE /AWS1/LICLICENSEASSETRESDESC OPTIONAL
    !IT_LICENSEASSETGROUPCONFS TYPE /AWS1/CL_LICLICENSEASTGRPCONF=>TT_LICENSEASSETGROUPCONFLIST OPTIONAL
    !IT_ASSOCDLICENSEASTRLSETARNS TYPE /AWS1/CL_LICLICENSEASTRLSETA00=>TT_LICENSEASSETRULESETARNLIST OPTIONAL
    !IT_PROPERTIES TYPE /AWS1/CL_LICLICENSEASTGROUPPRP=>TT_LICENSEASSETGROUPPRPLIST OPTIONAL
    !IV_LICENSEASSETGROUPARN TYPE /AWS1/LICARN OPTIONAL
    !IV_STATUS TYPE /AWS1/LICLICENSEASSETGROUPSTAT OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/LICSTRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_licuplicenseastgrrsp
  RAISING
    /AWS1/CX_LICACCESSDENIEDEX
    /AWS1/CX_LICAUTHEXCEPTION
    /AWS1/CX_LICINVPARAMVALUEEX
    /AWS1/CX_LICRLIMEXCEEDEDEX
    /AWS1/CX_LICSERVERINTERNALEX
    /AWS1/CX_LICVALIDATIONEX
    /AWS1/CX_LICCLIENTEXC
    /AWS1/CX_LICSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

it_assocdlicenseastrlsetarns TYPE /AWS1/CL_LICLICENSEASTRLSETA00=>TT_LICENSEASSETRULESETARNLIST TT_LICENSEASSETRULESETARNLIST

ARNs of associated license asset rulesets.

iv_licenseassetgrouparn TYPE /AWS1/LICARN /AWS1/LICARN

Amazon Resource Name (ARN) of the license asset group.

iv_clienttoken TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Optional arguments:

iv_name TYPE /AWS1/LICLICENSEASSETRESNAME /AWS1/LICLICENSEASSETRESNAME

License asset group name.

iv_description TYPE /AWS1/LICLICENSEASSETRESDESC /AWS1/LICLICENSEASSETRESDESC

License asset group description.

it_licenseassetgroupconfs TYPE /AWS1/CL_LICLICENSEASTGRPCONF=>TT_LICENSEASSETGROUPCONFLIST TT_LICENSEASSETGROUPCONFLIST

License asset group configurations.

it_properties TYPE /AWS1/CL_LICLICENSEASTGROUPPRP=>TT_LICENSEASSETGROUPPRPLIST TT_LICENSEASSETGROUPPRPLIST

License asset group properties.

iv_status TYPE /AWS1/LICLICENSEASSETGROUPSTAT /AWS1/LICLICENSEASSETGROUPSTAT

License asset group status. The possible values are ACTIVE | DISABLED.

RETURNING

oo_output TYPE REF TO /aws1/cl_licuplicenseastgrrsp /AWS1/CL_LICUPLICENSEASTGRRSP

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->updatelicenseassetgroup(
  it_assocdlicenseastrlsetarns = VALUE /aws1/cl_liclicenseastrlseta00=>tt_licenseassetrulesetarnlist(
    ( new /aws1/cl_liclicenseastrlseta00( |string| ) )
  )
  it_licenseassetgroupconfs = VALUE /aws1/cl_liclicenseastgrpconf=>tt_licenseassetgroupconflist(
    ( new /aws1/cl_liclicenseastgrpconf( |string| ) )
  )
  it_properties = VALUE /aws1/cl_liclicenseastgroupprp=>tt_licenseassetgroupprplist(
    (
      new /aws1/cl_liclicenseastgroupprp(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_clienttoken = |string|
  iv_description = |string|
  iv_licenseassetgrouparn = |string|
  iv_name = |string|
  iv_status = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_string = lo_result->get_licenseassetgrouparn( ).
  lv_string = lo_result->get_status( ).
ENDIF.