/AWS1/IF_LIC=>UPLICENSEMANAGERRPTGENERATOR()¶
About UpdateLicenseManagerReportGenerator¶
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
Method Signature¶
METHODS /AWS1/IF_LIC~UPLICENSEMANAGERRPTGENERATOR
IMPORTING
!IV_LICENSEMANAGERRPTGENERA00 TYPE /AWS1/LICSTRING OPTIONAL
!IV_REPORTGENERATORNAME TYPE /AWS1/LICREPORTGENERATORNAME OPTIONAL
!IT_TYPE TYPE /AWS1/CL_LICREPORTTYPELIST_W=>TT_REPORTTYPELIST OPTIONAL
!IO_REPORTCONTEXT TYPE REF TO /AWS1/CL_LICREPORTCONTEXT OPTIONAL
!IO_REPORTFREQUENCY TYPE REF TO /AWS1/CL_LICREPORTFREQUENCY OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/LICCLIENTREQUESTTOKEN OPTIONAL
!IV_DESCRIPTION TYPE /AWS1/LICSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_licuplicensemanager01
RAISING
/AWS1/CX_LICACCESSDENIEDEX
/AWS1/CX_LICAUTHEXCEPTION
/AWS1/CX_LICINVPARAMVALUEEX
/AWS1/CX_LICRLIMEXCEEDEDEX
/AWS1/CX_LICRESRCLIMITEXCDEX
/AWS1/CX_LICRESOURCENOTFOUNDEX
/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:¶
iv_licensemanagerrptgenera00 TYPE /AWS1/LICSTRING /AWS1/LICSTRING¶
Amazon Resource Name (ARN) of the report generator to update.
iv_reportgeneratorname TYPE /AWS1/LICREPORTGENERATORNAME /AWS1/LICREPORTGENERATORNAME¶
Name of the report generator.
it_type TYPE /AWS1/CL_LICREPORTTYPELIST_W=>TT_REPORTTYPELIST TT_REPORTTYPELIST¶
Type of reports to generate. The following report types are supported:
License configuration report - Reports the number and details of consumed licenses for a license configuration.
Resource report - Reports the tracked licenses and resource consumption for a license configuration.
io_reportcontext TYPE REF TO /AWS1/CL_LICREPORTCONTEXT /AWS1/CL_LICREPORTCONTEXT¶
The report context.
io_reportfrequency TYPE REF TO /AWS1/CL_LICREPORTFREQUENCY /AWS1/CL_LICREPORTFREQUENCY¶
Frequency by which reports are generated.
iv_clienttoken TYPE /AWS1/LICCLIENTREQUESTTOKEN /AWS1/LICCLIENTREQUESTTOKEN¶
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Optional arguments:¶
iv_description TYPE /AWS1/LICSTRING /AWS1/LICSTRING¶
Description of the report generator.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_licuplicensemanager01 /AWS1/CL_LICUPLICENSEMANAGER01¶
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->uplicensemanagerrptgenerator(
io_reportcontext = new /aws1/cl_licreportcontext(
it_licenseconfigurationarns = VALUE /aws1/cl_licarnlist_w=>tt_arnlist(
( new /aws1/cl_licarnlist_w( |string| ) )
)
)
io_reportfrequency = new /aws1/cl_licreportfrequency(
iv_period = |string|
iv_value = 123
)
it_type = VALUE /aws1/cl_licreporttypelist_w=>tt_reporttypelist(
( new /aws1/cl_licreporttypelist_w( |string| ) )
)
iv_clienttoken = |string|
iv_description = |string|
iv_licensemanagerrptgenera00 = |string|
iv_reportgeneratorname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.