Follow this guide and have your very own SAP trial sandbox environment up and running in under 90 minutes.

This Sandbox environment contains everything you need for practicing ABAP development along with BI/BW development.  ECC modules like FI, CO, MM, etc. are not included in this trial and must be licensed directly from SAP

Step 1 – Set Up Ubuntu Server 16.04 64bit

In order to complete this tutorial, you will need access to an Ubuntu 16.04 server.

We will be completing the steps in this guide using a cloud hosted Ubuntu Server as this will enable us to access our SAP Server from any machine, anytime, anywhere.  We’ll need to register for the T80 server (usually around $24.99/month)

Once you’ve signed up for your server, it should take around 10 minutes to provision.  Let’s move on to the next step to log into our server using SSH.

 

Step 2a – SSH onto your server (Mac or Windows)

Mac Instructions:

Open the terminal app:

  • Enter the root password from the Additional Information tab

Windows Instructions:

  • Download and install Putty
  • Open Putty, ensure SSH is selected, enter your server IP address to connect
  • Type in the user root
  • Enter the root password from the Additional Information tab

Step 2b – Change your root password + install updates

Once logged in as the root user, change your password to something you will easily remember:

passwd

Now perform an update:

sudo apt-get update

Step 3 – Update Hostname and Hosts File

Update Hostname to vhcalnplci:

sudo nano /etc/hostname
vhcalnplci

Update Hosts file to include your server IP:

sudo nano /etc/hosts
your.ip.address vhcalnplci vhcalnplci.dummy.nodomain

Restart Ubuntu:

sudo reboot

Step 4 – Install csh and libaio-dev

Update packages:

sudo apt-get update

Install csh:

sudo apt-get install csh

Install libaio-dev:

sudo apt-get install libaio-dev

Step 5 – Download & Extract SAP 7.52 installation files

Navigate to root directory and create folder:

cd / 
mkdir sap752
cd sap752

Download SAP installation files:

wget sapbwtraining.net/sap752_01.rar 
wget sapbwtraining.net/sap752_02.rar 
wget sapbwtraining.net/sap752_03.rar 
wget sapbwtraining.net/sap752_04.rar 
wget sapbwtraining.net/sap752_05.rar 
wget sapbwtraining.net/sap752_06.rar 
wget sapbwtraining.net/sap752_07.rar 
wget sapbwtraining.net/sap752_08.rar 
wget sapbwtraining.net/sap752_09.rar 
wget sapbwtraining.net/sap752_10.rar 

Download extraction software:

sudo apt-get install rar unrar

Perform extraction:

rar x sap752_01.rar

Step 6 – Install SAP

Set root permissions and run installer

chmod +x install.sh
./install.sh 

SAP will then check to make sure your hostname is vhcalnplci (we set this hostname and hosts file configuration in step 3). Press enter until prompted to type Yes.

Set up your SAP administrator password.  This password must be entered using a US keyboard, alphanumeric, and not contain any special characters (?, $, *, %, @, _, -, etc…).  An example of a password that would work is Password01

Password01

The SAP installation should take between 30-60 minutes to complete.  You’ll know the install has finished when the screen reads “Installation of NPL successful”.  At this point you know have a working SAP system you can log onto.  In order to connect to our SAP system, we’ll need to use SAPGUI.

Step 7 – Download and Install SAPGUI and SAPGUI Patch

Download SAPGUI: 50127120_6.zip   & Download SAPGUI Patch:  gui740_14-80001174.exe

Once the downloads complete, right click on the 50127120_6.zip file and choose extract all (or unzip).  Once the extraction completes, open the folder and navigate to the setup file: …PRES1 > GUI > WINDOWS > WIN32 > SetupAll.exe

At this point SAP Logon should be installed and displayed on your computers desktop.  Now it’s time to patch SAPGUI.  Run the gui740_14-80001174.exe file and if prompted, reboot.

Step 8 – Add SAP connection in SAPGUI

Open SAP Logon and add a new connection.  The description can be whatever you’d like but Application Server must be your Ubuntu server IP address:

Description: You can call this whatever you want

Application Server: This is your Ubuntu server IP address; e.g. 121.104.102.112

Instance Number: 00

System ID: NPL

Click finish and double click on the connection you just created to connect.

Step 9 – Log on to SAP

The first time we log on to SAP we’ll be using the SAP* user and Down1oad password in SAP client 001.  SAP* is the SAP administrator account that has access to configure pretty much everything from a system/access perspective, however, this account does not have the ability to create programs or develop in BW.  For those development related tasks you’ll need to log into SAP with the DEVELOPER account.  A complete listing of SAP accounts can be found in the tables below:

The installed system provides the following SAP users in client 001:

User name Password Description
DDIC Down1oad Data Dictionary User
SAP* Down1oad SAP Administrator
DEVELOPER Down1oad Developer User
BWDEVELOPER Down1oad Developer User

 


The installed system provides the following SAP users in client 000:

User name Password Description
DDIC Down1oad Data Dictionary User
SAP* Down1oad SAP Administrator

 

Step 10 – Update SAP License

Log into SAP client 001 using user SAP* and password Down1oad

Now that you’re connected to SAP, navigate to transaction SLICENSE.  Delete the existing license and navigate to go.support.sap.com/minisap. Locate the NPL – SAP NetWeaver 7.x (Sybase ASE) radio button.  Click the radio button and scroll down entering your information along with the most important part from SLICENSE, your Hardware Key.  Accept the license agreement and click generate.  A file called NPL.txt will download to your machine and you’ll need to go back to SLICENSE to install this NPL file you just downloaded.  Repeat this step every 90 days.

Step 11 – BW Configuration

Update windows hosts file

SAP recently moved some BW functionality out of SAPGUI onto a web browser.  In oder to configure SAP and your browser you’ll need to navigate to:

C: Windows > System32 > drivers > etc > hosts

You won’t be able to modify the hosts file unless you first right click on the file and update the properties related to security.  Ensure this file has full access to be updated from the security tab.  Once that’s done, open the hosts file in a text editor / notepad.

Add the same line from step 3 above to this hosts file as well:

your.ip.address vhcalnplci vhcalnplci.dummy.nodomain

 

Activate BW objects:

Log out of SAP* and log in as developer.  Go to transaction RSTCO_ADMIN.  Click on the button Start Installation. If you’d like, you can monitor the job within transaction SM37.  The activation job should run 15-30 minutes.

When this job completes you’re good to go!  Have fun developing in SAP or SAP BW.

Troubleshooting – Starting and Stopping SAP

Starting SAP: 

Log onto your Ubuntu Server and type

su npladm

Type in your SAP admin password you set during the SAP installation (the alphanumeric one).

Your terminal window will change and you’ll now be using the npladm user.  To start SAP type:

startsap all

Stopping SAP: 

stopsap all

You’ll need to manually start SAP this way if you ever restart your ubuntu server

top
Copyright © 2016 BUSINESS INTELLIGENCE SOLUTIONS LLC (This website is not affiliated with, sponsored by, or approved by SAP AG)