Skip to Content
Technical Articles
Author's profile photo Enric Castella Gonzalez

Install ABAP Platform Developer Edition 1909 using VM and SUSE

Hi!

This post is a guide to install “ABAP Platform Developer Edition 1909” from a VMWare virtual machine and using the LINUX SUSE distribution.

Requirements

System

  • 4 CPUs
  • 16GB RAM
  • 150GB Disk

Tools

Environment preparation

Preparing the virtual machine

We access the VMWare program and go to the option “Create a new virtual machine”

We select the Linux image that we have downloaded, in my case SUSE

Add name to the virtual machine (free choice)

150 GB of free disk is recommended for installation, so we can 160BG to give something to the operating system

In the next step, click on the “Customize Hardware” option to modify the specifications of the machine, these will be the parameters:

Finally we press “Finish” to start the installation.

Installing SUSE

Once the configuration is finished, the SUSE installation will start automatically, the first screen that will appear we will press “Installation”:

We accept the license and configure the keyboard language:

When pressing “Next” it will ask us if we want to additionally install YaST2, we will mark “yes”:

The next step is the configuration of online repositories, in this we will mark the following options and click on next:

When the next step appears we select the option: “Desktop with GNOME”

We are pressing “Next” until the following screen appears

Click on “Guided Setup”, and add these settings:

  • In the first screen we do not select anything, only “Next”

  • In “File System Type” we select “Ext4” and “Next”

After pressing Next we will return to the “Suggested partitions” screen and we will press Next, we configure the location:

Next step configure our user, we add our name, the user name that we want, and a password:

In the step “Installation Settings” we have to look at these options:

Click “Install” to start the installation, again we need some patience to finish the installation:

Setup Linux

We are going to configure the IP to have a fixed reference. To do this, we go to network settings:

Click on options in the active connection:

We add the manual method in the IPv4 option, adding this data, or similar ones according to your local network configuration. This will allow us to always use the same IP. Make sure that this IP is not assigned to another device connected to your router

We are going to configure the localhost files, for this we execute the following commands:

sudo nano /etc/hostname

Where we add the name: vhcala4hci and press Ctrl + O to save and Ctrl + X to exit the editor.

And this second command:

sudo nano /etc/hosts

We will add the following entry:

With the IP that we have configured by default and press Ctrl + O to save and Ctrl + X to exit the editor.

Installing Docker

To install Docker it is as easy as running the following commands:

sudo zypper install docker

And we can start the service with:

sudo systemctl start docker.service

If we also want Docker to start when starting the virtual machine, we can execute:

sudo systemctl enable docker.service

As you can see, we have everything ready to install our S4Hana developer edition

Downloading the Docker image

The first thing is to login to the docker server, this is because the image that we are going to use is not available in public mode, but we can only download it in private mode at € 0.0.

sudo docker login

We can proceed with the download with the command:

docker pull store/saplabs/abaptrial:1909

Once finished we will see the following message:

Before starting the container, we will add some extra configurations, executing:

  sudo sysctl vm.max_map_count=2147483647
  sudo sysctl fs.file-max=20000000
  sudo sysctl fs.aio-max-nr=18446744073709551615

Once finished we execute the following command to start the container on the host vhcala4hci, we will also use the -p parameter to allow access to the indicated ports from outside the virtual machine:

sudo docker run --stop-timeout 3600 -i --name as4h -h vhcala4hci -p 3200:3200 -p 3300:3300 -p 8443:8443 -p 30213:30213 -p 50000:50000 -p 50001:50001 store/saplabs/abaptrial:1909 -agree-to-sap-license -skip-limits-check

We will see how the services are activated. Finally we will see this message indicating that we can now use our new SAP.

Accessing SAP

These are the data, remember that the IP will depend on the configuration made according to your IP:

And we can now access. The user to access is: DEVELOPER with password Ldtf5432

Enjoy it!

 

 

 

 

 

 

 

 

