Skip to content

/AWS1/CL_SGM=>LISTSPACES()

About ListSpaces

Lists spaces.

Method Signature

IMPORTING

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/SGMNEXTTOKEN /AWS1/SGMNEXTTOKEN

If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.

IV_MAXRESULTS TYPE /AWS1/SGMMAXRESULTS /AWS1/SGMMAXRESULTS

This parameter defines the maximum number of results that can be return in a single response. The MaxResults parameter is an upper bound, not a target. If there are more results available than the value specified, a NextToken is provided in the response. The NextToken indicates that the user should get the next set of results by providing this token as a part of a subsequent call. The default value for MaxResults is 10.

IV_SORTORDER TYPE /AWS1/SGMSORTORDER /AWS1/SGMSORTORDER

The sort order for the results. The default is Ascending.

IV_SORTBY TYPE /AWS1/SGMSPACESORTKEY /AWS1/SGMSPACESORTKEY

The parameter by which to sort the results. The default is CreationTime.

IV_DOMAINIDEQUALS TYPE /AWS1/SGMDOMAINID /AWS1/SGMDOMAINID

A parameter to search for the domain ID.

IV_SPACENAMECONTAINS TYPE /AWS1/SGMSPACENAME /AWS1/SGMSPACENAME

A parameter by which to filter the results.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMLISTSPACESRESPONSE /AWS1/CL_SGMLISTSPACESRESPONSE