Skip to content

/AWS1/CL_OMX=>LISTREADSETUPLOADPARTS()

About ListReadSetUploadParts

This operation will list all parts in a requested multipart upload for a sequence store.

Method Signature

IMPORTING

Required arguments:

iv_sequencestoreid TYPE /AWS1/OMXSEQUENCESTOREID /AWS1/OMXSEQUENCESTOREID

The Sequence Store ID used for the multipart uploads.

iv_uploadid TYPE /AWS1/OMXUPLOADID /AWS1/OMXUPLOADID

The ID for the initiated multipart upload.

iv_partsource TYPE /AWS1/OMXREADSETPARTSOURCE /AWS1/OMXREADSETPARTSOURCE

The source file for the upload part.

Optional arguments:

iv_maxresults TYPE /AWS1/OMXINTEGER /AWS1/OMXINTEGER

The maximum number of read set upload parts returned in a page.

iv_nexttoken TYPE /AWS1/OMXNEXTTOKEN /AWS1/OMXNEXTTOKEN

Next token returned in the response of a previous ListReadSetUploadPartsRequest call. Used to get the next page of results.

io_filter TYPE REF TO /AWS1/CL_OMXREADSETUPLOADPAR00 /AWS1/CL_OMXREADSETUPLOADPAR00

Attributes used to filter for a specific subset of read set part uploads.

RETURNING

oo_output TYPE REF TO /aws1/cl_omxlstreadsetupload01 /AWS1/CL_OMXLSTREADSETUPLOAD01

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~listreadsetuploadparts(
  io_filter = new /aws1/cl_omxreadsetuploadpar00(
    iv_createdafter = '20150101000000.0000000'
    iv_createdbefore = '20150101000000.0000000'
  )
  iv_maxresults = 123
  iv_nexttoken = |string|
  iv_partsource = |string|
  iv_sequencestoreid = |string|
  iv_uploadid = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_nexttoken = lo_result->get_nexttoken( ).
  LOOP AT lo_result->get_parts( ) into lo_row.
    lo_row_1 = lo_row.
    IF lo_row_1 IS NOT INITIAL.
      lv_integer = lo_row_1->get_partnumber( ).
      lv_long = lo_row_1->get_partsize( ).
      lv_readsetpartsource = lo_row_1->get_partsource( ).
      lv_string = lo_row_1->get_checksum( ).
      lv_timestamp = lo_row_1->get_creationtime( ).
      lv_timestamp = lo_row_1->get_lastupdatedtime( ).
    ENDIF.
  ENDLOOP.
ENDIF.