/AWS1/IF_IOE=>UPDATEINPUT()¶
About UpdateInput¶
Updates an input.
Method Signature¶
METHODS /AWS1/IF_IOE~UPDATEINPUT
IMPORTING
!IV_INPUTNAME TYPE /AWS1/IOEINPUTNAME OPTIONAL
!IV_INPUTDESCRIPTION TYPE /AWS1/IOEINPUTDESCRIPTION OPTIONAL
!IO_INPUTDEFINITION TYPE REF TO /AWS1/CL_IOEINPUTDEFINITION OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ioeupdateinputrsp
RAISING
/AWS1/CX_IOEINTERNALFAILUREEX
/AWS1/CX_IOEINVALIDREQUESTEX
/AWS1/CX_IOERESOURCEINUSEEX
/AWS1/CX_IOERESOURCENOTFOUNDEX
/AWS1/CX_IOESERVICEUNAVAILEX
/AWS1/CX_IOETHROTTLINGEX
/AWS1/CX_IOECLIENTEXC
/AWS1/CX_IOESERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_inputname TYPE /AWS1/IOEINPUTNAME /AWS1/IOEINPUTNAME¶
The name of the input you want to update.
io_inputdefinition TYPE REF TO /AWS1/CL_IOEINPUTDEFINITION /AWS1/CL_IOEINPUTDEFINITION¶
The definition of the input.
Optional arguments:¶
iv_inputdescription TYPE /AWS1/IOEINPUTDESCRIPTION /AWS1/IOEINPUTDESCRIPTION¶
A brief description of the input.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ioeupdateinputrsp /AWS1/CL_IOEUPDATEINPUTRSP¶
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->updateinput(
io_inputdefinition = new /aws1/cl_ioeinputdefinition(
it_attributes = VALUE /aws1/cl_ioeattribute=>tt_attributes(
( new /aws1/cl_ioeattribute( |string| ) )
)
)
iv_inputdescription = |string|
iv_inputname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_inputconfiguration = lo_result->get_inputconfiguration( ).
IF lo_inputconfiguration IS NOT INITIAL.
lv_inputname = lo_inputconfiguration->get_inputname( ).
lv_inputdescription = lo_inputconfiguration->get_inputdescription( ).
lv_inputarn = lo_inputconfiguration->get_inputarn( ).
lv_timestamp = lo_inputconfiguration->get_creationtime( ).
lv_timestamp = lo_inputconfiguration->get_lastupdatetime( ).
lv_inputstatus = lo_inputconfiguration->get_status( ).
ENDIF.
ENDIF.