Skip to content

/AWS1/IF_OMX=>COMPLETEMPREADSETUPLOAD()

About CompleteMultipartReadSetUpload

Completes a multipart read set upload into a sequence store after you have initiated the upload process with CreateMultipartReadSetUpload and uploaded all read set parts using UploadReadSetPart. You must specify the parts you uploaded using the parts parameter. If the operation is successful, it returns the read set ID(s) of the uploaded read set(s).

For more information, see Direct upload to a sequence store in the Amazon Web Services HealthOmics User Guide.

Method Signature

IMPORTING

Required arguments:

iv_sequencestoreid TYPE /AWS1/OMXSEQUENCESTOREID /AWS1/OMXSEQUENCESTOREID

The sequence store ID for the store involved in the multipart upload.

iv_uploadid TYPE /AWS1/OMXUPLOADID /AWS1/OMXUPLOADID

The ID for the multipart upload.

it_parts TYPE /AWS1/CL_OMXCMPREADSETUPLOAD00=>TT_COMPLREADSETUPLOADPARTLIST TT_COMPLREADSETUPLOADPARTLIST

The individual uploads or parts of a multipart upload.

RETURNING

oo_output TYPE REF TO /aws1/cl_omxcmpmpreadsetuplo01 /AWS1/CL_OMXCMPMPREADSETUPLO01

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~completempreadsetupload(
  it_parts = VALUE /aws1/cl_omxcmpreadsetupload00=>tt_complreadsetuploadpartlist(
    (
      new /aws1/cl_omxcmpreadsetupload00(
        iv_checksum = |string|
        iv_partnumber = 123
        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_readsetid = lo_result->get_readsetid( ).
ENDIF.