/AWS1/IF_LIC=>CRELICENSEMANAGERRPTGENERA00()¶
About CreateLicenseManagerReportGenerator¶
Creates a report generator.
Method Signature¶
METHODS /AWS1/IF_LIC~CRELICENSEMANAGERRPTGENERA00
IMPORTING
!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
!IT_TAGS TYPE /AWS1/CL_LICTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_liccrelicensemanage01
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_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 an be generated:
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¶
Defines the type of license configuration the report generator tracks.
io_reportfrequency TYPE REF TO /AWS1/CL_LICREPORTFREQUENCY /AWS1/CL_LICREPORTFREQUENCY¶
Frequency by which reports are generated. Reports can be generated daily, monthly, or weekly.
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.
it_tags TYPE /AWS1/CL_LICTAG=>TT_TAGLIST TT_TAGLIST¶
Tags to add to the report generator.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_liccrelicensemanage01 /AWS1/CL_LICCRELICENSEMANAGE01¶
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->crelicensemanagerrptgenera00(
io_reportcontext = new /aws1/cl_licreportcontext(
it_licenseassetgrouparns = VALUE /aws1/cl_licarnlist_w=>tt_arnlist(
( new /aws1/cl_licarnlist_w( |string| ) )
)
it_licenseconfigurationarns = VALUE /aws1/cl_licarnlist_w=>tt_arnlist(
( new /aws1/cl_licarnlist_w( |string| ) )
)
iv_reportenddate = '20150101000000.0000000'
iv_reportstartdate = '20150101000000.0000000'
)
io_reportfrequency = new /aws1/cl_licreportfrequency(
iv_period = |string|
iv_value = 123
)
it_tags = VALUE /aws1/cl_lictag=>tt_taglist(
(
new /aws1/cl_lictag(
iv_key = |string|
iv_value = |string|
)
)
)
it_type = VALUE /aws1/cl_licreporttypelist_w=>tt_reporttypelist(
( new /aws1/cl_licreporttypelist_w( |string| ) )
)
iv_clienttoken = |string|
iv_description = |string|
iv_reportgeneratorname = |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_licensemanagerrptgener00( ).
ENDIF.