Install SAP NW ABAP 7.51 Dev

March 19, 2019 Application, Linux 4 minutes, 16 seconds

This article describes the installation of a SAP Netweaver 751 ABAP platform (in the following abbreviated as sapnw) for privat not commercial purpose.

Please note that I haven't invent the wheel again. This is just a collection of guides and tutorials from other people that was working for me after some fixes. Credits goes to the creators of the content in the Links section especially wechris and Julie Plummer. in the Additional Links section you can find further information.

Essentially we will build an image for a VirtualBox appliance where sapnw will run. From there we connect with Eclipse ABAP developer tools and the SAP GUI for Netweaver. This article is assuiming that your are running a Linux host machine. Nevertheless, this guide also applies on Windows machines as we are running sapnw on a virtual machine.

Before you continue please have a look at the requirements!

  • x86_64 Processor based hardware
  • Required: At least 8 GB RAM plus about 8 GB swap space
  • Recommended: At least 16 GB RAM plus about 8 GB swap space
  • About 100 GB free disk space for server installation

The amount RAM and storage is strongly recommended!

For creating and running the virtual machine:

For completness although the following software will be handled by the created virtual machine. If you want to skip the part with the virtual machine and install sapnw native on your machine make sure to fulfill these requirements.

  • csh, libaio, uuidd
  • LANG=en_US.UTF-8 (defualt system language)
  • hostname max 13 chars
  • FQDN (Full Qualified Domain Name)

  • Minimum 4 GB RAM
  • Supported OS (cp. the Links section)
  • Oracle Java SE 8 32- or 64-bit (update 40 or newer)
  • Eclipse for ABAP development

From SAP download the SAP NetWeaver AS ABAP Developer Edition in version 7.51 SP02. In order to download the archives in our (linux) shell we download and accept the terms within a webbrowser with enabled network analysis tools. Then we copy the request as curl and paste it into our commandline. We append -o part01.rar to tell curl to save the output in a file (default is stdout). Now we can duplicate the requests and increment the numbers.

After downloading all parts we extract the archives. In Debian the package unrar-free does not handle multi-part archives. To install the nonfree version we must enable the nonfree repoistory by appending non-free to our main repo: deb http://ftp.de.debian.org/debian/ jessie main non-free and than install the package with apt-get install unrar-nonfree. Afterwards we extract the archives with unrar x part01.rar. The x creates the directory structure of the archive. Unrar is able to find all parts of the archives itself.

This parts shows the setup of a virtual Box according to wechris' image. Packer, Vagrant and Virtualbox must be installed

Clone the code provided from wechris:

git clone https://github.com/wechris/SAPNW75SPS02.git

Copy the formerly extracted sap install files into the sapinst subdirectory. Then buid the packer iso image:

cd packer/openSUSE-42.1/
packer build -only=virtualbox-iso template.json

cd ../../
vagrant up --provision

After vagrant has finished execute vagrant reload

  • Manually mount the shared folder ("vagrant") from your host if necessary: mount -t vboxsf vagrant /vagrant(see HowTo - shared folders for help)
  • Install Xserver and a DE of choice (I recommend XFCE: zypper install -t pattern xfce)
  • Create a CD drive, mount and install the vbox guest additions
  • cd into the install (shared) folder (/vagrant by default)
  • Make install.sh executable with chmod +x install.sh.
  • Add the line domain dummy.nodomain to /etc/resolv.conf in order to start the SAPGUI installer
  • Start installer with./install.sh -g. We must use the graphical installer as the unattended installer throws an error with a database connection. I gues that there is some kind of timeout or weired thing.
  • After hitting the installer at some point it stops showing an URL which you must open in your VM's browser. This is the graphical installer which you must complete.

After completing the installer a sapnw instance is up and running

In order to access sapnw from your host machine you have to edit your hosts file.

  • Windows: Windows\System32\drivers\etc
  • Linux: /etc/hosts

Add the following line

127.0.0.1 vhcalnplci.dummy.nodomain

Check also the port forwarding preferences of your virtual machine - all IPs must be set to 127.0.0.1 (host) and 10.0.2.15 (guest)

User DDIC password Appl1ance

Sap GUI requires Oracle Java 8. Please refer to the Oracle Download Page to obtain a version for your operating system.

  1. SAP 751 & 750 Download Links
  2. SAP 751 Dev Edition Download and Installation
  3. SAP 751 Newbie Install Guide
  4. SAP 751 Concise Installation Guide
  5. SAP 750 Preconfigured Vbox image (which is working also for version 751)
  1. SAP Developer Tools
  2. SAP 750 Docker Image not working due to "no space left on device" error of docker
  3. Oracle Java 8 Image
  4. SAP GUI Docker Image
  5. SAP GUI Requirements