SAP GUI Functions (SAPGUI) > Alphabetical List of Functions > sapgui_table_set_text

sapgui_table_set_text

Example: sapgui_table_set_text Table Functions

Sets text inside a table cell.

int sapgui_table_set_text( const char *description, const char *tableID, const char *row, const char *column, const char *text, [args,] LAST );
description User entered text to aid in understanding script
tableID Object ID Strings
row The first data row is numbered zero (0). If there is a header row it is numbered (-1).
column Column number. The first column is numbered zero (0).
text The text 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_table_set_text enters the string text in the cell specified by row and column.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.

Parameterization

You can parameterize all string (char type) arguments.