Example: sapgui_grid_open_context_menuGrid Functions

Right clicks in a grid to open a context menu.

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

sapgui_grid_open_context_menu emulates a user right clicking in a grid to open a context menu.

When recording, sapgui_grid_open_context_menu is recorded before sapgui_grid_select_context_menu.

Return Values

This function returns True (-1) or False (0).


You can parameterize all string (char type) arguments.