/AWS1/IF_GLU=>BTCPUTDATAQUALITYSTATISTIC00()¶
About BatchPutDataQualityStatisticAnnotation¶
Annotate datapoints over time for a specific data quality statistic. The API requires both profileID and statisticID as part of the InclusionAnnotation input. The API only works for a single statisticId across multiple profiles.
Method Signature¶
METHODS /AWS1/IF_GLU~BTCPUTDATAQUALITYSTATISTIC00
IMPORTING
!IT_INCLUSIONANNOTATIONS TYPE /AWS1/CL_GLUDATAPTINCLUSIONA00=>TT_INCLUSIONANNOTATIONLIST OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/GLUHASHSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_glubtcputdataqualit01
RAISING
/AWS1/CX_GLUENTITYNOTFOUNDEX
/AWS1/CX_GLUINTERNALSERVICEEX
/AWS1/CX_GLUINVALIDINPUTEX
/AWS1/CX_GLURESRCNUMLMTEXCDEX
/AWS1/CX_GLUCLIENTEXC
/AWS1/CX_GLUSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
it_inclusionannotations TYPE /AWS1/CL_GLUDATAPTINCLUSIONA00=>TT_INCLUSIONANNOTATIONLIST TT_INCLUSIONANNOTATIONLIST¶
A list of
DatapointInclusionAnnotation's. The InclusionAnnotations must contain a profileId and statisticId. If there are multiple InclusionAnnotations, the list must refer to a single statisticId across multiple profileIds.
Optional arguments:¶
iv_clienttoken TYPE /AWS1/GLUHASHSTRING /AWS1/GLUHASHSTRING¶
Client Token.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_glubtcputdataqualit01 /AWS1/CL_GLUBTCPUTDATAQUALIT01¶
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->btcputdataqualitystatistic00(
it_inclusionannotations = VALUE /aws1/cl_gludataptinclusiona00=>tt_inclusionannotationlist(
(
new /aws1/cl_gludataptinclusiona00(
iv_inclusionannotation = |string|
iv_profileid = |string|
iv_statisticid = |string|
)
)
)
iv_clienttoken = |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_failedinclusionannotat00( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_hashstring = lo_row_1->get_profileid( ).
lv_hashstring = lo_row_1->get_statisticid( ).
lv_descriptionstring = lo_row_1->get_failurereason( ).
ENDIF.
ENDLOOP.
ENDIF.