Skip to content

/AWS1/IF_IOS=>DESCRIBEAPPLICATION()

About DescribeApplication

Retrieves Application details based on the ID

Method Signature

METHODS /AWS1/IF_IOS~DESCRIBEAPPLICATION
  IMPORTING
    !IV_WORKSPACENAME TYPE /AWS1/IOSWORKSPACENAME OPTIONAL
    !IV_ID TYPE /AWS1/IOSAPPLICATIONID OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iosdescrappresponse
  RAISING
    /AWS1/CX_IOSACCESSDENIEDEX
    /AWS1/CX_IOSINTERNALFAILUREEX
    /AWS1/CX_IOSINVALIDREQUESTEX
    /AWS1/CX_IOSRESOURCENOTFOUNDEX
    /AWS1/CX_IOSTHROTTLINGEX
    /AWS1/CX_IOSCLIENTEXC
    /AWS1/CX_IOSSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_workspacename TYPE /AWS1/IOSWORKSPACENAME /AWS1/IOSWORKSPACENAME

Name of the workspace to associate with the underlying Application

iv_id TYPE /AWS1/IOSAPPLICATIONID /AWS1/IOSAPPLICATIONID

ID of the Application

RETURNING

oo_output TYPE REF TO /aws1/cl_iosdescrappresponse /AWS1/CL_IOSDESCRAPPRESPONSE

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->describeapplication(
  iv_id = |string|
  iv_workspacename = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_arn = lo_result->get_arn( ).
  lv_timestamp = lo_result->get_createdat( ).
  lv_dnssubdomain = lo_result->get_dnssubdomain( ).
  lv_applicationdescription = lo_result->get_description( ).
  lv_applicationid = lo_result->get_id( ).
  lv_arn = lo_result->get_idcapplicationarn( ).
  lv_applicationname = lo_result->get_name( ).
  lv_applicationstatus = lo_result->get_status( ).
  lv_timestamp = lo_result->get_updatedat( ).
  lv_workspacename = lo_result->get_workspacename( ).
ENDIF.