Skip to content

/AWS1/CL_CFS=>DESCRIBECONFORMANCEPACKS()

About DescribeConformancePacks

Returns a list of one or more conformance packs.

Method Signature

IMPORTING

Optional arguments:

it_conformancepacknames TYPE /AWS1/CL_CFSCONFORMANCEPACKN00=>TT_CONFORMANCEPACKNAMESLIST TT_CONFORMANCEPACKNAMESLIST

Comma-separated list of conformance pack names for which you want details. If you do not specify any names, Config returns details for all your conformance packs.

iv_limit TYPE /AWS1/CFSPAGESIZELIMIT /AWS1/CFSPAGESIZELIMIT

The maximum number of conformance packs returned on each page.

iv_nexttoken TYPE /AWS1/CFSNEXTTOKEN /AWS1/CFSNEXTTOKEN

The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.

RETURNING

oo_output TYPE REF TO /aws1/cl_cfsdscconformancepa03 /AWS1/CL_CFSDSCCONFORMANCEPA03

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_cfs~describeconformancepacks(
  it_conformancepacknames = VALUE /aws1/cl_cfsconformancepackn00=>tt_conformancepacknameslist(
    ( new /aws1/cl_cfsconformancepackn00( |string| ) )
  )
  iv_limit = 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_conformancepackdetails( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_conformancepackname = lo_row_1->get_conformancepackname( ).
      lv_conformancepackarn = lo_row_1->get_conformancepackarn( ).
      lv_conformancepackid = lo_row_1->get_conformancepackid( ).
      lv_deliverys3bucket = lo_row_1->get_deliverys3bucket( ).
      lv_deliverys3keyprefix = lo_row_1->get_deliverys3keyprefix( ).
      LOOP AT lo_row_1->get_conformancepackinpparams( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_parametername = lo_row_3->get_parametername( ).
          lv_parametervalue = lo_row_3->get_parametervalue( ).
        ENDIF.
      ENDLOOP.
      lv_date = lo_row_1->get_lastupdaterequestedtime( ).
      lv_stringwithcharlimit256 = lo_row_1->get_createdby( ).
      lo_templatessmdocumentdeta = lo_row_1->get_templatessmdocdetails( ).
      IF lo_templatessmdocumentdeta IS NOT INITIAL.
        lv_ssmdocumentname = lo_templatessmdocumentdeta->get_documentname( ).
        lv_ssmdocumentversion = lo_templatessmdocumentdeta->get_documentversion( ).
      ENDIF.
    ENDIF.
  ENDLOOP.
  lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.