/AWS1/IF_TRN=>UPDATEWEBAPPCUSTOMIZATION()¶
About UpdateWebAppCustomization¶
Assigns new customization properties to a web app. You can modify the icon file, logo file, and title.
Method Signature¶
METHODS /AWS1/IF_TRN~UPDATEWEBAPPCUSTOMIZATION
IMPORTING
!IV_WEBAPPID TYPE /AWS1/TRNWEBAPPID OPTIONAL
!IV_TITLE TYPE /AWS1/TRNWEBAPPTITLE OPTIONAL
!IV_LOGOFILE TYPE /AWS1/TRNWEBAPPLOGOFILE OPTIONAL
!IV_FAVICONFILE TYPE /AWS1/TRNWEBAPPFAVICONFILE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_trnupwebappcustizat01
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:¶
iv_title TYPE /AWS1/TRNWEBAPPTITLE /AWS1/TRNWEBAPPTITLE¶
Provide an updated title.
iv_logofile TYPE /AWS1/TRNWEBAPPLOGOFILE /AWS1/TRNWEBAPPLOGOFILE¶
Specify logo file data string (in base64 encoding).
iv_faviconfile TYPE /AWS1/TRNWEBAPPFAVICONFILE /AWS1/TRNWEBAPPFAVICONFILE¶
Specify an icon file data string (in base64 encoding).
RETURNING¶
oo_output TYPE REF TO /aws1/cl_trnupwebappcustizat01 /AWS1/CL_TRNUPWEBAPPCUSTIZAT01¶
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->updatewebappcustomization(
iv_faviconfile = '5347567362473873563239796247513D'
iv_logofile = '5347567362473873563239796247513D'
iv_title = |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.