Skip to content

/AWS1/CL_AUM=>GETEVIDENCEFOLDERSBYASSESS00()

About GetEvidenceFoldersByAssessment

Gets the evidence folders from a specified assessment in Audit Manager.

Method Signature

IMPORTING

Required arguments:

iv_assessmentid TYPE /AWS1/AUMUUID /AWS1/AUMUUID

The unique identifier for the assessment.

Optional arguments:

iv_nexttoken TYPE /AWS1/AUMTOKEN /AWS1/AUMTOKEN

The pagination token that's used to fetch the next set of results.

iv_maxresults TYPE /AWS1/AUMMAXRESULTS /AWS1/AUMMAXRESULTS

Represents the maximum number of results on a page or for an API request call.

RETURNING

oo_output TYPE REF TO /aws1/cl_aumgetevidencefolde03 /AWS1/CL_AUMGETEVIDENCEFOLDE03

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_aum~getevidencefoldersbyassess00(
  iv_assessmentid = |string|
  iv_maxresults = 123
  iv_nexttoken = |string|
).

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_evidencefolders( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_assessmentevidencefolde = lo_row_1->get_name( ).
      lv_timestamp = lo_row_1->get_date( ).
      lv_uuid = lo_row_1->get_assessmentid( ).
      lv_controlsetid = lo_row_1->get_controlsetid( ).
      lv_uuid = lo_row_1->get_controlid( ).
      lv_uuid = lo_row_1->get_id( ).
      lv_string = lo_row_1->get_datasource( ).
      lv_string = lo_row_1->get_author( ).
      lv_integer = lo_row_1->get_totalevidence( ).
      lv_integer = lo_row_1->get_assessmentrptselioncount( ).
      lv_controlname = lo_row_1->get_controlname( ).
      lv_integer = lo_row_1->get_evidenceresrcsincldcount( ).
      lv_integer = lo_row_1->get_evidencebytypeconfdatact( ).
      lv_integer = lo_row_1->get_evidencebytypemanualcnt( ).
      lv_integer = lo_row_1->get_evidencebytypecplncche00( ).
      lv_integer = lo_row_1->get_evidencebytypecplncche01( ).
      lv_integer = lo_row_1->get_evidencebytypeuseracti00( ).
      lv_integer = lo_row_1->get_evidenceawssvcsrccount( ).
    ENDIF.
  ENDLOOP.
  lv_token = lo_result->get_nexttoken( ).
ENDIF.