/AWS1/IF_HLL=>LISTDATAXFORMTNPROFILEVRSN()¶
About ListDataTransformationProfileVersions¶
Lists all versions of a specific data transformation profile (DRAFT and published), in reverse chronological order (newest first). Use GetDataTransformationProfile to retrieve profile content. Results are paginated. Use the NextToken parameter to retrieve additional results.
Method Signature¶
METHODS /AWS1/IF_HLL~LISTDATAXFORMTNPROFILEVRSN
IMPORTING
!IV_PROFILEID TYPE /AWS1/HLLPROFILEIDSTRING OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/HLLMAXRESULTS OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/HLLDATAXFORMTNNEXTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_hlllstdatxfmpflverrsp
RAISING
/AWS1/CX_HLLACCESSDENIEDEX
/AWS1/CX_HLLINTERNALSERVEREX
/AWS1/CX_HLLRESOURCENOTFOUNDEX
/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_profileid TYPE /AWS1/HLLPROFILEIDSTRING /AWS1/HLLPROFILEIDSTRING¶
The unique identifier of the profile whose versions to list.
Optional arguments:¶
iv_maxresults TYPE /AWS1/HLLMAXRESULTS /AWS1/HLLMAXRESULTS¶
The maximum number of profile versions 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_hlllstdatxfmpflverrsp /AWS1/CL_HLLLSTDATXFMPFLVERRSP¶
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->listdataxformtnprofilevrsn(
iv_maxresults = 123
iv_nexttoken = |string|
iv_profileid = |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_changedescription = lo_row_1->get_changedescription( ).
lv_datetime = lo_row_1->get_lastupdatedat( ).
ENDIF.
ENDLOOP.
lv_datatransformationnextt = lo_result->get_nexttoken( ).
ENDIF.