Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2004 18:11:33 +0100
From:      Wolfgang Kess <kess@ze.tum.de>
To:        doc@FreeBSD.org
Subject:   Missing Dokumentation: Installing SAP R/3 JavaGUI Client
Message-ID:  <3FFC3DC5.4050807@ze.tum.de>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090003000104010003040506
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hello Documentation Team,

FreeBSD Handbook Page
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sapr3.html
there is no howto "Installing a SAP R/3 JavaGUI Client".

I made a short howto and it would be nice to add as 22.7.14.x


Regards Wolfgang


-- 
Wolfgang Kess
Technische Universität München
SAP-Projekt
Richard-Wagner-Str. 18
DE-80333 München			

Tel:  +49 89 289 25528
Fax:  +49 89 289 25522
Mail: kess@sap.tum.de

--------------090003000104010003040506
Content-Type: text/plain;
 name="FreeBSD_SAPJavaGUI.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename="FreeBSD_SAPJavaGUI.txt"

22.7.14 Installation SAP JavaGUI 6.30r2 for FreeBSD
---------------------------------------------------

22.7.14.1 Installation steps

Go to ftp://ftp.sap.com/pub/sapgui/java/630r2 
and get PlatinGUI-Linux-630r2.jar and PlatinManual-HTML-630r2.zip 

1.) Install from FreeBSD /usr/ports/java/ 
linux-blackdown-jdk1.3.1 


2.) move to (/usr/local/linux-blackdown-jdk1.3.1/bin 
and install as root ./java -jar /~incoming/PlatinGUI-Linux-630.jar & 
to /usr/local/bin/sapgui/ 


3.)Create a link in /usr/bin 
lrwxr-xr-x 1 root wheel - 30 Oct 29 17:53 test@ -> /usr/compat/linux/usr/bin/test 

4.) Edit guistart in /usr/local/bin/sapgui/6.30rev2/bin and add FreeBSD Java default version 



# platform dependent Java default version 
case `uname` in 

# START PLATFORM SPECIFIC 
Linux) 
if /usr/bin/test -x "/opt/IBMJava2-131/jre/bin/java"; then 
# standard location for IBM 1.3.1 VM 
PLATIN_JAVA="/opt/IBMJava2-131/jre/bin/java" 
PLATIN_JAVA_VER="1.3.1" 
elif /usr/bin/test -x "/opt/IBMJava2-13/jre/bin/java"; then 
# standard location for IBM 1.3 VM 
PLATIN_JAVA="/opt/IBMJava2-13/jre/bin/java" 
PLATIN_JAVA_VER="1.3.0" 
elif /usr/bin/test -x "/usr/lib/jre1.3/jre/bin/java" ; then 
# SuSE 7.3 installs its 1.3 VM here 
PLATIN_JAVA="/usr/lib/jre1.3/jre/bin/java" 
PLATIN_JAVA_VER="1.3.0" 

#--> Add this 
elif /usr/compat/linux/usr/bin/test -x "/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" ; then 
# FreeBSD 4.8 
PLATIN_JAVA="/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java" 
PLATIN_JAVA_VER="1.3.1" 
#<-- Add this 
else 
echo "Could not find Java VM at various standard locations." 
echo "If you want to use a non standard VM please set" 
echo "the environment variables PLATIN_JAVA and PLATIN_JAVA_VER." 
echo "PLATIN_JAVA points to the VM executable e.g. /opt/IBMJava2-131/jre/bin/java" 
echo "PLATIN_JAVA_VER is the version number of the VM e.g.1.3.1" 
exit 1 
fi




22.7.14.2 Connect to SAP R/3 System

To connect directly to a SAP System use 

/usr/local/bin/sapgui/6.30rev2/bin/guistart conn=/H/sappserver/S/3200 


To connect via SAP Routers use 

/usr/local/bin/sapgui/6.30rev2/bin/guistart conn=/H/saprouter0/S/3299/H/gateway/S/3299/H/sapserver/S/3200




22.7.14.3  Script to start different SAP Systems

#!/usr/local/bin/bash

dialog --menu 'SAP System auswählen' 10 60 3 'P01' 'Produktionssystem' 'T01' 'Testsystem' 'E01' 'Entwicklungssystem' 2> /tmp/sapstart.$$

SYSTEM=`cat /tmp/sapstart.$$`

case $SYSTEM in
        P01)
                CONNECTSTRING='/H/saprouter/S/3299/H/gateway/S/3299/H/sapserver/S/3200'
        ;;
        T01)
                CONNECTSTRING='/H/saprouter/S/3299/H/gateway/S/3299/H/sapserver/S/3200'
        ;;
        E01)
                CONNECTSTRING='/H/saprouter/S/3299/H/gateway/S/3299/H/sapserver/S/3200'
        ;;
esac

export PLATIN_JAVA="/usr/local/linux-blackdown-jdk1.3.1/jre/bin/java"
export PLATIN_JAVA_VER="1.3.1"

if [ "$CONNECTSTRING" != "" ]; then
        /usr/local/bin/sapgui/6.30rev2/bin/guistart $CONNECTSTRING 2> /dev/null
fi





--------------090003000104010003040506--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFC3DC5.4050807>