/AWS1/IF_MPB=>DELETELINK()¶
About DeleteLink¶
Deletes a link between RTB applications.
Permanently removes the connection between RTB applications. This action cannot be undone.
Method Signature¶
METHODS /AWS1/IF_MPB~DELETELINK
IMPORTING
!IV_GATEWAYID TYPE /AWS1/MPBGATEWAYID OPTIONAL
!IV_LINKID TYPE /AWS1/MPBLINKID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpbdeletelinkresponse
RAISING
/AWS1/CX_MPBACCESSDENIEDEX
/AWS1/CX_MPBCONFLICTEXCEPTION
/AWS1/CX_MPBINTERNALSERVEREX
/AWS1/CX_MPBRESOURCENOTFOUNDEX
/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_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.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mpbdeletelinkresponse /AWS1/CL_MPBDELETELINKRESPONSE¶
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->deletelink(
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_linkid = lo_result->get_linkid( ).
lv_linkstatus = lo_result->get_status( ).
ENDIF.
Delete a link¶
Deletes an existing link
DATA(lo_result) = lo_client->deletelink(
iv_gatewayid = |rtb-gw-12345678|
iv_linkid = |link-87654321|
).