Skip to content

/AWS1/CL_DSY=>LISTTASKS()

About ListTasks

Returns a list of the DataSync tasks you created.

Method Signature

IMPORTING

Optional arguments:

IV_MAXRESULTS TYPE /AWS1/DSYMAXRESULTS /AWS1/DSYMAXRESULTS

The maximum number of tasks to return.

IV_NEXTTOKEN TYPE /AWS1/DSYNEXTTOKEN /AWS1/DSYNEXTTOKEN

An opaque string that indicates the position at which to begin the next list of tasks.

IT_FILTERS TYPE /AWS1/CL_DSYTASKFILTER=>TT_TASKFILTERS TT_TASKFILTERS

You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a specific source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DSYLISTTASKSRESPONSE /AWS1/CL_DSYLISTTASKSRESPONSE