Skip to content

eduardocopat/sap-nw-abap-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SAP NetWeaver ABAP running on vagrant

SAP NetWeaver ABAP running on vagrant.

This automates the steps listed on the SAP post.

Prerequisites

  • 50GB hard disk space for installation and setup files.
  • 8GB RAM (16GB recommended).
  • A motherboard which allows Virtualization.
  • VirtualBox (6.0.14+).
  • Vagrant (2.2.6+).
  • SAP NetWeaver trial (7.52 SP04+).
  • Windows 10 (It probably works on Linux, but this guide focus on Windows).
  • Time. Downloading and installing takes a few minutes.

See detailed setup below.

Setup

1 - Install virtualbox

2 - Install vagrant

Before installing vagrant, you will need to make sure Virtualization and Hyper-V are enabled in your computer. You can follow this guide to enable it. Then:

  • Install vagrant.

  • Check You will probably need to restart your computer.

  • Install disk size plugin by opening your terminal (in Windows Win+X then I):

    • vagrant plugin install vagrant-disksize

3 - Download ABAP on vagrant latest release

4 - Download and extract NetWeaver trial

5 - Start your Virtual Machine with vagrant

  • Open the terminal and go to your folder (e.g. cd C:\git\sap-nw-abap-vagrant\).
  • Run vagrant up. This will download an Ubuntu VM (bionic64).
  • Run vagrant ssh to connect to Vagrant VM.
  • Run sudo su to get root priviliges.
  • Run cd /vagrant to go to the mounted folder.
  • Run ./prepare.sh. This will install necessary dependencies and enable automation of installation.

6 - Install Netweaver

  • Run ./nw_install.sh. This may take a few minutes. It will automatically accept SAP license and programatically install SAP NetWeaver.

If the screen stops output in PowerShell, click Enter to resume.

  • The last message you should see is Installation of NPL successful.

7 - Connect to your SAP system via SAP Logon

  • Open SAP Logon

    If you don't have SAP logon, you need an S-User to download it: https://launchpad.support.sap.com/#/softwarecenter. Alternatively, connect with Abap Development Tools.

  • Click to add a new system:

    • Connection type: Custom application server
    • Description: NPL
    • Application server: localhost
    • Instance Number: 00
    • System ID: NPL
    • SAPRouter String: empty
  • You can find the user list at /NW/readme.html:

Username Client(s) Password Description
DEVELOPER 001 Down1oad Developer User
BWDEVELOPER 001 Down1oad Developer User
DDIC 000/001 Down1oad Data Dictionary User
SAP* 000/001 Down1oad SAP Administrator

Running again

In case you stopped your VM or rebooted your computer. Start again by:

  • Run vagrant up.
  • Connect using vagrant ssh.
  • Run sudo su.
  • Run cd /vagrant.
  • Run ./run.sh.

Stopping

  • Run ./stop.sh

Credits

Based on Tobias Hofmann's sap-nw-abap-docker.