/AWS1/IF_TRN=>UPDATEPROFILE()¶
About UpdateProfile¶
Updates some of the parameters for an existing profile. Provide the ProfileId for the profile that you want to update, along with the new values for the parameters to update.
Method Signature¶
METHODS /AWS1/IF_TRN~UPDATEPROFILE
IMPORTING
!IV_PROFILEID TYPE /AWS1/TRNPROFILEID OPTIONAL
!IT_CERTIFICATEIDS TYPE /AWS1/CL_TRNCERTIFICATEIDS_W=>TT_CERTIFICATEIDS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_trnupdateprofilersp
RAISING
/AWS1/CX_TRNINTERNALSVCERROR
/AWS1/CX_TRNINVALIDREQUESTEX
/AWS1/CX_TRNRESOURCENOTFOUNDEX
/AWS1/CX_TRNSERVICEUNAVAILEX
/AWS1/CX_TRNTHROTTLINGEX
/AWS1/CX_TRNCLIENTEXC
/AWS1/CX_TRNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_profileid TYPE /AWS1/TRNPROFILEID /AWS1/TRNPROFILEID¶
The identifier of the profile object that you are updating.
Optional arguments:¶
it_certificateids TYPE /AWS1/CL_TRNCERTIFICATEIDS_W=>TT_CERTIFICATEIDS TT_CERTIFICATEIDS¶
An array of identifiers for the imported certificates. You use this identifier for working with profiles and partner profiles.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_trnupdateprofilersp /AWS1/CL_TRNUPDATEPROFILERSP¶
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->updateprofile(
it_certificateids = VALUE /aws1/cl_trncertificateids_w=>tt_certificateids(
( new /aws1/cl_trncertificateids_w( |string| ) )
)
iv_profileid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_profileid = lo_result->get_profileid( ).
ENDIF.