/AWS1/IF_GLU=>LISTINTGTABLEPROPERTIES()¶
About ListIntegrationTableProperties¶
Lists the integration table properties in your account. This operation supports filtering and pagination.
Method Signature¶
METHODS /AWS1/IF_GLU~LISTINTGTABLEPROPERTIES
IMPORTING
!IV_MARKER TYPE /AWS1/GLUSTRING4096 OPTIONAL
!IT_FILTERS TYPE /AWS1/CL_GLUINTGTABLEPROPSFILT=>TT_INTGTABLEPROPSFILTERLIST OPTIONAL
!IV_MAXRECORDS TYPE /AWS1/GLUINTEGRATIONINTEGER OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glulstintgtblpropsrsp
RAISING
/AWS1/CX_GLUACCESSDENIEDEX
/AWS1/CX_GLUENTITYNOTFOUNDEX
/AWS1/CX_GLUINTERNALSERVEREX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLURESOURCENOTFOUNDEX
/AWS1/CX_GLUVALIDATIONEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_marker TYPE /AWS1/GLUSTRING4096 /AWS1/GLUSTRING4096¶
The pagination token for the next page of results. The initial value is
null.
it_filters TYPE /AWS1/CL_GLUINTGTABLEPROPSFILT=>TT_INTGTABLEPROPSFILTERLIST TT_INTGTABLEPROPSFILTERLIST¶
A list of filters. Supported filter keys are
SourceArn,TargetArn,SourceTableName, andTargetTableName.
iv_maxrecords TYPE /AWS1/GLUINTEGRATIONINTEGER /AWS1/GLUINTEGRATIONINTEGER¶
The maximum number of records to return in the response.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glulstintgtblpropsrsp /AWS1/CL_GLULSTINTGTBLPROPSRSP¶
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->listintgtableproperties(
it_filters = VALUE /aws1/cl_gluintgtablepropsfilt=>tt_intgtablepropsfilterlist(
(
new /aws1/cl_gluintgtablepropsfilt(
it_values = VALUE /aws1/cl_gluinttblprpsfltval_w=>tt_intgtablepropsfiltervalues(
( new /aws1/cl_gluinttblprpsfltval_w( |string| ) )
)
iv_name = |string|
)
)
)
iv_marker = |string|
iv_maxrecords = 123
).
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_intgtablepropertieslist( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string512 = lo_row_1->get_resourcearn( ).
lv_string128 = lo_row_1->get_tablename( ).
lo_sourcetableconfig = lo_row_1->get_sourcetableconfig( ).
IF lo_sourcetableconfig IS NOT INITIAL.
LOOP AT lo_sourcetableconfig->get_fields( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string128 = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_string128 = lo_sourcetableconfig->get_filterpredicate( ).
LOOP AT lo_sourcetableconfig->get_primarykey( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string128 = lo_row_5->get_value( ).
ENDIF.
ENDLOOP.
lv_string128 = lo_sourcetableconfig->get_recordupdatefield( ).
ENDIF.
lo_targettableconfig = lo_row_1->get_targettableconfig( ).
IF lo_targettableconfig IS NOT INITIAL.
lv_unnestspec = lo_targettableconfig->get_unnestspec( ).
LOOP AT lo_targettableconfig->get_partitionspec( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_string128 = lo_row_7->get_fieldname( ).
lv_string128 = lo_row_7->get_functionspec( ).
lv_string128 = lo_row_7->get_conversionspec( ).
ENDIF.
ENDLOOP.
lv_string128 = lo_targettableconfig->get_targettablename( ).
lv_string128 = lo_targettableconfig->get_integrationarn( ).
ENDIF.
ENDIF.
ENDLOOP.
lv_string4096 = lo_result->get_marker( ).
ENDIF.