cancel
Showing results for 
Search instead for 
Did you mean: 

Need SAPGUI configuration help

Former Member
0 Kudos

I'm using my MacBook in an all-Windows corporate environment, so I need help I can't get from our IT guys. SAPGUI 7.00rev1 is running fine on the MacBook, but I can't do anything because I have almost no clue how to get working connection and settings files. Can anyone supply examples? I've read the supplied documentation several times and either I'm an idiot or it doesn't really specify how to create the files from scratch.

I can run the corporate-issue SAP logon pad in Parallels and I have found my saplogon.ini file (no MSG or ROUTE files). I suspect what I need is in that file, but I cannot figure out how to put the information into the right format for the Java client.

Any good ideas?

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

This is what that had worked for me:

My Server details for ECC7

Description:  ECC7
Application Server: 182.182.1020
SystemId: ECC
Instance No: 88


To configure it for Web Based Login:


1. Create New Connection

2. Enter Description.

3. Go to Advanced Tab

4. Check the "Expert Mode"


Copy the below String.


conn=/H/182.182.1020/S/3278


Decoding the Connection string.


/H -Web Base Login.

/Application Server: 182.182.1020 ( get the ip Address)

/S

/32 followed by Instance No: Last 2 Digits of the instance # (88) in this example. Combining. 32 and Instance 88, it is 3288





former_member696936
Discoverer
0 Kudos

Install the SAPGUI for JAVA attached then use the Advanced TAB to set parameters.

The only thing you need to know is the IP address of the SAP Server and which client and instance.

Enter in the following

conn=/H/192.168.1.195/S/3200&clnt=110

/H/IP ADDRESS of the application server

/S/3200 if this is the first instance

=110 for Client

The IP address will be different per server

If you run two clients on one system:

conn=/H/192.168.1.195/S/3201&clnt=110

/H/IP ADDRESS of the application server

/S/3201 if this is the second instance

=110 for Client

If you want to experiement Uncheck the Use expert configuration and set parameters in the Security and Login tabs then come back to Advanced and check mark the Use expert configuration and save.

This has been tested on MAC, Linux and Windows using the Java SAPGUI

Former Member
0 Kudos

Around a year ago, I submitted a Development Request asking SAP to use a common file for the configuration information for the WinGui and the JavaGui.

Unfortunately, SAP hasn't responded to that Development Request.

/David Rosenberg

Former Member
0 Kudos

Hi all,

I've played today a little bit and wrote some quick and dirty conversion perl script. Try it and feel free to improve !


#!/usr/bin/perl

open(INPUT,"saplogon.ini") or die "saplogon.ini not found in current directory !\n";
  @inifile=<INPUT>;
close(INPUT);

# Lets find all router strings
$rout=0;
foreach $line (@inifile)
  {

  if (($rout == 1) && ($line =~ m/Item\d*\=/))
    {
    @sline=split('=',$line);
    $index=substr(@sline[0],4,4);
    $rstring[$index]=$sline[1];
    }
  else
    {$rout = 0}

  if(substr($line,0,8) eq '[Router]')
    {
    $rout=1;
    }

  }

# Now we should do the same with servers
$serv = 0;
foreach $line (@inifile)
  {

  if (($serv == 1) && ($line =~ m/Item\d*\=/))
    {
    @sline=split('=',$line);
    $index=substr(@sline[0],4,4);
    $sstring[$index]=$sline[1];
    }
  else
    {$serv = 0}

  if(substr($line,0,8) eq '[Server]')
    {
    $serv=1;
    }
  }

# Do not forget system numbers...
$snum = 0;
foreach $line (@inifile)
  {

  if (($snum == 1) && ($line =~ m/Item\d*\=/))
    {
    @sline=split('=',$line);
    $index=substr(@sline[0],4,4);
    $nstring[$index]=$sline[1];
    }
  else
    {$snum = 0}

  if(substr($line,0,10) eq '[Database]')
    {
    $snum=1;
    }
  }


# Last, but not least - description
$desc = 0;
foreach $line (@inifile)
  {

  if (($desc == 1) && ($line =~ m/Item\d*\=/))
    {
    @sline=split('=',$line);
    $index=substr(@sline[0],4,4);
    $dstring[$index]=@sline[1];
    }
  else
    {$desc = 0}

  if(substr($line,0,13) eq '[Description]')
    {
    $desc=1;
    }
  }

