Skip to content

/AWS1/CL_OMX=>LISTSEQUENCESTORES()

About ListSequenceStores

Retrieves a list of sequence stores.

Method Signature

IMPORTING

Optional arguments:

iv_maxresults TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

The maximum number of stores to return in one page of results.

iv_nexttoken TYPE /AWS1/OMXNEXTTOKEN /AWS1/OMXNEXTTOKEN

Specify the pagination token from a previous request to retrieve the next page of results.

io_filter TYPE REF TO /AWS1/CL_OMXSEQUENCESTOREFILT /AWS1/CL_OMXSEQUENCESTOREFILT

A filter to apply to the list.

RETURNING

oo_output TYPE REF TO /aws1/cl_omxlstsequencestore01 /AWS1/CL_OMXLSTSEQUENCESTORE01

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->/aws1/if_omx~listsequencestores(
  io_filter = new /aws1/cl_omxsequencestorefilt(
    iv_createdafter = '20150101000000.0000000'
    iv_createdbefore = '20150101000000.0000000'
    iv_name = |string|
    iv_status = |string|
    iv_updatedafter = '20150101000000.0000000'
    iv_updatedbefore = '20150101000000.0000000'
  )
  iv_maxresults = 123
  iv_nexttoken = |string|
).

This is an example of reading all possible response values

lv_nexttoken = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_sequencestores( ) into lo_row.
  lv_sequencestorearn = lo_row_1->get_arn( ).
  lv_sequencestoreid = lo_row_1->get_id( ).
  lv_sequencestorename = lo_row_1->get_name( ).
  lv_sequencestoredescriptio = lo_row_1->get_description( ).
  lv_encryptiontype = lo_sseconfig->get_type( ).
  lv_string = lo_sseconfig->get_keyarn( ).
  lv_timestamp = lo_row_1->get_creationtime( ).
  lv_fallbacklocation = lo_row_1->get_fallbacklocation( ).
  lv_etagalgorithmfamily = lo_row_1->get_etagalgorithmfamily( ).
  lv_sequencestorestatus = lo_row_1->get_status( ).
  lv_sequencestorestatusmess = lo_row_1->get_statusmessage( ).
  lv_timestamp = lo_row_1->get_updatetime( ).
ENDLOOP.