Open topic with navigation
|Example: sapgui_select_active_session||Connection and Session Functions|
Activates a session.
int sapgui_select_active_session( const char *sessionID);
|sessionID||The number of the session|
sapgui_select_active_session chooses the current working session from the collection of open sessions.
The sessionID of the first session is "ses", the second is "ses", etc. The first session is opened by the initial login sequence. Unless sapgui_create_new_session is called, or a new session is started from the menu, sessionID is generally "ses".
This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.
You can parameterize all string (char type) arguments.