Skip to content

/AWS1/IF_HLL=>LISTDATAXFORMTNPROFILES()

About ListDataTransformationProfiles

Lists all data transformation profiles in your account, returning the latest version summary for each. Use GetDataTransformationProfile to retrieve profile content. Results are paginated. Use the NextToken parameter to retrieve additional results.

Method Signature

METHODS /AWS1/IF_HLL~LISTDATAXFORMTNPROFILES
  IMPORTING
    !IV_SOURCEFORMAT TYPE /AWS1/HLLSOURCEFORMAT OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/HLLMAXRESULTS OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/HLLDATAXFORMTNNEXTTOKEN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hlllstdataxfrmpflsrsp
  RAISING
    /AWS1/CX_HLLACCESSDENIEDEX
    /AWS1/CX_HLLINTERNALSERVEREX
    /AWS1/CX_HLLTHROTTLINGEX
    /AWS1/CX_HLLVALIDATIONEX
    /AWS1/CX_HLLCLIENTEXC
    /AWS1/CX_HLLSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_sourceformat TYPE /AWS1/HLLSOURCEFORMAT /AWS1/HLLSOURCEFORMAT

Filters the results by source data format.

Optional arguments:

iv_maxresults TYPE /AWS1/HLLMAXRESULTS /AWS1/HLLMAXRESULTS

The maximum number of profiles to return per page. If you don't specify a value, the service returns up to 100 results.

iv_nexttoken TYPE /AWS1/HLLDATAXFORMTNNEXTTOKEN /AWS1/HLLDATAXFORMTNNEXTTOKEN

The pagination token from a previous response. Pass this value to retrieve the next page of results.

RETURNING

oo_output TYPE REF TO /aws1/cl_hlllstdataxfrmpflsrsp /AWS1/CL_HLLLSTDATAXFRMPFLSRSP

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->listdataxformtnprofiles(
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_sourceformat = |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_items( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_profileidstring = lo_row_1->get_profileid( ).
      lv_profileversion = lo_row_1->get_version( ).
      lv_sourceformat = lo_row_1->get_sourceformat( ).
      lv_targetformat = lo_row_1->get_targetformat( ).
      lv_profilenamestring = lo_row_1->get_profilename( ).
      lv_profiledescription = lo_row_1->get_profiledescription( ).
      lv_datetime = lo_row_1->get_lastupdatedat( ).
    ENDIF.
  ENDLOOP.
  lv_datatransformationnextt = lo_result->get_nexttoken( ).
ENDIF.