Skip to content

/AWS1/CL_HNC=>LISTTABLEROWS()

About ListTableRows

The ListTableRows API allows you to retrieve a list of all the rows in a table in a workbook.

Method Signature

IMPORTING

Required arguments:

IV_WORKBOOKID TYPE /AWS1/HNCRESOURCEID /AWS1/HNCRESOURCEID

The ID of the workbook that contains the table whose rows are being retrieved.

If a workbook with the specified id could not be found, this API throws ResourceNotFoundException.

IV_TABLEID TYPE /AWS1/HNCRESOURCEID /AWS1/HNCRESOURCEID

The ID of the table whose rows are being retrieved.

If a table with the specified id could not be found, this API throws ResourceNotFoundException.

Optional arguments:

IT_ROWIDS TYPE /AWS1/CL_HNCROWIDLIST_W=>TT_ROWIDLIST TT_ROWIDLIST

This parameter is optional. If one or more row ids are specified in this list, then only the specified row ids are returned in the result. If no row ids are specified here, then all the rows in the table are returned.

IV_MAXRESULTS TYPE /AWS1/HNCMAXRESULTS /AWS1/HNCMAXRESULTS

The maximum number of rows to return in each page of the results.

IV_NEXTTOKEN TYPE /AWS1/HNCPAGINATIONTOKEN /AWS1/HNCPAGINATIONTOKEN

This parameter is optional. If a nextToken is not specified, the API returns the first page of data.

Pagination tokens expire after 1 hour. If you use a token that was returned more than an hour back, the API will throw ValidationException.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_HNCLISTTABLEROWSRSLT /AWS1/CL_HNCLISTTABLEROWSRSLT