Skip to content

/AWS1/CL_CRM=>UPDCFGUREDTABLEASSOCIATION()

About UpdateConfiguredTableAssociation

Updates a configured table association.

Method Signature

IMPORTING

Required arguments:

iv_cfguredtableassociationid TYPE /AWS1/CRMCFGUREDTBLASSOCIATI01 /AWS1/CRMCFGUREDTBLASSOCIATI01

The unique identifier for the configured table association to update. Currently accepts the configured table association ID.

iv_membershipidentifier TYPE /AWS1/CRMMEMBERSHIPIDENTIFIER /AWS1/CRMMEMBERSHIPIDENTIFIER

The unique ID for the membership that the configured table association belongs to.

Optional arguments:

iv_description TYPE /AWS1/CRMTABLEDESCRIPTION /AWS1/CRMTABLEDESCRIPTION

A new description for the configured table association.

iv_rolearn TYPE /AWS1/CRMROLEARN /AWS1/CRMROLEARN

The service will assume this role to access catalog metadata and query the table.

RETURNING

oo_output TYPE REF TO /aws1/cl_crmupcfguredtblasso01 /AWS1/CL_CRMUPCFGUREDTBLASSO01

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~updcfguredtableassociation(
  iv_cfguredtableassociationid = |string|
  iv_description = |string|
  iv_membershipidentifier = |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.