Assigned Tags

      6 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Emmanuel Joaquim Da Costa
      Emmanuel Joaquim Da Costa

      Hello

      Thank you for the tutorial.

      The technical prerequisites became high compared to the previous version of the developer platform.

      Regards

      Emmanuel

       

      Author's profile photo Andrea Borgia
      Andrea Borgia

      Indeed, the beauty of the current HANA1909 image is the fact that you can install it directly on Windows with Docker Desktop and WSL2 or on Linux with the docker CLI and it will just work.

      Author's profile photo Mateo Cano Ceballos
      Mateo Cano Ceballos

      Hi Eric, VMaware is free?

       

      Thank you for the aclaration

      Author's profile photo Aditya Avadhanula
      Aditya Avadhanula

      Thanks a lot for sharing this , it was really helpful for me . Actually earlier I had tried to install this in windows  via WSL2 , However  the WSL2  got corrupted due to some unknown reasons .

      This installation on VM was much easier and cleaner way to install . However a few points from my end that i would like to add .

      1. I used initially VMware pro trial edition , this enabled me access to virtual network editor  and helped me in setting up bridged network .Post this I used  Vmware workstation 16 version .
      2. i also got a permission denied error for docker initially when I was as trying to pull .But this seems to be a common problem  and was able to find solution online .
      3. For me the RAM setting for the virtual machine was set at 2GB by default and it caused problem when I setting up the system .
      4.  for tenant DB the port 30215 need to be enabled ( 32013 is for system DB ) , so add the same to the docker run statement  as shown below :

      docker run --stop-timeout 3600 -i --name a4h -h vhcala4hci -p 3200:3200 -p 3300:3300 -p 8443:8443 -p 30213:30213 -p 30215:30215 -p 50000:50000 -p 50001:50001 store/saplabs/abaptrial:1909 -agree-to-sap-license -skip-limits-check

       

      Thanks again for such a great  blog , I hope this method gains more popularity than doing it directly on windows via WSL2

      Regards

      Aditya

      Author's profile photo Alfredo Gomez Ripoll
      Alfredo Gomez Ripoll

      Hello Enric

      Thank you so much for your useful blog.
      I´ve followed it and installed A4H succesfully (just one difference, I´ve installed using Vbox) .
      I´m not able to install the license that I´ve downloaded from https://go.support.sap.com/minisap/sapui-debug=true#/minisap , to do it I´ve tried several alternatives (directly in tr. slicense , different procedures indicated in https://blogs.sap.com/2021/04/22/how-to-install-a-new-license-in-your-sap-abap-platform-developer edition/ etc. )
      The problem is that whatever I do I always have the old license (the one included during the installation, that will expire in a few days)
      Would it be possible that you include the precise procedure are you using to install the license?

      Thank you in advance

      Author's profile photo Alfredo Gomez Ripoll
      Alfredo Gomez Ripoll

      I´ve found a solution

      The problem is that each time I start (again) the server with the command docker start -ai a4h, the license is overwritten, recovering the old license, which came with the first installation package and which will expire soon.
      The solution, in my case:
      - remove the first installation container : docker rm -f a4h
      - Reinstall from scratch adding the option : -no-asabap-license-update , I mean:
      sudo docker run --stop-timeout 3600 -i --name a4h -h vhcala4hci -p 3200:3200 -p 3300:3300 -p 8443:8443 -p 30213:30213 -p 50000:50000 -p 50001:50001 store/saplabs/abaptrial:1909 -agree-to-sap-license -no-asabap-license-update -skip-limits-check
      - Download a license from https://go.support.sap.com/minisap/#/minisap
      - Logon to system, in my case with SAP* Ldtf5432
      - Install the license from SLICENSE

      Here the problem should be solved, next time the system restart with docker start -ai a4h will not try to reinstall a new license (the outdated one), for testing:
      - Logout
      - stop system: docker stop --time 7200 a4h
      - restart: docker start -ai a4h