/AWS1/IF_LIC=>DELETELICENSE()¶
About DeleteLicense¶
Deletes the specified license.
Method Signature¶
METHODS /AWS1/IF_LIC~DELETELICENSE
IMPORTING
!IV_LICENSEARN TYPE /AWS1/LICARN OPTIONAL
!IV_SOURCEVERSION TYPE /AWS1/LICSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_licdeletelicensersp
RAISING
/AWS1/CX_LICACCESSDENIEDEX
/AWS1/CX_LICAUTHEXCEPTION
/AWS1/CX_LICCONFLICTEXCEPTION
/AWS1/CX_LICINVPARAMVALUEEX
/AWS1/CX_LICRLIMEXCEEDEDEX
/AWS1/CX_LICREDIRECTEXCEPTION
/AWS1/CX_LICSERVERINTERNALEX
/AWS1/CX_LICVALIDATIONEX
/AWS1/CX_LICCLIENTEXC
/AWS1/CX_LICSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_licensearn TYPE /AWS1/LICARN /AWS1/LICARN¶
Amazon Resource Name (ARN) of the license.
iv_sourceversion TYPE /AWS1/LICSTRING /AWS1/LICSTRING¶
Current version of the license.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_licdeletelicensersp /AWS1/CL_LICDELETELICENSERSP¶
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->deletelicense(
iv_licensearn = |string|
iv_sourceversion = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_licensedeletionstatus = lo_result->get_status( ).
lv_iso8601datetime = lo_result->get_deletiondate( ).
ENDIF.