Example: sapgui_get_ok_codeVerification and Data Retrieval Functions

Retrieves the Command field text.

int sapgui_get_ok_code( const char *outParamName, [args,] LAST );
outParamNameScript parameter to store the retrieved value.
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

The sapgui_get_ok_code data retrieval function gets the text in the Command field. The Command field is the box at the left of the first toolbar of the main window.

Return Values

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


Parameterization is not applicable to this function.