From owner-freebsd-doc@FreeBSD.ORG Wed Jan 7 09:05:46 2004 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A25B16A4CE for ; Wed, 7 Jan 2004 09:05:46 -0800 (PST) Received: from titan.ze.tu-muenchen.de (titan.ze.tu-muenchen.de [129.187.39.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AEF543D45 for ; Wed, 7 Jan 2004 09:05:43 -0800 (PST) (envelope-from kess@ze.tum.de) Received: from ze.tum.de (chiba.sap.tum.de [129.187.102.221]) i07H5cw0099065 for ; Wed, 7 Jan 2004 18:05:38 +0100 (CET) (envelope-from kess@ze.tum.de) Message-ID: <3FFC3DC5.4050807@ze.tum.de> Date: Wed, 07 Jan 2004 18:11:33 +0100 From: Wolfgang Kess Organization: TU Muenchen User-Agent: Mozilla/4.78 (Macintosh; U; PPC) X-Accept-Language: de, en MIME-Version: 1.0 To: doc@FreeBSD.org Content-Type: multipart/mixed; boundary="------------090003000104010003040506" X-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_10,USER_AGENT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Missing Dokumentation: Installing SAP R/3 JavaGUI Client X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kess@sap.tum.de List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 17:05:46 -0000 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--