Skip to content

/AWS1/CL_SQS=>DELETEMESSAGEBATCH()

About DeleteMessageBatch

Deletes up to ten messages from the specified queue. This is a batch version of DeleteMessage. The result of the action on each message is reported individually in the response.

Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

Method Signature

IMPORTING

Required arguments:

IV_QUEUEURL TYPE /AWS1/SQSSTRING /AWS1/SQSSTRING

The URL of the Amazon SQS queue from which messages are deleted.

Queue URLs and names are case-sensitive.

IT_ENTRIES TYPE /AWS1/CL_SQSDELMSGBTCREQENTRY=>TT_DELETEMSGBATCHREQENTRYLIST TT_DELETEMSGBATCHREQENTRYLIST

Lists the receipt handles for the messages to be deleted.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SQSDELETEMSGBATCHRSLT /AWS1/CL_SQSDELETEMSGBATCHRSLT