Skip to content

/AWS1/IF_PP2=>DESCRRCSAGENTCNTRYLAUNCHSTAT()

About DescribeRcsAgentCountryLaunchStatus

Retrieves the per-country launch status of an RCS agent, including carrier-level details for each country.

Method Signature

METHODS /AWS1/IF_PP2~DESCRRCSAGENTCNTRYLAUNCHSTAT
  IMPORTING
    !IV_RCSAGENTID TYPE /AWS1/PP2RCSAGENTIDORARN OPTIONAL
    !IT_ISOCOUNTRYCODES TYPE /AWS1/CL_PP2ISOCNTRYCODELIST_W=>TT_ISOCOUNTRYCODELIST OPTIONAL
    !IT_FILTERS TYPE /AWS1/CL_PP2CNTRYLNCHSTATFILT=>TT_CNTRYLAUNCHSTATUSFILTERLIST OPTIONAL
    !IV_MAXRESULTS TYPE /AWS1/PP2MAXRESULTS OPTIONAL
    !IV_NEXTTOKEN TYPE /AWS1/PP2NEXTTOKEN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_pp2dscrcsagcolchsta01
  RAISING
    /AWS1/CX_PP2ACCESSDENIEDEX
    /AWS1/CX_PP2INTERNALSERVEREX
    /AWS1/CX_PP2RESOURCENOTFOUNDEX
    /AWS1/CX_PP2THROTTLINGEX
    /AWS1/CX_PP2VALIDATIONEX
    /AWS1/CX_PP2CLIENTEXC
    /AWS1/CX_PP2SERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_rcsagentid TYPE /AWS1/PP2RCSAGENTIDORARN /AWS1/PP2RCSAGENTIDORARN

The unique identifier of the RCS agent. You can use either the RcsAgentId or RcsAgentArn.

Optional arguments:

it_isocountrycodes TYPE /AWS1/CL_PP2ISOCNTRYCODELIST_W=>TT_ISOCOUNTRYCODELIST TT_ISOCOUNTRYCODELIST

An array of two-character ISO country codes, in ISO 3166-1 alpha-2 format, to filter the results.

it_filters TYPE /AWS1/CL_PP2CNTRYLNCHSTATFILT=>TT_CNTRYLAUNCHSTATUSFILTERLIST TT_CNTRYLAUNCHSTATUSFILTERLIST

An array of CountryLaunchStatusFilter objects to filter the results.

iv_maxresults TYPE /AWS1/PP2MAXRESULTS /AWS1/PP2MAXRESULTS

The maximum number of results to return per each request.

iv_nexttoken TYPE /AWS1/PP2NEXTTOKEN /AWS1/PP2NEXTTOKEN

The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

RETURNING

oo_output TYPE REF TO /aws1/cl_pp2dscrcsagcolchsta01 /AWS1/CL_PP2DSCRCSAGCOLCHSTA01

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->descrrcsagentcntrylaunchstat(
  it_filters = VALUE /aws1/cl_pp2cntrylnchstatfilt=>tt_cntrylaunchstatusfilterlist(
    (
      new /aws1/cl_pp2cntrylnchstatfilt(
        it_values = VALUE /aws1/cl_pp2filtervaluelist_w=>tt_filtervaluelist(
          ( new /aws1/cl_pp2filtervaluelist_w( |string| ) )
        )
        iv_name = |string|
      )
    )
  )
  it_isocountrycodes = VALUE /aws1/cl_pp2isocntrycodelist_w=>tt_isocountrycodelist(
    ( new /aws1/cl_pp2isocntrycodelist_w( |string| ) )
  )
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_rcsagentid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_string = lo_result->get_rcsagentid( ).
  lv_string = lo_result->get_rcsagentarn( ).
  LOOP AT lo_result->get_countrylaunchstatus( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_isocountrycode = lo_row_1->get_isocountrycode( ).
      lv_countrylaunchstatus = lo_row_1->get_status( ).
      lv_string = lo_row_1->get_rcsplatformid( ).
      lv_string = lo_row_1->get_registrationid( ).
      LOOP AT lo_row_1->get_carrierstatus( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_string = lo_row_3->get_carriername( ).
          lv_carrierstatus = lo_row_3->get_status( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
  ENDLOOP.
  lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.