Liquid UI - WS Reference Library

System Variable: _sessioncount


Prerequisites


Runs On

  SAP GUI Android iOS WM Web
Direct Connect          
Liquid UI Server Connect        

Purpose

As of WS Version 1.2.296 and Server Version 3.5.523, a new system variable has been added; _sessioncount. This system variable returns how many sessions/connections are open in SAP. The number will increment when a new session or connection is opened, regardless of the username or system ID.

User Interface

Log in to SAP and note the title of the Easy Access Screen.

Open a new session or connection and note the title in either screen.


Note: If checking the original session, refresh the screen to see the updated title.

 

Liquid UI Script

 // SAPLSMTR_NAVIGATION.E0100.sjs

title("Session Count:"+_sessioncount);