/AWS1/IF_IOF=>UPDATEAPPLICATION()¶
About UpdateApplication¶
Updates information about a Fleet Hub for IoT Device Management web application.
Method Signature¶
METHODS /AWS1/IF_IOF~UPDATEAPPLICATION
IMPORTING
!IV_APPLICATIONID TYPE /AWS1/IOFID OPTIONAL
!IV_APPLICATIONNAME TYPE /AWS1/IOFNAME OPTIONAL
!IV_APPLICATIONDESCRIPTION TYPE /AWS1/IOFDESCRIPTION OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/IOFCLIENTREQUESTTOKEN OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iofupdapplicationrsp
RAISING
/AWS1/CX_IOFCONFLICTEXCEPTION
/AWS1/CX_IOFINTERNALFAILUREEX
/AWS1/CX_IOFINVALIDREQUESTEX
/AWS1/CX_IOFRESOURCENOTFOUNDEX
/AWS1/CX_IOFTHROTTLINGEX
/AWS1/CX_IOFCLIENTEXC
/AWS1/CX_IOFSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationid TYPE /AWS1/IOFID /AWS1/IOFID¶
The unique Id of the web application.
Optional arguments:¶
iv_applicationname TYPE /AWS1/IOFNAME /AWS1/IOFNAME¶
The name of the web application.
iv_applicationdescription TYPE /AWS1/IOFDESCRIPTION /AWS1/IOFDESCRIPTION¶
An optional description of the web application.
iv_clienttoken TYPE /AWS1/IOFCLIENTREQUESTTOKEN /AWS1/IOFCLIENTREQUESTTOKEN¶
A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iofupdapplicationrsp /AWS1/CL_IOFUPDAPPLICATIONRSP¶
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->updateapplication(
iv_applicationdescription = |string|
iv_applicationid = |string|
iv_applicationname = |string|
iv_clienttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.