Skip to content

/AWS1/IF_SUP=>RESOLVECASE()

About ResolveCase

Resolves a support case. This operation takes a caseId and returns the initial and final state of the case.

  • You must have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan to use the Amazon Web Services Support API. If you're in an Amazon Web Services Region that doesn't offer one of these Amazon Web Services Support plans, or if you haven't transitioned to one of these plans, you can use the Amazon Web Services Support API with a Business, Enterprise On-Ramp, or Enterprise Support plan.

  • If you call the Amazon Web Services Support API from an account that doesn't have an Amazon Web Services Business Support+, Amazon Web Services Enterprise Support, or Amazon Web Services Unified Operations plan, the SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.

Method Signature

METHODS /AWS1/IF_SUP~RESOLVECASE
  IMPORTING
    !IV_CASEID TYPE /AWS1/SUPCASEID OPTIONAL
    !IV_DRYRUN TYPE /AWS1/SUPNULLABLEBOOLEANTYPE OPTIONAL
  PREFERRED PARAMETER iv_caseid
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_supresolvecasersp
  RAISING
    /AWS1/CX_SUPCASEIDNOTFOUND
    /AWS1/CX_SUPDRYRUNOPEXCEPTION
    /AWS1/CX_SUPINTERNALSERVERERR
    /AWS1/CX_SUPCLIENTEXC
    /AWS1/CX_SUPSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Optional arguments:

iv_caseid TYPE /AWS1/SUPCASEID /AWS1/SUPCASEID

The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-exen-2025-c4c1d2bf33c5cf47

iv_dryrun TYPE /AWS1/SUPNULLABLEBOOLEANTYPE /AWS1/SUPNULLABLEBOOLEANTYPE

Specifies whether to validate the request without actually resolving the case. When set to true, the request is validated but the case isn't resolved, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.

RETURNING

oo_output TYPE REF TO /aws1/cl_supresolvecasersp /AWS1/CL_SUPRESOLVECASERSP

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->resolvecase(
  iv_caseid = |string|
  iv_dryrun = ABAP_TRUE
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_casestatus = lo_result->get_initialcasestatus( ).
  lv_casestatus = lo_result->get_finalcasestatus( ).
ENDIF.