/AWS1/IF_IOE=>CREATEINPUT()¶
About CreateInput¶
Creates an input.
Method Signature¶
METHODS /AWS1/IF_IOE~CREATEINPUT
IMPORTING
!IV_INPUTNAME TYPE /AWS1/IOEINPUTNAME OPTIONAL
!IV_INPUTDESCRIPTION TYPE /AWS1/IOEINPUTDESCRIPTION OPTIONAL
!IO_INPUTDEFINITION TYPE REF TO /AWS1/CL_IOEINPUTDEFINITION OPTIONAL
!IT_TAGS TYPE /AWS1/CL_IOETAG=>TT_TAGS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_ioecreateinputrsp
RAISING
/AWS1/CX_IOEINTERNALFAILUREEX
/AWS1/CX_IOEINVALIDREQUESTEX
/AWS1/CX_IOERESRCALRDYEXISTSEX
/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 you want to give to the input.
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.
it_tags TYPE /AWS1/CL_IOETAG=>TT_TAGS TT_TAGS¶
Metadata that can be used to manage the input.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_ioecreateinputrsp /AWS1/CL_IOECREATEINPUTRSP¶
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->createinput(
io_inputdefinition = new /aws1/cl_ioeinputdefinition(
it_attributes = VALUE /aws1/cl_ioeattribute=>tt_attributes(
( new /aws1/cl_ioeattribute( |string| ) )
)
)
it_tags = VALUE /aws1/cl_ioetag=>tt_tags(
(
new /aws1/cl_ioetag(
iv_key = |string|
iv_value = |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.