/AWS1/IF_GST=>UPDATECONFIG()¶
About UpdateConfig¶
Updates the Config used when scheduling contacts.
Updating a Config will not update the execution parameters for existing future contacts scheduled with this Config.
Method Signature¶
METHODS /AWS1/IF_GST~UPDATECONFIG
IMPORTING
!IV_CONFIGID TYPE /AWS1/GSTUUID OPTIONAL
!IV_NAME TYPE /AWS1/GSTSAFENAME OPTIONAL
!IV_CONFIGTYPE TYPE /AWS1/GSTCONFIGCAPABILITYTYPE OPTIONAL
!IO_CONFIGDATA TYPE REF TO /AWS1/CL_GSTCONFIGTYPEDATA OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gstconfigidresponse
RAISING
/AWS1/CX_GSTDEPENDENCYEX
/AWS1/CX_GSTINVALIDPARAMETEREX
/AWS1/CX_GSTRESOURCENOTFOUNDEX
/AWS1/CX_GSTCLIENTEXC
/AWS1/CX_GSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_configid TYPE /AWS1/GSTUUID /AWS1/GSTUUID¶
UUID of a
Config.
iv_name TYPE /AWS1/GSTSAFENAME /AWS1/GSTSAFENAME¶
Name of a
Config.
iv_configtype TYPE /AWS1/GSTCONFIGCAPABILITYTYPE /AWS1/GSTCONFIGCAPABILITYTYPE¶
Type of a
Config.
io_configdata TYPE REF TO /AWS1/CL_GSTCONFIGTYPEDATA /AWS1/CL_GSTCONFIGTYPEDATA¶
Parameters of a
Config.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gstconfigidresponse /AWS1/CL_GSTCONFIGIDRESPONSE¶
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->updateconfig(
io_configdata = new /aws1/cl_gstconfigtypedata(
io_antennadownlinkconfig = new /aws1/cl_gstantennadownlinkcfg(
io_spectrumconfig = new /aws1/cl_gstspectrumconfig(
io_bandwidth = new /aws1/cl_gstfrequencybandwidth(
iv_units = |string|
iv_value = '0.1'
)
io_centerfrequency = new /aws1/cl_gstfrequency(
iv_units = |string|
iv_value = '0.1'
)
iv_polarization = |string|
)
)
io_antennadownlinkdemoddec00 = new /aws1/cl_gstantennadownlinkd00(
io_decodeconfig = new /aws1/cl_gstdecodeconfig( |string| )
io_demodulationconfig = new /aws1/cl_gstdemodulationconfig( |string| )
io_spectrumconfig = new /aws1/cl_gstspectrumconfig(
io_bandwidth = new /aws1/cl_gstfrequencybandwidth(
iv_units = |string|
iv_value = '0.1'
)
io_centerfrequency = new /aws1/cl_gstfrequency(
iv_units = |string|
iv_value = '0.1'
)
iv_polarization = |string|
)
)
io_antennauplinkconfig = new /aws1/cl_gstantennauplinkcfg(
io_spectrumconfig = new /aws1/cl_gstuplinkspectrumcfg(
io_centerfrequency = new /aws1/cl_gstfrequency(
iv_units = |string|
iv_value = '0.1'
)
iv_polarization = |string|
)
io_targeteirp = new /aws1/cl_gsteirp(
iv_units = |string|
iv_value = '0.1'
)
iv_transmitdisabled = ABAP_TRUE
)
io_dataflowendpointconfig = new /aws1/cl_gstdataflowendptcfg(
iv_dataflowendpointname = |string|
iv_dataflowendpointregion = |string|
)
io_s3recordingconfig = new /aws1/cl_gsts3recordingconfig(
iv_bucketarn = |string|
iv_prefix = |string|
iv_rolearn = |string|
)
io_telemetrysinkconfig = new /aws1/cl_gsttelsinkconfig(
io_telemetrysinkdata = new /aws1/cl_gsttelemetrysinkdata(
io_kinesisdatastreamdata = new /aws1/cl_gstknsdatastreamdata(
iv_kinesisdatastreamarn = |string|
iv_kinesisrolearn = |string|
)
)
iv_telemetrysinktype = |string|
)
io_trackingconfig = new /aws1/cl_gsttrackingconfig( |string| )
io_uplinkechoconfig = new /aws1/cl_gstuplinkechoconfig(
iv_antennauplinkconfigarn = |string|
iv_enabled = ABAP_TRUE
)
)
iv_configid = |string|
iv_configtype = |string|
iv_name = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_configid( ).
lv_configcapabilitytype = lo_result->get_configtype( ).
lv_configarn = lo_result->get_configarn( ).
ENDIF.