cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI for Java: How to add user-defined logon

monika_eggers
Active Participant
0 Kudos

One of the people in my group is on a Mac and using SAP GUI for Java. In normal SAP GUI I know how to add a user-defined logon (where you enter the host name, system number etc.). But in SAP GUI for Java this seems to be impossible. It only let's the user select systems from the predefined list, but no user-defined logon, when clicking the "New" button. How can this be achieved?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

In the SAPgui connection properties dialog, go to the Advanced tab and set the "Expert mode" checkbox. This will allow you to enter a saprouter string, like this:

Here "saphost.warwick.ac.uk" is the app server and the system number is "00" (the two digits after the 32).

Steve.

monika_eggers
Active Participant
0 Kudos

So it always has to be 32 (before the two-digit system ID)?

Former Member
0 Kudos

Yes, in a saprouter string you use IP port numbers, not system numbers. So port 3200 is where the SAP system is listening for incoming connections. System number 01 would be on port 3201, etc.

If you need to use logon groups, you'll need something a little different. There's more information about sprouted strings in the SAProuter online help.

Steve.

jorge_velasquez
Contributor
0 Kudos

Hi Steve,

How I can configure Logon Group connection in SAP GUI Java?

Regards.

Answers (1)

Answers (1)

RMW
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Monika,

pressing the Help button at the bottom left corner of the dialog would show you the relevant documentation.

If you follow the link for "Advanced Settings" and "technical connection information", you can see, what can be filled into that field to specify a connection. The interesting part in your case is the conn parameter, where you can follow the link "Connection String", which will bring you to chapter "5.3.1 Connection Strings" of the manual explaining all the magic, like

Simple Connections Strings

In its simplest form, a connection string contains an IP address and a port number. This information is sufficient for SAP GUI for the Java Environment to open a direct TCP connection to a destination, for example, an application server. IP address and port number are marked with the prefixes '/H/' and '/S/' (for service). Note that the port number for an SAP application server is by convention 3200 plus the two-digit SAP system number.

You should not need to know these details when an administrator has prepared the SAP Logon configuration for you providing access to system using system names and messages servers.

Best regards

Rolf-Martin