/AWS1/IF_GST=>CREATECONFIG()¶
About CreateConfig¶
Creates a Config with the specified configData parameters.
Only one type of configData can be specified.
Method Signature¶
METHODS /AWS1/IF_GST~CREATECONFIG
IMPORTING
!IV_NAME TYPE /AWS1/GSTSAFENAME OPTIONAL
!IO_CONFIGDATA TYPE REF TO /AWS1/CL_GSTCONFIGTYPEDATA OPTIONAL
!IT_TAGS TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_gstconfigidresponse
RAISING
/AWS1/CX_GSTDEPENDENCYEX
/AWS1/CX_GSTINVALIDPARAMETEREX
/AWS1/CX_GSTRESRCLIMITEXCDEX
/AWS1/CX_GSTRESOURCENOTFOUNDEX
/AWS1/CX_GSTCLIENTEXC
/AWS1/CX_GSTSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/GSTSAFENAME /AWS1/GSTSAFENAME¶
Name of a
Config.
io_configdata TYPE REF TO /AWS1/CL_GSTCONFIGTYPEDATA /AWS1/CL_GSTCONFIGTYPEDATA¶
Parameters of a
Config.
Optional arguments:¶
it_tags TYPE /AWS1/CL_GSTTAGSMAP_W=>TT_TAGSMAP TT_TAGSMAP¶
Tags assigned to a
Config.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_gstconfigidresponse /AWS1/CL_GSTCONFIGIDRESPONSE¶
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->createconfig(
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_trackingconfig = new /aws1/cl_gsttrackingconfig( |string| )
io_uplinkechoconfig = new /aws1/cl_gstuplinkechoconfig(
iv_antennauplinkconfigarn = |string|
iv_enabled = ABAP_TRUE
)
)
it_tags = VALUE /aws1/cl_gsttagsmap_w=>tt_tagsmap(
(
VALUE /aws1/cl_gsttagsmap_w=>ts_tagsmap_maprow(
value = new /aws1/cl_gsttagsmap_w( |string| )
key = |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.