/AWS1/CL_GLU=>LSTDATAQUALITYRLRECOMMENDA00()
¶
About ListDataQualityRuleRecommendationRuns¶
Lists the recommendation runs meeting the filter criteria.
Method Signature¶
IMPORTING¶
Optional arguments:¶
io_filter
TYPE REF TO /AWS1/CL_GLUDATAQUALITYRLREC00
/AWS1/CL_GLUDATAQUALITYRLREC00
¶
The filter criteria.
iv_nexttoken
TYPE /AWS1/GLUPAGINATIONTOKEN
/AWS1/GLUPAGINATIONTOKEN
¶
A paginated token to offset the results.
iv_maxresults
TYPE /AWS1/GLUPAGESIZE
/AWS1/GLUPAGESIZE
¶
The maximum number of results to return.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_glulstdataqualityrl01
/AWS1/CL_GLULSTDATAQUALITYRL01
¶
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_glu~lstdataqualityrlrecommenda00(
io_filter = new /aws1/cl_gludataqualityrlrec00(
io_datasource = new /aws1/cl_gludatasource(
io_gluetable = new /aws1/cl_glugluetable(
it_additionaloptions = VALUE /aws1/cl_glugluetbladdlopts_w=>tt_gluetableadditionaloptions(
(
VALUE /aws1/cl_glugluetbladdlopts_w=>ts_gluetableaddloptions_maprow(
key = |string|
value = new /aws1/cl_glugluetbladdlopts_w( |string| )
)
)
)
iv_catalogid = |string|
iv_connectionname = |string|
iv_databasename = |string|
iv_tablename = |string|
)
)
iv_startedafter = '20150101000000.0000000'
iv_startedbefore = '20150101000000.0000000'
)
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_runs( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_hashstring = lo_row_1->get_runid( ).
lv_taskstatustype = lo_row_1->get_status( ).
lv_timestamp = lo_row_1->get_startedon( ).
lo_datasource = lo_row_1->get_datasource( ).
IF lo_datasource IS NOT INITIAL.
lo_gluetable = lo_datasource->get_gluetable( ).
IF lo_gluetable IS NOT INITIAL.
lv_namestring = lo_gluetable->get_databasename( ).
lv_namestring = lo_gluetable->get_tablename( ).
lv_namestring = lo_gluetable->get_catalogid( ).
lv_namestring = lo_gluetable->get_connectionname( ).
LOOP AT lo_gluetable->get_additionaloptions( ) into ls_row_2.
lv_key = ls_row_2-key.
lo_value = ls_row_2-value.
IF lo_value IS NOT INITIAL.
lv_descriptionstring = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
lv_paginationtoken = lo_result->get_nexttoken( ).
ENDIF.