/AWS1/IF_MPC=>CANCELCHANGESET()¶
About CancelChangeSet¶
Used to cancel an open change request. Must be sent before the status of the request
changes to APPLYING, the final stage of completing your change request. You
can describe a change during the 60-day request history retention period for API
calls.
Method Signature¶
METHODS /AWS1/IF_MPC~CANCELCHANGESET
IMPORTING
!IV_CATALOG TYPE /AWS1/MPCCATALOG OPTIONAL
!IV_CHANGESETID TYPE /AWS1/MPCRESOURCEID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_mpccancelchangesetrsp
RAISING
/AWS1/CX_MPCACCESSDENIEDEX
/AWS1/CX_MPCINTERNALSERVICEEX
/AWS1/CX_MPCRESOURCEINUSEEX
/AWS1/CX_MPCRESOURCENOTFOUNDEX
/AWS1/CX_MPCTHROTTLINGEX
/AWS1/CX_MPCVALIDATIONEX
/AWS1/CX_MPCCLIENTEXC
/AWS1/CX_MPCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_catalog TYPE /AWS1/MPCCATALOG /AWS1/MPCCATALOG¶
Required. The catalog related to the request. Fixed value:
AWSMarketplace.
iv_changesetid TYPE /AWS1/MPCRESOURCEID /AWS1/MPCRESOURCEID¶
Required. The unique identifier of the
StartChangeSetrequest that you want to cancel.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_mpccancelchangesetrsp /AWS1/CL_MPCCANCELCHANGESETRSP¶
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->cancelchangeset(
iv_catalog = |string|
iv_changesetid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceid = lo_result->get_changesetid( ).
lv_arn = lo_result->get_changesetarn( ).
ENDIF.