Skip to content

/AWS1/CL_TSQ=>CANCELQUERY()

About CancelQuery

Cancels a query that has been issued. Cancellation is provided only if the query has not completed running before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent cancellation requests will return a CancellationMessage, indicating that the query has already been canceled. See code sample for details.

Method Signature

IMPORTING

Required arguments:

IV_QUERYID TYPE /AWS1/TSQQUERYID /AWS1/TSQQUERYID

The ID of the query that needs to be cancelled. QueryID is returned as part of the query result.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TSQCANCELQUERYRSP /AWS1/CL_TSQCANCELQUERYRSP