ExampleAPO Grid Functions

Gets the data from a specific APO grid cell.

int sapgui_apogrid_get_cell_data( const char *description, const char *gridID, const char *row, const char *column, const char *outParamName, [args,]  LAST ) ;
description User entered text to aid in understanding script
gridID Object ID string
row Grid row number. The first row is numbered zero (0).
column Grid column identifier. The first column is numbered zero (0).
outParamName The name of the parameter in which to store the data in the cell.
args Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_apogrid_get_cell_data assigns the data in a cell of an APO grid to parameter outParamName. Data is always saved as a string.

Return Values

This function returns -1 on success or 0 on failure.


You can parameterize all string (char type) arguments.