Example: sapgui_table_reorderTable Functions

Reorders the columns in a table.

int sapgui_table_reorder( const char *description, const char *tableID, const char *order, [args,] LAST );
description User entered text to aid in understanding script
TableIDObject ID Strings
order The new order
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_table_reorder reorders the columns in a table. The order argument is the old positions of the columns in the new order. The column numbers are separated with spaces. For example, "0 1 3 2" will move the fourth column (column three) to the third position.

Return Values

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


You can parameterize all string (char type) arguments.