/AWS1/IF_MPB=>UPDATELINKMODULEFLOW()¶
About UpdateLinkModuleFlow¶
Updates a link module flow.
Method Signature¶
METHODS /AWS1/IF_MPB~UPDATELINKMODULEFLOW
IMPORTING
!IV_CLIENTTOKEN TYPE /AWS1/MPBSTRING OPTIONAL
!IV_GATEWAYID TYPE /AWS1/MPBGATEWAYID OPTIONAL
!IV_LINKID TYPE /AWS1/MPBLINKID OPTIONAL
!IT_MODULES TYPE /AWS1/CL_MPBMODULECONF=>TT_MODULECONFIGURATIONLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpbupdlinkmodflowrsp
RAISING
/AWS1/CX_MPBACCESSDENIEDEX
/AWS1/CX_MPBCONFLICTEXCEPTION
/AWS1/CX_MPBINTERNALSERVEREX
/AWS1/CX_MPBRESOURCENOTFOUNDEX
/AWS1/CX_MPBSERVICEQUOTAEXCDEX
/AWS1/CX_MPBTHROTTLINGEX
/AWS1/CX_MPBVALIDATIONEX
/AWS1/CX_MPBCLIENTEXC
/AWS1/CX_MPBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_clienttoken TYPE /AWS1/MPBSTRING /AWS1/MPBSTRING¶
The unique client token.
iv_gatewayid TYPE /AWS1/MPBGATEWAYID /AWS1/MPBGATEWAYID¶
The unique identifier of the gateway.
iv_linkid TYPE /AWS1/MPBLINKID /AWS1/MPBLINKID¶
The unique identifier of the link.
it_modules TYPE /AWS1/CL_MPBMODULECONF=>TT_MODULECONFIGURATIONLIST TT_MODULECONFIGURATIONLIST¶
The configuration of a module.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mpbupdlinkmodflowrsp /AWS1/CL_MPBUPDLINKMODFLOWRSP¶
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->updatelinkmoduleflow(
it_modules = VALUE /aws1/cl_mpbmoduleconf=>tt_moduleconfigurationlist(
(
new /aws1/cl_mpbmoduleconf(
io_moduleparameters = new /aws1/cl_mpbmoduleparameters(
io_nobid = new /aws1/cl_mpbnobidmoduleparams(
iv_passthroughpercentage = '0.1'
iv_reason = |string|
iv_reasoncode = 123
)
io_openrtbattribute = new /aws1/cl_mpbopenrtbattrmodprms(
io_action = new /aws1/cl_mpbaction(
io_headertag = new /aws1/cl_mpbheadertagaction(
iv_name = |string|
iv_value = |string|
)
io_nobid = new /aws1/cl_mpbnobidaction( 123 )
)
it_filterconfiguration = VALUE /aws1/cl_mpbfilter=>tt_filterconfiguration(
(
new /aws1/cl_mpbfilter(
it_criteria = VALUE /aws1/cl_mpbfiltercriterion=>tt_filtercriteria(
(
new /aws1/cl_mpbfiltercriterion(
it_values = VALUE /aws1/cl_mpbvaluelist_w=>tt_valuelist(
( new /aws1/cl_mpbvaluelist_w( |string| ) )
)
iv_path = |string|
)
)
)
)
)
)
iv_filtertype = |string|
iv_holdbackpercentage = '0.1'
)
io_ratelimiter = new /aws1/cl_mpbrlimermoduleparams( '0.1' )
)
it_dependson = VALUE /aws1/cl_mpbflowmodnamelist_w=>tt_flowmodulenamelist(
( new /aws1/cl_mpbflowmodnamelist_w( |string| ) )
)
iv_name = |string|
iv_version = |string|
)
)
)
iv_clienttoken = |string|
iv_gatewayid = |string|
iv_linkid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_gatewayid = lo_result->get_gatewayid( ).
lv_linkid = lo_result->get_linkid( ).
lv_linkstatus = lo_result->get_status( ).
ENDIF.
Update link module flow¶
Update link module flow for link
DATA(lo_result) = lo_client->updatelinkmoduleflow(
it_modules = VALUE /aws1/cl_mpbmoduleconf=>tt_moduleconfigurationlist(
(
new /aws1/cl_mpbmoduleconf(
io_moduleparameters = new /aws1/cl_mpbmoduleparameters(
io_nobid = new /aws1/cl_mpbnobidmoduleparams(
iv_passthroughpercentage = '50.0'
iv_reason = |test|
iv_reasoncode = 1
)
)
it_dependson = VALUE /aws1/cl_mpbflowmodnamelist_w=>tt_flowmodulenamelist(
)
iv_name = |noBidModule|
iv_version = |1dot0dot0|
)
)
)
iv_clienttoken = |randomClientToken|
iv_gatewayid = |rtb-gw-12345678|
iv_linkid = |link-87654321|
).