Show TOC

Working with SAP GUI SessionsLocate this document in the navigation structure

In addition to the navigation from Index or New Tab pages and the navigation panel, NWBC provides the option to seamlessly open SAP GUI sessions.

Note The availability of the SAP GUI command field depends on the setting Enable SAP GUI OK Code. This setting can be enabled or disabled by an administrator for all users, or it can be set in the user-specific settings.
New SAP GUI Session
New SAP GUI sessions are always opened in NWBC. To open a session, you have the following options:
  • Enter /o or /t as a prefix to a transaction code in the quick launch.

  • Enter /o as a prefix to a transaction code in the SAP GUI command field.

  • Choose the icon with quick info text Creates New Session in the standard toolbar.

  • Choose Start of the navigation path System Next navigation step Create Session End of the navigation path in the SAP GUI dropdown menu.

  • Use dynamic links in transactions.

By default, a session opens in a new tab. To change this behavior, choose Start of the navigation path Settings Next navigation step Personalize Next navigation step Open Session in New Window End of the navigation path.

Displaying a List of All Sessions

To display a list of all SAP GUI sessions for a system, enter /o in the SAP GUI command field and confirm. All your sessions will be displayed in a dialog box. You can also create and end sessions from here.

Closing SAP GUI Sessions

You can close a SAP GUI session as follows:

  • Close the tab.

  • Choose Start of the navigation path System Next navigation step End Sessions End of the navigation path.

  • Enter /i in the SAP GUI command field of the session you want to close.

  • To close a specific SAP GUI session enter /i followed by the number of the session you want to close in the command field of any of the sessions. For example, enter /i3 to close the third session.

You can close all SAP GUI sessions belonging to the same system and client at once as follows:

  • Enter /nend in the SAP GUI command field. /nend prompts you to confirm that you want to close all the sessions.

  • Enter /nex in the SAP GUI command field. /nex closes all the sessions without prompting.

  • Choose Start of the navigation path System Next navigation step Log Off End of the navigation path.

Note

The above actions close the SAP GUI sessions. The WebDynpro ABAP applications or SAPUI5 apps, for example, remain open.

To close all sessions, proceed as follows:

  • In the NWBC menu, choose Start of the navigation path Window Next navigation step Close All Windows and Log Off End of the navigation path. The system closes all sessions that are opened in the NWBC connection, even if they are distributed across several NWBC windows.

  • In the upper right corner of the NWBC window, choose Windows Close. The system closes all sessions in the current window.