Skip to content

/AWS1/CL_GUP=>LISTFINDINGSREPORTS()

About ListFindingsReports

List the available reports for a given profiling group and time range.

Method Signature

IMPORTING

Required arguments:

iv_profilinggroupname TYPE /AWS1/GUPPROFILINGGROUPNAME /AWS1/GUPPROFILINGGROUPNAME

The name of the profiling group from which to search for analysis data.

iv_starttime TYPE /AWS1/GUPTIMESTAMP /AWS1/GUPTIMESTAMP

The start time of the profile to get analysis data about. You must specify startTime and endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

iv_endtime TYPE /AWS1/GUPTIMESTAMP /AWS1/GUPTIMESTAMP

The end time of the profile to get analysis data about. You must specify startTime and endTime. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

Optional arguments:

iv_nexttoken TYPE /AWS1/GUPPAGINATIONTOKEN /AWS1/GUPPAGINATIONTOKEN

The nextToken value returned from a previous paginated ListFindingsReportsRequest request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value.

This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.

iv_maxresults TYPE /AWS1/GUPMAXRESULTS /AWS1/GUPMAXRESULTS

The maximum number of report results returned by ListFindingsReports in paginated output. When this parameter is used, ListFindingsReports only returns maxResults results in a single page along with a nextToken response element. The remaining results of the initial request can be seen by sending another ListFindingsReports request with the returned nextToken value.

iv_dailyreportsonly TYPE /AWS1/GUPBOOLEAN /AWS1/GUPBOOLEAN

A Boolean value indicating whether to only return reports from daily profiles. If set to True, only analysis data from daily profiles is returned. If set to False, analysis data is returned from smaller time windows (for example, one hour).

RETURNING

oo_output TYPE REF TO /aws1/cl_guplistfndgsrptsrsp /AWS1/CL_GUPLISTFNDGSRPTSRSP

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~listfindingsreports(
  iv_dailyreportsonly = ABAP_TRUE
  iv_endtime = '20150101000000.0000000'
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_profilinggroupname = |string|
  iv_starttime = '20150101000000.0000000'
).

This is an example of reading all possible response values

LOOP AT lo_result->get_findingsreportsummaries( ) into lo_row.
  lv_findingsreportid = lo_row_1->get_id( ).
  lv_string = lo_row_1->get_profilinggroupname( ).
  lv_timestamp = lo_row_1->get_profilestarttime( ).
  lv_timestamp = lo_row_1->get_profileendtime( ).
  lv_integer = lo_row_1->get_totalnumberoffindings( ).
ENDLOOP.
lv_paginationtoken = lo_result->get_nexttoken( ).