/AWS1/CL_CRM=>CRECFGUREDTABLEASSOCIATION()
¶
About CreateConfiguredTableAssociation¶
Creates a configured table association. A configured table association links a configured table with a collaboration.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_name
TYPE /AWS1/CRMTABLEALIAS
/AWS1/CRMTABLEALIAS
¶
The name of the configured table association. This name is used to query the underlying configured table.
iv_membershipidentifier
TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER
/AWS1/CRMMEMBERSHIPIDENTIFIER
¶
A unique identifier for one of your memberships for a collaboration. The configured table is associated to the collaboration that this membership belongs to. Currently accepts a membership ID.
iv_configuredtableidentifier
TYPE /AWS1/CRMCONFIGUREDTABLEID
/AWS1/CRMCONFIGUREDTABLEID
¶
A unique identifier for the configured table to be associated to. Currently accepts a configured table ID.
iv_rolearn
TYPE /AWS1/CRMROLEARN
/AWS1/CRMROLEARN
¶
The service will assume this role to access catalog metadata and query the table.
Optional arguments:¶
iv_description
TYPE /AWS1/CRMTABLEDESCRIPTION
/AWS1/CRMTABLEDESCRIPTION
¶
A description for the configured table association.
it_tags
TYPE /AWS1/CL_CRMTAGMAP_W=>TT_TAGMAP
TT_TAGMAP
¶
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_crmcrecfguredtblass01
/AWS1/CL_CRMCRECFGUREDTBLASS01
¶
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_crm~crecfguredtableassociation(
it_tags = VALUE /aws1/cl_crmtagmap_w=>tt_tagmap(
(
VALUE /aws1/cl_crmtagmap_w=>ts_tagmap_maprow(
value = new /aws1/cl_crmtagmap_w( |string| )
key = |string|
)
)
)
iv_configuredtableidentifier = |string|
iv_description = |string|
iv_membershipidentifier = |string|
iv_name = |string|
iv_rolearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_configuredtableassociat = lo_result->get_cfguredtableassociation( ).
IF lo_configuredtableassociat IS NOT INITIAL.
lv_configuredtableassociat_1 = lo_configuredtableassociat->get_arn( ).
lv_uuid = lo_configuredtableassociat->get_id( ).
lv_uuid = lo_configuredtableassociat->get_configuredtableid00( ).
lv_configuredtablearn = lo_configuredtableassociat->get_configuredtablearn( ).
lv_uuid = lo_configuredtableassociat->get_membershipid( ).
lv_membershiparn = lo_configuredtableassociat->get_membershiparn( ).
lv_rolearn = lo_configuredtableassociat->get_rolearn( ).
lv_tablealias = lo_configuredtableassociat->get_name( ).
lv_tabledescription = lo_configuredtableassociat->get_description( ).
LOOP AT lo_configuredtableassociat->get_analysisruletypes( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_configuredtableassociat_2 = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_timestamp = lo_configuredtableassociat->get_createtime( ).
lv_timestamp = lo_configuredtableassociat->get_updatetime( ).
ENDIF.
ENDIF.