ExampleAPO Grid Functions

Sets the data in the specified APO grid cell.

int sapgui_apogrid_set_cell_data( const char *description, const char *gridID, const char *row, const char *column, const char *newValue, [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).
newValue The value to be entered 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_set_cell_data assigns newValue to the contents of a cell in an APO grid.

Return Values

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


You can parameterize all string (char type) arguments.