/AWS1/IF_TRN=>UPDATEWEBAPP()¶
About UpdateWebApp¶
Assigns new properties to a web app. You can modify the access point, identity provider details, and the web app units.
Method Signature¶
METHODS /AWS1/IF_TRN~UPDATEWEBAPP
IMPORTING
!IV_WEBAPPID TYPE /AWS1/TRNWEBAPPID OPTIONAL
!IO_IDENTITYPROVIDERDETAILS TYPE REF TO /AWS1/CL_TRNUPWEBAPPIDPVDRDETS OPTIONAL
!IV_ACCESSENDPOINT TYPE /AWS1/TRNWEBAPPACCESSENDPOINT OPTIONAL
!IO_WEBAPPUNITS TYPE REF TO /AWS1/CL_TRNWEBAPPUNITS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_trnupdatewebapprsp
RAISING
/AWS1/CX_TRNACCESSDENIEDEX
/AWS1/CX_TRNCONFLICTEXCEPTION
/AWS1/CX_TRNINTERNALSVCERROR
/AWS1/CX_TRNINVALIDREQUESTEX
/AWS1/CX_TRNRESOURCENOTFOUNDEX
/AWS1/CX_TRNTHROTTLINGEX
/AWS1/CX_TRNCLIENTEXC
/AWS1/CX_TRNSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_webappid TYPE /AWS1/TRNWEBAPPID /AWS1/TRNWEBAPPID¶
Provide the identifier of the web app that you are updating.
Optional arguments:¶
io_identityproviderdetails TYPE REF TO /AWS1/CL_TRNUPWEBAPPIDPVDRDETS /AWS1/CL_TRNUPWEBAPPIDPVDRDETS¶
Provide updated identity provider values in a
WebAppIdentityProviderDetailsobject.
iv_accessendpoint TYPE /AWS1/TRNWEBAPPACCESSENDPOINT /AWS1/TRNWEBAPPACCESSENDPOINT¶
The
AccessEndpointis the URL that you provide to your users for them to interact with the Transfer Family web app. You can specify a custom URL or use the default value.
io_webappunits TYPE REF TO /AWS1/CL_TRNWEBAPPUNITS /AWS1/CL_TRNWEBAPPUNITS¶
A union that contains the value for number of concurrent connections or the user sessions on your web app.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_trnupdatewebapprsp /AWS1/CL_TRNUPDATEWEBAPPRSP¶
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->updatewebapp(
io_identityproviderdetails = new /aws1/cl_trnupwebappidpvdrdets( new /aws1/cl_trnupwebappidcenter00( |string| ) )
io_webappunits = new /aws1/cl_trnwebappunits( 123 )
iv_accessendpoint = |string|
iv_webappid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_webappid = lo_result->get_webappid( ).
ENDIF.