SAP GUI for JAVA installation and configuration
Recently, I was doing some RnD on SAP GUI for JAVA, and thought to share some knowledge and experience on same.
As we know Microsoft Windows has dominated over the past decades in the field of desktop OS. We use this OS in our daily work in offices or in home. However Windows in not only the desktop OS on market, but also there are other OSes available such as Mac OS X, Ubuntu, Red Hat, Fedora etc. All these OSes are of Linux variants.
By looking into this SAP has developed SAP GUI for JAVA specially meant for Linux OS. However the best thing is, one can install in Windows OS also.
Before using SAP GUI for JAVA let me remind you that, there are few drawbacks or limitations assiciated with it. Such as below. For more details you can refer to SAP note 454939
- Office Integration with regard to embedding Office documents inside the SAP GUI screen or controling Office programs by automation is not supported (note 509690). However downloading and opening documents is possible, opening of course depends on the installed Office products on the client.
- Search help control is not supported (the old style F4 help window is used instead, offering the same functionality).
- Graphical Screen Painter is not available. The alphanumeric layout editor is supported.
- Front-End Printing needs to be done using access method ‘G’, the new printing architecture for all platforms supported by SAP GUI for Java.
- eCATT is not supported.
- Chart control : copy/paste is not available yet.
In this document I am going to demonstrate how to install and configure SAP GUI for JAVA 7.40 in Windows and Linux desktops.
Before installing, we need to download the installation files and manage some pre-requisites.
Pre-requisites are as follows
Hardware:
Hardware according to the requirements of the Linux/Windows distribution
RAM: 4GB recommended for better performance
Software:
Oracle Java SE 8 32- or 64-bit (update 40 or newer)
Visual C++ Libraries VS 2012 11.0.60610 (x86 resp. x86_x64) – for Windows
Supported Windows OS:
Windows 7 32- or 64-bit (Professional, Ultimate and Enterprise Edition)
Windows 8 32- or 64-bit (Professional, Ultimate and Enterprise Edition)
Windows 8.1 32- or 64-bit (Professional, Ultimate and Enterprise Edition)
Supported Linux distributions:
SUSE Linux Enterprise Desktop 11 and 12
SUSE Linux Enterprise Server 11 and 12
openSUSE 13.1 and 13.2
Fedora 20 and 21
Red Hat Enterprise Linux 7
A) Downloading required softwares from SMP.
- The latest version avaiable in SMP is SAP GUI for JAVA 7.40. Go to the link and click on “SAP GUI FOR JAVA”.
- Now click the link based on your OS
- Click on link with the latest patch (here patch 3). The patch files are cumulative in nature. This will download the installation files.
B) Installation Procedure in Linux OS
- Type the command to install SAP GUI for JAVA.
java -jar PlatinGUI-
— S.jar install
For uninstallation type the below command
java -jar PlatinGUI-
2. Go to the installation directory and type ./guilogon to open logon pad.
C) Installation Procedure in Windows OS
- Double Click on the .jar file or type the command to install SAP GUI for JAVA.
java -jar PlatinGUI-
For uninstallation type the below command or run the uninstall.bat batch file present in installation directory
java -jar PlatinGUI-
2. Go to the installation directory and under bin directory run guilogon.bat to open logon pad or double click on the shortcut created.
D) Configuring for Connection settings (valid for Windows & Linux)
- On the logon pad click on new connection
- Give description and click on “Advanced” tab. Here we have to set the connection string.
- Check the “Expert Mode” and put the string in the following syntax
conn=/H/ /S/32
That’s it. All done.
Источник
Install SAP GUI 7.40 on Linux Mint
I have a fresh install of Linux Mint 19.
Below are the steps I used to install SAP GUI 7.40.
- Check the version of java installed.
$ java -version
openjdk version «10.0.2» 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed
- Install the java runtime from openjdk 8
$ sudo apt-get install openjdk-8-jre
- Mark the just installed java runtime as default.
$ sudo update-alternatives —config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 auto mode
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manual mode
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
Press to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode.
- Check the version of java again to see the changes.
$ java -version
openjdk version «1.8.0_212»
OpenJDK Runtime Environment (build 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64-Bit Server VM (build 25.212-b03, mixed mode)
$ java -jar PlatinGUI740_8-LNX86.JAR
- A shortcut will be created in the office group in the menu.
Источник
SAP Basis Cafe
SAP Basis Cafe – Exploring SAP R/3 Basis World
Home » Linux » Installation and Configuration of SAPGUI for Java on Linux
Installation and Configuration of SAPGUI for Java on Linux
Basis Howto
SAP Basis Books
Recent Posts
Link
- An error has occurred; the feed is probably down. Try again later.
Recent Comments
Kevin Lee on Installing SAP ERP 6.0 EhP 8 o… |
amir on DB14 : Daily SAP Basis job log… |
aststraining on Video Installation SAP NetWeav… |
resu biswal on DB14 : Daily SAP Basis job log… |
meenakumari on Uninstall SAPGUI for Java on… |
Top Posts
Blog Stats
Blogroll
SAP on Linux
Categories
Based on many questions in my email inbox, asking how to install and configure SAPGUI for Java on Linux, here I’ll explain it briefly.
Prepare these stuffs before you can proceed to installation :
- You have to make sure that your Linux system has been installed with JRE (Java Runtime Environment) from SUN Microsystem (http://java.sun.com). If you don;t have it, just download it from here. Some of linux distros such as Fedora, Ubuntu, OpenSuSE etc using JRE from GNU called GIJ (GNU for Java). We can’t use this JRE. We need to replaced it. I’ll show you how to changed it later.
- You also need SAPGUI for Java installer. You can download it freely from ftp://ftp.sap.com.
After you have all prerequisite, you can proceed to next step to extract and change your JRE. This step is valid for Fedora, Ubuntu, and OpenSuSE. Please let me know if these doesn’t work for you.
- Logon as root
- Copy your JRE installer file to /opt folder.Please use .bin extention file.
- Change file permission if needed to executable. Use this command : #chmod 755 jre-1.xxx.bin (xxx = refer to JRE version you’re using).
- Extract JRE files. Use this command : #./jre-1.xxx.bin
- Install JRE you just extracted inside alternatives system. Use this command : #/update-alternatives –install /usr/bin/java java /opt/jre1-xxx/bin/java 2
- Update java command configuration on alternatives system. Choose java number 2 because usually GIJ had number 1 position. Use this command : #update-alternatives –config java
- Use this command to verify your JRE configuration. You can use this command : #java -version
- If you get something like this on your screen then you are succeeded. java version “1.6.0”
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
After you finish this step, you can proceed to SAPGUI for Java installation.
- Logon as root
- Use this command (on terminal) to install SAPGUI for Java. #java -jar PlatinGUI-Linux-xxxx.jar (Use the latest version).
- Installed on /opt folder as default (usually on /opt/SAPClients folder)
Next step is configure your SAPGUI for Java and try to test to SAP R/3 server connection.
- Run executable file called guilogon (reside on /opt/SAPClients/SAPGUI700rev1/bin). It willpop up SAPGUI for Java window.
- Click New button.
- Fill the Description column as you like.
- Click Advanced Tab.
- Give check (V) to Use Expert Configuration
- Fill the connection string. If your server using load balancing configuration, use this connection string conn=/M/(IP_Address_Message_Server)/S/36(system_number)/G/(nama_group) and use this connection string configuration if yor SAP R/3 server are not using load balancing system, conn=/H/(IP_Address_server_SAP)/S/32(system_number).
There you go ! Now, you can use your SAPGUI for Java to access your SAP R/3 server. Comments and suggestions are welcome. I’ll try to update this tutorial as best as I can.
Share this:
Like this:
Related
92 Comments
I have installed SAP Solution Manager 4.0 on SUSE Linux 10 SP1.
I am able to connect to SAP system using SAP GUI for Java on the console system only.
I use string “conn=/H/(IP_Address_server_SAP)/S/3201” in SAP GUI Java expert configuration field.
But when I try to connect from a windows PC using SAP GUI for windows, I am not able to connect to SAP system, it displays a message, “connection refused”.
I can login to SAP server at (unix level) using ssh from the windows PC.
The /etc/services file has ports starting from 3201 for dispatcher.
Can you lead me, how can I resolve this problem.
that’s really strange. please try to check your windows firewall.
try not to use windows firewall.
let me know if it doesn’t worked.
best regards,
ardhian
I have Java 1.6, but when I try to run PlatinGUILNX_6.JAR after clicking next no Installation window appears.
Awesome Finally after 10 days I could successfully install SAPGUI for java on Fedora 17.
Turning windows firewall off has not helped me.
And I turned off the SUSE Linux firewall as well.
Is there any configuration file for SAP GUI for Windows, where I can change the default port on which the SAPGUI sends the request for connection to SAP system.
Thanks and regards,
Vijay
I don’t know if you can change your SAP port because it have been decided when you install your SAP Solman. When installing SAP Solman, you have been asked about SAP system number.
best regards,
ardhian
I meant configuration file/setting for SAPGUI for windows on the windows client.
Because the port number for an SAP application server is by convention 3200 plus the two-digit SAP system number, in my example the system no is 01 hence I used 3201.
It is working perfectly with SAPGUI for Java but on the console system only.
Thanks for your inputs.
I’m sure that you have configured your SAPGUI for Windows correctly, right ?
Make sure that your PC was connected to your network and SAP Solman server correctly. Try to ping your SAP Solman server and make sure its replies.
Hope that help you.
If it doesn’t work, then i have no ideas anymore.
I’ve installed the SAPGUI over SLED 10.1 SP2, i change the type of font of the SAPGUI (Options – Preferences – Design – Fonts). But, the SAPGUI displays allways a kind of font that is not good to read. I allways get a bold font very ugly.
I want to change the font in such a way that the SAPGUI could be readable for the user.
Thanks on advance.
What’s SAPGUI version you are using ? JRE version ?
Try to import some Windows fonts to your Linux ?
Hope that can help.
Thanks a million for your tip. I had the expert config string constructed in seconds and JAVA GUI up and running on my Mac in minutes.
Power to the people!
What if I want to connect SAPGui with a SAPRouter?
Sap router have a public IP, but I just know local IP of servers…
You need your SAP router IP Public information. You cannot connect to your SAP Server just using local IP info if you’re try to connect through intenet.
Thanks a lot for sharing yr knowledge, i try to connect to server (with logon balancing) and no success. Is there other logon balancing method other from you’ve discussed here? because (windows version) our logon balancing configuration script (created by implementation consultant) is changing services.ini and there is declarations of services more than just 3200 and 3600 (the also include 1200 to 1600).
I just begin to learn basis, so please forgive me silly questions.
I need to connect to the SAP server in my job, but i’m at home. I have the SAP router string ip, it’s a public IP and the server Ip it’s a local ip. How i modify the command line to get to connect. In windows xp simply i fill the field “router string” and “app server”, but in ubuntu i can’t do it.
Espero tu ayuda, mi inglés no es muy bueno.
I’m connected using a sap router with the next command:
conn=/H/(SAP Router String)/H/(IP Address server)/S/3200
It seems that you missed little configuration. When you’re using SAProuter, you need to mention your SAProuter port, by default 3299.
So, your connection string should be :
Make sure that your SAPGUI port is correct, 3200. For other people may be different.
I hope this config could help you.
Best Regards,
Ardhian
Please consider donation through my paypal account : devratt@yahoo.com
You were right, the explanation was incomplete, it works perfect, thanks a lot
hi thanks for the post, i have configured sap gui on linux, every thing works okay but not able to print from sap gui
kindly suggest how to solve this issue
If you’re using SAP R/3 4.7 and has Basis patch level 52 or above, you can use SAPGUI for Java version 7.10 and using G access method to print.
G access method can print directly on frontend printing printer. Just as Windows based type (F access method)
Worked perfect for me, thank you very much and keep up the good work!!
You have done very great job regarding SAP GUI for JAVA.
I need specifically for RedHat Linux. Could you please provide them.
Regards,
Ashok Kumar R
since this tutorial can work on Fedora, so it should be working when you work on Redhat Linux. No problem at all.
all you need is first installed SUN java and update its alternatives command, then install SAPGUI for Java (PlatinGUI). Use the newest one.
Hi great little blog here.
What is the significance of getting the following partial error with PlatinGUI 710r6 for Linux on Fedora Core 8 based setup, when SAP Server IP (not message server IP) is used in connection string, when trying from Internet-based connection?
Error: partner not reached Release 710 Component NO (network interface), version 39 rc = -10, module nibuf.cpp, line 4628 Detail NiBufIConnect: connection pending after 10000ms System Call connect Error No 115 ‘Operation now in progress’
JRE Verion is 1.5.0.10 methinks. Thanks in advance.
(BTW works fine with Windows 2000/SAPGUI 620).
are you connecting to your SAP server using SAProuter ?
If so, check your SAProuter first.
No SAProuter. Just by IP in the connection string.
Let me get clearly. Do you install your SAP server using public IP address ? If not, then you cannot connect directly to your SAP server from internet.
To connect to SAP server (which is usually reside on internal network), SAP has provide SAProuter.
Hi it’s public IP.
But no problems at all connecting by internet from Win2K and SAP logon pad 620. Very unusual.. maybe the error is a timeout error that has a changeable wait parameter?
It was resolved by adding “32” ahead of the system number in my connection string, as explained here:
Keep up the nice blog. I will email you about the printing functionality sometime and the current price.
I’ll wait for your consult about printing. I have just finished my client from Phillipines for this printing solution.
hi ardhian,
I dont know wheather u can help or direct me where i can get this solution,the problem involves inside sap system,i hv 140,000 records,and i wante to delimit a code,in each of the 140,000 records,am doing it manually is there anyway i can delimit this code automatically,all at once?
I have just installed the JAVA gui on linux.
every thing works fine except, I cannot get the histories.
The drop down list we get when spacebar is hit, last input entries say.
How can we reciprocate this in the java gui.
use SAPGUI for Java version 7.10 if you need input history.
The latest version is SAPGUI for Java 7.10 rev 7.
We have installed the windows 2003 Server but we need to install the SAP GUI Linux client for the client side. So any prerequisite needed the SAP GUI Linux install. Please help me for this issue.
Best Regards,
Thiru
+91 9840544311
We i am trying to install the JRE its showing error message “The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.”
pl can u help us any one?
you should download JRE from SUN (http://java.sun.com). All you need to extract and set appropriate JAVA environment.
1. sapgui for java weather it will support Fedora 10 ?
2. In Fedora 10 how we can install the SAPgui for JAVA ?
although your Linux distro is not specifically mentioned to be supported, it is still possible to install SAPGUI for Java. I am sure that fedora 10 is supported.
first check whether java is already installed on fedora by typing command :
if this command gives you info about java from SUN then you are ready to install SAPGUI for Java.
To install SAPGUI for Java just follow my step by step tutorial on this posting.
hiie , m i know about all tips regarding SAP application on (specific kubuntu 8.10)linux how work well …
I have this odd issue with SAPGui for jawa.
It works file and I can log in to system but only with ddic and when I try to use my own user account I get this kind of error:
—-
Your Windows uses codepages and SAPLogon uses 1100
Windows and SAPLogon codepage mismatch
Ajust Windows default codepage or SAPlogon codepage. You will be logged off!
—
Like I say this appears ONLY with my own user accound with ddic everything works fine.
SAPLogon version is: SAPGUI for java 7.10 rev 8
my linux is ubuntu
It seems that you’re experiencing SAPLogon Codepage problem. Although SAPGUI for Java was support Unicode but some function still won’t work properly.
I think this is because of your Windows codepage. Maybe you’re using non standard codepage.
FYI, I am using Linux so I couldn’t test it.
Also check your Windows codepage conversion table.
From your Windows Start Menu – Control Panel – Regional and Language Options.
See Advanced Tab and check your codepage conversion tables.
I would like to know that in the most recent release of the JAVA gui for sap rev 8, is it possivble to do a CTRL + Y and copy the data.
As i’ve seen that in the ALV reports we are not able to do this.
I went to sm50 and tried it, and the cursor will not select the data.
Kindly help me out.
as long as i know, it is possible to do copy and paste using SAPGUI for Java.
Use CTRL + Y to select and then use CTRL + C to copy.
You can use CTRL + V to paste.
You are right it is possible to do crtl+y & ctrl+t.
but when i am in any alv report, and try to do a drag, i.e. selecting multiple columns & rows, that does not happen after the ctrl+y in java gui rev8.
as compared to the normal gui under windows.
Be it the java gui under linux or windows, i encountered the same.
Plz let me know if you face the same problem or not. or is it just me.
This DRAG AND DROP feature you’re looking is still one of the missing feature from SAPGUI for Java, even in SAPGUI for Java 710 rev 8.
Hope that SAP will solved this problem soon…(Hope MODE ON)
😀
Thanks for letting me know.
I though I was missing something.
I’m using Linux also and that makes this problem difficult. I don’t know which codepages I should install and why this problems appears only with my own user account, not ddic
what linux distro you’re using ? is it using specific language/code ? for example, you are using arabic language or something. i never faced those problem since i always use default (usually English) language distro.
I have Ubuntu and using English language.
And what confusing me most is that with ddic everything works well but with my own user I got this error:
Your Windows uses codepages and SAPLogon uses 1100
Windows and SAPLogon codepage mismatch
Ajust Windows default codepage or SAPlogon codepage. You will be logged off!
As you can see myt “windows” codepage is empty and saplogon wants to use 1100. and why it keeps telling Windows?
may i know your system config ?
OS :
DB :
your SAP version :
if you mean SAP server side it is:
OS:HP-UX
DB Oracle 10
SAP: 7.00
but I think problems is in my linux client
I found your blog on google and read a few of your other posts. I really interested and I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future.Cheer!
When tried to do this step
1. Logon as root
2. Use this command (on terminal) to install SAPGUI for Java. #java -jar PlatinGUI-Linux-xxxx.jar (Use the latest version).
I got this below error message in terminal
Unable to access jarfile PlatinGUI-Linux-710r10.jar.
I am new to linux, using Ubuntu want to install SAPGUI for Java. I have successfully installed JRE following your steps, but have issue with installing SAPGUI.
@arvind : make sure that you can access this jar file.
Hi!
We use fedora core 11. Everytime we logon to SAP there is an error message “Error when starting “gmux server”!”, but if we close it we can make also any transaction. I just want to get the error message.
make sure that you’re using Java from SUN
you need to install the libXp library
SAP BASIS Free eBooks
On your advance config NOT FORGET de last “/”
Hi!
I work on Ubuntu, my java version is
java version “1.6.0”
Java(TM) SE Runtime Environment (build pxi3260sr8-20100409_01(SR8))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr8-20100401_55940 (JIT enabled, AOT enabled)
J9VM – 20100401_055940
JIT – r9_20100401_15339
GC – 20100308_AA)
JCL – 20100408_01
I have configured a connection, but when I connect, I receive error :
silvia@bl3agg3r:
Источник