/AWS1/IF_CRM=>PREVIEWPRIVACYIMPACT()¶
About PreviewPrivacyImpact¶
An estimate of the number of aggregation functions that the member who can query can run given epsilon and noise parameters.
Method Signature¶
METHODS /AWS1/IF_CRM~PREVIEWPRIVACYIMPACT
IMPORTING
!IV_MEMBERSHIPIDENTIFIER TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER OPTIONAL
!IO_PARAMETERS TYPE REF TO /AWS1/CL_CRMPREVIEWPRIVACYIM01 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_crmpreviewprivacyim02
RAISING
/AWS1/CX_CRMACCESSDENIEDEX
/AWS1/CX_CRMINTERNALSERVEREX
/AWS1/CX_CRMRESOURCENOTFOUNDEX
/AWS1/CX_CRMTHROTTLINGEX
/AWS1/CX_CRMVALIDATIONEX
/AWS1/CX_CRMCLIENTEXC
/AWS1/CX_CRMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_membershipidentifier TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER /AWS1/CRMMEMBERSHIPIDENTIFIER¶
A unique identifier for one of your memberships for a collaboration. Accepts a membership ID.
io_parameters TYPE REF TO /AWS1/CL_CRMPREVIEWPRIVACYIM01 /AWS1/CL_CRMPREVIEWPRIVACYIM01¶
Specifies the desired epsilon and noise parameters to preview.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_crmpreviewprivacyim02 /AWS1/CL_CRMPREVIEWPRIVACYIM02¶
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->previewprivacyimpact(
io_parameters = new /aws1/cl_crmpreviewprivacyim01(
io_differentialprivacy = new /aws1/cl_crmdifferentialpriv07(
iv_epsilon = 123
iv_usersnoiseperquery = 123
)
)
iv_membershipidentifier = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_privacyimpact = lo_result->get_privacyimpact( ).
IF lo_privacyimpact IS NOT INITIAL.
lo_differentialprivacypriv = lo_privacyimpact->get_differentialprivacy( ).
IF lo_differentialprivacypriv IS NOT INITIAL.
LOOP AT lo_differentialprivacypriv->get_aggregations( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_differentialprivacyaggr = lo_row_1->get_type( ).
lv_integer = lo_row_1->get_maxcount( ).
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
ENDIF.