/AWS1/IF_GUP=>LISTFINDINGSREPORTS()¶
About ListFindingsReports¶
List the available reports for a given profiling group and time range.
Method Signature¶
METHODS /AWS1/IF_GUP~LISTFINDINGSREPORTS
IMPORTING
!IV_PROFILINGGROUPNAME TYPE /AWS1/GUPPROFILINGGROUPNAME OPTIONAL
!IV_STARTTIME TYPE /AWS1/GUPTIMESTAMP OPTIONAL
!IV_ENDTIME TYPE /AWS1/GUPTIMESTAMP OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/GUPPAGINATIONTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/GUPMAXRESULTS OPTIONAL
!IV_DAILYREPORTSONLY TYPE /AWS1/GUPBOOLEAN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_guplistfndgsrptsrsp
RAISING
/AWS1/CX_GUPINTERNALSERVEREX
/AWS1/CX_GUPRESOURCENOTFOUNDEX
/AWS1/CX_GUPTHROTTLINGEX
/AWS1/CX_GUPVALIDATIONEX
/AWS1/CX_GUPCLIENTEXC
/AWS1/CX_GUPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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
startTimeandendTime. 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
startTimeandendTime. 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
nextTokenvalue returned from a previous paginatedListFindingsReportsRequestrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue.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
ListFindingsReportsin paginated output. When this parameter is used,ListFindingsReportsonly returnsmaxResultsresults in a single page along with anextTokenresponse element. The remaining results of the initial request can be seen by sending anotherListFindingsReportsrequest with the returnednextTokenvalue.
iv_dailyreportsonly TYPE /AWS1/GUPBOOLEAN /AWS1/GUPBOOLEAN¶
A
Booleanvalue indicating whether to only return reports from daily profiles. If set toTrue, only analysis data from daily profiles is returned. If set toFalse, 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->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
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_findingsreportsummaries( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
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( ).
ENDIF.
ENDLOOP.
lv_paginationtoken = lo_result->get_nexttoken( ).
ENDIF.