SAP Gui for JAVA on a Linux system Part 2

Following on from my previous post: SAP Gui for JAVA on a Linux system
Download:
SAPGUI for Java from ftp://ftp.sap.com.

Install process:

–> Logon as root
–> Start Terminal –> type java -jar PlatinGUI-Linux-xxxx.jar (Check the  file name)
# Default Install will install on /opt folder (probably /opt/SAPClients folder)

Configure SAPGUI for Java

Change to install directory and run ./guilogon (usually /opt/SAPClients/SAPGUI700rev1/bin )

Click New

Enter Description, click advanced

Check Expert Configuration

Enter the server details, connection string.

For load balancing use: conn=/M/(IP_Address_of_Message_Server)/S/36(system_number)/G/(name_group) or

conn=/H/(IP_Address_of_Message_Server)/S/32(system_number).

That’s it, you’re ready to rock n roll! You could ditch your windows box if this works for you! :-)

SAP Gui for JAVA on a Linux system

Part 1: Prerequisites:

JRE (Java Runtime Environment) from SUN Microsystems (http://java.sun.com).

If you need to install the correct java version:

1) Download the jdk-6-linux-i586.bin from http://java.sun.com to the desktop

2) chmod +x jdk-6-linux-i586.bin

3) .\jdk-6-linux-i586.bin

4) mv jdk1.6.0 /usr/lib/Java6

5)
update alternatives –install “/usr/bin/java” “java” “/usr/lib/Java6/bin/java” 1
update alternatives –set java /usr/lib/Java6/bin/java
update alternatives –install “/usr/bin/javac” “javac” “/usr/lib/Java6/bin/javac” 1
update alternatives –set javac /usr/lib/Java6/bin/javac
update alternatives –install “/usr/bin/javaws” “javaws” “/usr/lib/Java6/bin/javaws” 1
update alternatives –set javaws /usr/lib/Java6/bin/javaws
update alternatives –install “/usr/bin/apt” “apt” “/usr/lib/Java6/bin/apt” 1
update alternatives –set apt /usr/lib/Java6/bin/apt

6) Test the installation

java -version
javac -version
ant
apt

To check the JVM version just go to: http://www.java.com/en/download/installed.jsp
To Test Virtual Machine: http://www.java.com/en/download/help/testvm.xml

Download:
SAPGUI for Java from ftp://ftp.sap.com.

Save SAPGUI Password

This is NOT recommended by SAP (or me).

By default, you can’t save passwords in SAPGUI shortcuts under SAPGUI 7.10. However, if for some reason you would like the passwords to be saved for shortcuts, you could follow the steps below, and edit the (existing) shortcuts to save your passwords.

You will find the path HKEY_CURRENT_USER\Software\SAP
exists in the registry once you’ve installed SAPGUI 7.10
(windows cmd: regedit)

Create the following keys under HKEY_CURRENT_USER\Software\SAP:
\SAPShortcut\Security

Create a String Value under Security: ‘EnablePassword’ and set it to 1

This will allow you to save passwords for SAP Shortcuts.

To reset this to 0, run sapshcut.exe without parameters – this will reset the entry to 0.

User-defined text on SAPGui logon screen

Use note: 205487 User-defined text on SAPGui logon screen to add text to the default SAPGui logon screen.

Steps:

  1. Go to tcode SE61
  2. Select general text
  3. Create text with name ZLOGON_SCREEN_INFO in your language

Text is limited to 16 lines and 60 columns

Also, You can incorporate graphic icons by inserting icon codes in the text.
Eg.: The following code: @1D@ will insert the STOP ICON on the page.

You can get a list of codes and icons by running report “RSTXICON”

Change standard SAP fonts for the SAPGUI

To change the SAP standard fonts for SAPGUI

  • Close all the SAP GUI sessions along with the SAPlogon Pad.
  • Locate the file: theme.xml under the local SAPGUI install directory

e.g: C:\Program Files\SAP\FrontEnd\SAPgui\themes\HighCont

  • Open this file in a text editor and search for
  • Change the tag to the new font that you want SAP GUI to use.
  • refers to input areas while refers to the labels. Other aspects like:

Size, Bold, Charset, Pitch and Italic can be changed too.

  • Save this file and restart the SAPgui / SAPlogonPad