/AWS1/IF_AAA=>DELETEENTITLEMENT()¶
About DeleteEntitlement¶
Deletes an entitlement from an account access manager application. This operation is idempotent; deleting an entitlement that has already been deleted does not return an error.
Method Signature¶
METHODS /AWS1/IF_AAA~DELETEENTITLEMENT
IMPORTING
!IV_APPLICATIONARN TYPE /AWS1/AAAAPPLICATIONARN OPTIONAL
!IV_ENTITLEMENTID TYPE /AWS1/AAASTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_aaadeleteentresponse
RAISING
/AWS1/CX_AAAACCESSDENIEDEX
/AWS1/CX_AAACONFLICTEXCEPTION
/AWS1/CX_AAAINTERNALSERVEREX
/AWS1/CX_AAARESOURCENOTFOUNDEX
/AWS1/CX_AAATHROTTLINGEX
/AWS1/CX_AAAVLDTNEXCEPTION
/AWS1/CX_AAACLIENTEXC
/AWS1/CX_AAASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_applicationarn TYPE /AWS1/AAAAPPLICATIONARN /AWS1/AAAAPPLICATIONARN¶
Specifies the ARN of the application that the entitlement belongs to.
iv_entitlementid TYPE /AWS1/AAASTRING /AWS1/AAASTRING¶
Specifies the unique identifier of the entitlement to delete.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_aaadeleteentresponse /AWS1/CL_AAADELETEENTRESPONSE¶
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->deleteentitlement(
iv_applicationarn = |string|
iv_entitlementid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.