/AWS1/IF_SSS=>UPDATEAPPLICATIONSETTINGS()¶
About UpdateApplicationSettings¶
Updates the settings of an application registered with AWS Systems Manager for SAP.
Method Signature¶
METHODS /AWS1/IF_SSS~UPDATEAPPLICATIONSETTINGS
IMPORTING
!IV_APPLICATIONID TYPE /AWS1/SSSAPPLICATIONID OPTIONAL
!IT_CREDENTIALSTOADDORUPDATE TYPE /AWS1/CL_SSSAPPLICATIONCRED=>TT_APPLICATIONCREDENTIALLIST OPTIONAL
!IT_CREDENTIALSTOREMOVE TYPE /AWS1/CL_SSSAPPLICATIONCRED=>TT_APPLICATIONCREDENTIALLIST OPTIONAL
!IO_BACKINT TYPE REF TO /AWS1/CL_SSSBACKINTCONFIG OPTIONAL
!IV_DATABASEARN TYPE /AWS1/SSSSSMSAPARN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sssupapplicationstg01
RAISING
/AWS1/CX_SSSCONFLICTEXCEPTION
/AWS1/CX_SSSINTERNALSERVEREX
/AWS1/CX_SSSRESOURCENOTFOUNDEX
/AWS1/CX_SSSUNAUTHORIZEDEX
/AWS1/CX_SSSVALIDATIONEX
/AWS1/CX_SSSCLIENTEXC
/AWS1/CX_SSSSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationid TYPE /AWS1/SSSAPPLICATIONID /AWS1/SSSAPPLICATIONID¶
The ID of the application.
Optional arguments:¶
it_credentialstoaddorupdate TYPE /AWS1/CL_SSSAPPLICATIONCRED=>TT_APPLICATIONCREDENTIALLIST TT_APPLICATIONCREDENTIALLIST¶
The credentials to be added or updated.
it_credentialstoremove TYPE /AWS1/CL_SSSAPPLICATIONCRED=>TT_APPLICATIONCREDENTIALLIST TT_APPLICATIONCREDENTIALLIST¶
The credentials to be removed.
io_backint TYPE REF TO /AWS1/CL_SSSBACKINTCONFIG /AWS1/CL_SSSBACKINTCONFIG¶
Installation of AWS Backint Agent for SAP HANA.
iv_databasearn TYPE /AWS1/SSSSSMSAPARN /AWS1/SSSSSMSAPARN¶
The Amazon Resource Name of the SAP HANA database that replaces the current SAP HANA connection with the SAP_ABAP application.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sssupapplicationstg01 /AWS1/CL_SSSUPAPPLICATIONSTG01¶
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->updateapplicationsettings(
io_backint = new /aws1/cl_sssbackintconfig(
iv_backintmode = |string|
iv_ensurenobackupinprocess = ABAP_TRUE
)
it_credentialstoaddorupdate = VALUE /aws1/cl_sssapplicationcred=>tt_applicationcredentiallist(
(
new /aws1/cl_sssapplicationcred(
iv_credentialtype = |string|
iv_databasename = |string|
iv_secretid = |string|
)
)
)
it_credentialstoremove = VALUE /aws1/cl_sssapplicationcred=>tt_applicationcredentiallist(
(
new /aws1/cl_sssapplicationcred(
iv_credentialtype = |string|
iv_databasename = |string|
iv_secretid = |string|
)
)
)
iv_applicationid = |string|
iv_databasearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_message( ).
LOOP AT lo_result->get_operationids( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_operationid = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.