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

sapgui_create_new_session

Example: sapgui_create_new_session Connection and Session Functions

Creates a new session.

int sapgui_create_new_session( [optionalArgs,]LAST ); 
optionalArgs Optional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_create_new_session creates a new session. It is equivalent to choosing Create Session from the System menu.

Return Values

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

Parameterization

Parameterization is not applicable to this function.