Skip to content

/AWS1/CL_HNC=>GETSCREENDATA()

About GetScreenData

The GetScreenData API allows retrieval of data from a screen in a Honeycode app. The API allows setting local variables in the screen to filter, sort or otherwise affect what will be displayed on the screen.

Method Signature

IMPORTING

Required arguments:

IV_WORKBOOKID TYPE /AWS1/HNCRESOURCEID /AWS1/HNCRESOURCEID

The ID of the workbook that contains the screen.

IV_APPID TYPE /AWS1/HNCRESOURCEID /AWS1/HNCRESOURCEID

The ID of the app that contains the screen.

IV_SCREENID TYPE /AWS1/HNCRESOURCEID /AWS1/HNCRESOURCEID

The ID of the screen.

Optional arguments:

IT_VARIABLES TYPE /AWS1/CL_HNCVARIABLEVALUE=>TT_VARIABLEVALUEMAP TT_VARIABLEVALUEMAP

Variables are optional and are needed only if the screen requires them to render correctly. Variables are specified as a map where the key is the name of the variable as defined on the screen. The value is an object which currently has only one property, rawValue, which holds the value of the variable to be passed to the screen.

IV_MAXRESULTS TYPE /AWS1/HNCMAXRESULTS /AWS1/HNCMAXRESULTS

The number of results to be returned on a single page. Specify a number between 1 and 100. The maximum value is 100.

This parameter is optional. If you don't specify this parameter, the default page size is 100.

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_HNCGETSCREENDATARSLT /AWS1/CL_HNCGETSCREENDATARSLT