/AWS1/IF_APC=>UPDATEEXTENSIONASSOCIATION()¶
About UpdateExtensionAssociation¶
Updates an association. For more information about extensions and associations, see Extending workflows in the AppConfig User Guide.
Method Signature¶
METHODS /AWS1/IF_APC~UPDATEEXTENSIONASSOCIATION
IMPORTING
!IV_EXTENSIONASSOCIATIONID TYPE /AWS1/APCID OPTIONAL
!IT_PARAMETERS TYPE /AWS1/CL_APCPARAMVALUEMAP_W=>TT_PARAMETERVALUEMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_apcextensionassocia00
RAISING
/AWS1/CX_APCBADREQUESTEX
/AWS1/CX_APCINTERNALSERVEREX
/AWS1/CX_APCRESOURCENOTFOUNDEX
/AWS1/CX_APCCLIENTEXC
/AWS1/CX_APCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_extensionassociationid TYPE /AWS1/APCID /AWS1/APCID¶
The system-generated ID for the association.
Optional arguments:¶
it_parameters TYPE /AWS1/CL_APCPARAMVALUEMAP_W=>TT_PARAMETERVALUEMAP TT_PARAMETERVALUEMAP¶
The parameter names and values defined in the extension.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_apcextensionassocia00 /AWS1/CL_APCEXTENSIONASSOCIA00¶
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->updateextensionassociation(
it_parameters = VALUE /aws1/cl_apcparamvaluemap_w=>tt_parametervaluemap(
(
VALUE /aws1/cl_apcparamvaluemap_w=>ts_parametervaluemap_maprow(
key = |string|
value = new /aws1/cl_apcparamvaluemap_w( |string| )
)
)
)
iv_extensionassociationid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_identifier = lo_result->get_id( ).
lv_arn = lo_result->get_extensionarn( ).
lv_arn = lo_result->get_resourcearn( ).
lv_arn = lo_result->get_arn( ).
LOOP AT lo_result->get_parameters( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_stringwithlengthbetween = lo_value->get_value( ).
ENDIF.
ENDLOOP.
lv_integer = lo_result->get_extensionversionnumber( ).
ENDIF.