/AWS1/IF_GLU=>LSTDATAQUALITYRLRECOMMENDA00()¶
About ListDataQualityRuleRecommendationRuns¶
Lists the recommendation runs meeting the filter criteria.
Method Signature¶
METHODS /AWS1/IF_GLU~LSTDATAQUALITYRLRECOMMENDA00
IMPORTING
!IO_FILTER TYPE REF TO /AWS1/CL_GLUDATAQUALITYRLREC00 OPTIONAL
!IV_NEXTTOKEN TYPE /AWS1/GLUPAGINATIONTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/GLUPAGESIZE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glulstdataqualityrl01
RAISING
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLUOPERATIONTIMEOUTEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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->lstdataqualityrlrecommenda00(
io_filter = new /aws1/cl_gludataqualityrlrec00(
io_datasource = new /aws1/cl_gludatasource(
io_dataqualitygluetable = new /aws1/cl_gludataqualitygluetbl(
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_preprocessingquery = |string|
iv_tablename = |string|
)
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.
lo_dataqualitygluetable = lo_datasource->get_dataqualitygluetable( ).
IF lo_dataqualitygluetable IS NOT INITIAL.
lv_namestring = lo_dataqualitygluetable->get_databasename( ).
lv_namestring = lo_dataqualitygluetable->get_tablename( ).
lv_namestring = lo_dataqualitygluetable->get_catalogid( ).
lv_namestring = lo_dataqualitygluetable->get_connectionname( ).
LOOP AT lo_dataqualitygluetable->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.
lv_preprocessingquerystrin = lo_dataqualitygluetable->get_preprocessingquery( ).
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
lv_paginationtoken = lo_result->get_nexttoken( ).
ENDIF.