# Now write all
$index=1;
while ($index <= $#sstring)
  {
  $cstring= $dstring[$index].":conn=".$rstring[$index]."/H/".$sstring[$index]."/S/32".$nstring[$index];
  $cstring =~ s/[\n]|[\r]//g;
  print $cstring."\n";
  $index++;
  }

Former Member
0 Kudos

Hello Galambos.

I tried to execute your script but got the error below:

  1. sh GUIConversion : No such file or directoryusr/bin/perl: command not found 2: GUIConversion: line 3: syntax error near unexpected token `INPUT,"saplogon.ini"''UIConversion: line 3: open(INPUT,"saplogon.ini") or die "saplogon.ini not found in current directory !\n";

Tks.

jose_hernandez5
Explorer
0 Kudos

Galambos;

Thank you your perl script worked perfectly!

Jose Hernandez

Former Member
0 Kudos

You need Perl in /usr/bin, or execute the script in this way:

perl -x ./conversion.pl

Where conversion.pl is the stored script.

Former Member
0 Kudos

Hi Galambos Martin,

Thanks a lot for your script!

Former Member
0 Kudos

Hi

Currently i'm running SAP GUI on macbook under windows (VMware) and trying to install SAP GUI Java directly on leopard

SAPGUI for Java 7.10 rev 4

(Version ID 071000040400)

Tue May 20 13:21:02 MEST 2008

uw1059, 710_REL, 985050

Java VM: Apple Inc. Version 1.5.0_13

OS: Mac OS X(i386) Version 10.5.4

I use the perl conversion, it did generate the connection string.

But unfortunately, when i try to use that connection string, this error message show up:

Unable to create connection document for protocol 'ni'.

java.lang.NullPointerException

Any advise for this error?

Thanks a lot ....

Note: The Connections string "kedoya\:conn=/H/10.33.1.6/S/3200"

Edited by: Roi Hidayat on Aug 7, 2008 3:08 PM

Former Member
0 Kudos

There is probably a problem with the backslash before ":", therefore is the sign ":" interpreted wrong.

Try this connect string:

kedoya:conn=/H/10.33.1.6/S/3200

RMW
Advisor
Advisor
0 Kudos

Looks like has been handled and solved in a similar [thread|; in SAP GUI Forum in the meantime.

Former Member
0 Kudos

hello all

very nice to find items like this. i managed to save the perl script in a .pl file conversion.pl and saved this in the same folder as sap 7 java has the settings

file stored: /Users/administrator/Library/Preferences/SAP/

when i run the conversion.pl script with terminal app using perl -x conversion.pl it only is showing me the content of the saplogon.ini

should it create a mac sap version of the windows saplogon.ini? what am i doing wrong here ...

Edited by: yosha13 on Feb 17, 2010 10:20 AM

hello all, i found out that the output from the conversion in my terminal window just need to be copied into the connection file in

/Users/administrator/Library/Preferences/SAP/connections ||edit with textedit|| and save. now it seems that we use load balancing

and this is in control of a service file [in windows]. So the "Prod [XD] - PE:conn=/H/XD/S/3203" does not use an ip address

but only "/XD/" instead. i replaced the /XD/ with the ip address but still will not work. All the others that use an ip address are fine.

Edited by: yosha13 on Feb 17, 2010 2:45 PM

Former Member
0 Kudos

I am having the same problem as well. Here is my saplogon.ini file:

[MSWinPos]

NormX=627

NormY=137

[Configuration]

SessManNewKey=11

[Router]

Item1=/H/10.77.1.23/S/3299/H/

Item2=/H/10.77.1.23/S/3299/H/

Item3=/H/10.77.1.23/S/3299/H/

Item4=/H/10.77.1.23/S/3299/H/

Item5=/H/10.77.1.23/S/3299/H/

Item6=/H/10.77.1.23/S/3299/H/

Item7=/H/10.77.1.23/S/3299/H/

Item8=/H/10.77.1.23/S/3299/H/

Item9=/H/10.77.1.23/S/3299/H/

[Router2]

Item1=/H/10.77.1.23/S/3299/H/

Item2=/H/10.77.1.23/S/3299/H/

Item3=/H/10.77.1.23/S/3299/H/

Item4=/H/10.77.1.23/S/3299/H/

Item5=

Item6=/H/10.77.1.23/S/3299/H/

Item7=

Item8=/H/10.77.1.23/S/3299/H/

Item9=/H/10.77.1.23/S/3299/H/

[RouterChoice]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

[Server]

Item1=Manufactura: MOB/SSD

Item2=Sales/Distribution

Item3=Sales/Distribution

Item4=System Test

Item5=ppan08.pok.ibm.com

Item6=System Test

Item7=esgn37.pok.ibm.com

Item8=System Test

Item9=Sales/Distribution

[Database]

Item1=00

Item2=00

Item3=02

Item4=00

Item5=00

Item6=01

Item7=00

Item8=00

Item9=00

[System]

Item1=3

Item2=3

Item3=3

Item4=3

Item5=3

Item6=3

Item7=3

Item8=3

Item9=3

[Description]

Item1=CP0 [Manufactura: MOB/SSD]

Item2=CP2 [Sales/Distribution]

Item3=CP6 [Sales/Distribution]

Item4=CR2 [System Test]

Item5=CR3

Item6=CR3 [System Test]

Item7=CR6

Item8=CR6 [System Test]

Item9=Lenovo - CP6

[Address]

Item1=9.56.233.252

Item2=9.56.233.204

Item3=9.56.233.152

Item4=9.56.234.205

Item5=

Item6=9.56.233.171

Item7=

Item8=9.56.234.210

Item9=9.56.233.152

[MSSysName]

Item1=CP0

Item2=CP2

Item3=CP6

Item4=CR2

Item5=

Item6=CR3

Item7=

Item8=CR6

Item9=CP6

[MSSrvName]

Item1=stkn03.pok.ibm.com

Item2=esgn01.pok.ibm.com

Item3=recn33.pok.ibm.com

Item4=esgn51.pok.ibm.com

Item5=

Item6=don19.pok.ibm.com

Item7=

Item8=esgn51.pok.ibm.com

Item9=recn33.pok.ibm.com

[MSSrvPort]

Item1=sapmsCP0

Item2=sapmsCP2

Item3=sapmsCP6

Item4=sapmsCR2

Item5=

Item6=sapmsCR3

Item7=

Item8=sapmsCR6

Item9=sapmsCP6

[SessManKey]

Item1=10

Item2=3

Item3=7

Item4=2

Item5=5

Item6=8

Item7=6

Item8=9

Item9=4

[SncName]

Item1=

Item2=

Item3=

Item4=

Item5=

Item6=

Item7=

Item8=

Item9=

[SncChoice]

Item1=-1

Item2=-1

Item3=-1

Item4=-1

Item5=-1

Item6=-1

Item7=-1

Item8=-1

Item9=-1

[Codepage]

Item1=1100

Item2=1100

Item3=1100

Item4=1100

Item5=1100

Item6=1100

Item7=1100

Item8=1100

Item9=1100

[CodepageIndex]

Item1=-1

Item2=-1

Item3=-1

Item4=-1

Item5=-1

Item6=-1

Item7=-1

Item8=-1

Item9=-1

[Origin]

Item1=MS_SEL_GROUPS

Item2=MS_SEL_GROUPS

Item3=MS_SEL_GROUPS

Item4=MS_SEL_GROUPS

Item5=USEREDIT

Item6=MS_SEL_GROUPS

Item7=USEREDIT

Item8=MS_SEL_GROUPS

Item9=MS_SEL_GROUPS

[LowSpeedConnection]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

[Utf8Off]

Item1=0

Item2=0

Item3=0

Item4=0

Item5=0

Item6=0

Item7=0

Item8=0

Item9=0

[MSLast]

MSLast=CP0

Here is my SAPMSG.ini:

[Message Server]

CP2=esgn01.pok.ibm.com

CR2=esgn51.pok.ibm.com

CP6=recn33.pok.ibm.com

And here is my router file:

[Router]

pok=/H/129.42.211.12/S/3299

What the heck are the partner config translation for Linux?

Thanks

RMW
Advisor
Advisor
0 Kudos

Hello,

unfortunately there is no conversion tool (yet).

For now, you should have a look at helpful.

Best regards

Rolf-Martin

Former Member
0 Kudos

Sounds familiar. I ended up with just configuring systems manually. For that you should check the documentation for the Java GUI, especially the section "9. Technical background / Connection strings".

E.g. if you saplogon.ini contains something like:

[Server]
Item1=PUBLIC
[MSSrvName]
Item1=my.server.com
[MSSrvPort]
Item1=sapms01

you can use:

conn=/M/my.server.com/S/sapms01/G/PUBLIC

in the "expert" configuration server.