facebook-img

by Søren Hansen

Install ABAP Developer Edition (HANA 1909) system on your own PC – the Very Easy Way…..

There are many reasons why you would like to have a local ABAP system installed on your PC. Maybe you don’t have access to any ABAP system, and just would like to try out some ABAP development. Or maybe you are like me, who has a lot of experience doing ABAP development, but not so much on the Basis side. And would like a system to play around in, where you can try different settings without ruining it for a lot of people.

A couple of years back I fiddled around with installing an ABAP system on my laptop using these guides:

https://github.com/larshp/nwabap751

https://github.com/nzamani/sap-nw-abap-trial-docker

It was a little tricky, but doable to install your own ABAP system on a laptop/PC.

Now SAP are delivering a formalized way to install the newest ABAP Developer Edition system in a VERY EASY way.

To boil it down, you just have to install a program (Docker Desktop) and then issue 2 commands in cmd.exe, then you have a running SAP ABAP system – it does not get easier than that.

In this blog I will show all the details for getting the server installed and how to start and stop it. It is very easy, and anybody can do it.

I am on a Windows 10 laptop, but this also works for MacOS and Linux. Refer to the documentation for details on these OS’es.

 

If you want the really short guide, then here it is:

  • Create a user on https://hub.docker.com/
  • Download and install Docker Desktop
  • Open cmd.exe and issue command:
    • docker pull store/saplabs/abaptrial:1909
    • This will download and extract everything (appr 25 GB) and takes 20-30 min depending on your bandwidth.
  • In cmd.exe issue command:
  • You now have a running SAP ABAP HANA 1909 system on your PC.

 

The longer version is here…

Check out the ABAP section of the official site for downloading (free) software from SAP.

https://tools.hana.ondemand.com/#abap

This refers to this blog:

https://blogs.sap.com/2021/02/15/sap-abap-platform-1909-developer-edition-available-soon/

Which again refers to:

https://hub.docker.com/_/sap-abap-trial/plans/ac8a4f9b-ae29-4afa-9b39-25aeea24b821?tab=instructions

The above links are the basis for this guide.

 

Please be aware of the system requirements. You need 16GB RAM for Docker, which means you probably need at least 24GB RAM in total. You also need appr. 170GB of free disk.

I am lucky because I have just gotten a new laptop. I use a Lenovo X1 Carbon Win10 with 1TB SSD and 32GB RAM. On this machine, I don’t have any problems at all. The ABAP server runs smoothly.

Please let me know in the comments if you can get it up and running on smaller configurations.

The ABAP NW751 server I mentioned in the beginning, was able to run on Windows 10 with just 8GB of total RAM on the laptop.

In the following, I will go through each step one at a time.

Step 1. Create a Docker Hub user (free)

Go to https://hub.docker.com/ and click the ‘Sign Up’ button.

Step 2: Download and install Docker Desktop

Login to https://hub.docker.com/ via ‘Sign In’-button

Click ‘Download for Windows (if you are using Windows 😊)

Now install Docker Desktop

Step 3: Start Docker Desktop

When starting Docker Desktop it should look like the above.

Step 4: Pull (download and extract) Docker container data

Open cmd.exe and issue command:

It will now start downloading data (the biggest file is 23.52GB)

Please note:

It does not matter from which folder you issue this command. I did navigate to a specific folder, because I was unsure if it would download data to this. It turned out that all data is downloaded to Docker controlled folders.

After download, the extraction begins.

When everything is downloaded and extracted you will see the above.

Step 5: Define and start your Docker container

Refer to this guide for details on startup parameters and troubleshooting.

In cmd.exe issue this command:

Now your SAP system is up and running.

And you can now see the Docker container running in Docker Desktop

Step 6: Stopping the server

In Docker Desktop click the container ‘a4h’

Simply click the ‘Stop’-button to shut down the server.

Docker will ensure this is done gracefully.

When you see this the server is completely shut down.

Step 7: Starting your server

To start your server just mouse over the ‘a4h’-container and click the ‘Start’-button.

If you click on the container name and click ‘LOGS’, then you will see a command prompt on the status of the startup.

When it has started completely, you will see this message.

Step 8 (optional): Adjust your hostfile

The hostname of the new server is ‘vhcala4hci’, but it is hosted on your PC (localhost) so in order to be able to use URL’s generated on the server, you can define a mapping on your local PC, which is done in the hosts file.

Procedure:

Open Explorer and go to directory C:\Windows\System32\drivers\etc

Open file ‘hosts’ and add these lines to the bottom of the file

PS: I did not have permission to the save file onto itself from notepad. So I copied the file to another location and made the changes there. Afterwards I replaced the old hosts file with the new one.

 

Once you have this in place, you will be able to open URLs with the hostname of you server.

E.g.: http://vhcala4hci:50000/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/?$format=xml

If you don’t make this adjustment you can just call the URL’s by replacing the hostname ‘vhcala4hci’ with ‘localhost’.

Step 9: Login to yor SAP system

Open your SAP GUI logonpad and create a new connection.

Parameters for SAP GUI (sorry for danish labels).

Credentials are found here

User name: DEVELOPER

Password: Ldtf5432

We are now logged in.

 

That’s it – good luck and happy testing.

 

Read the full article with comments here: Install ABAP Developer Edition (HANA 1909) system on your own PC – the Very Easy Way.

Søren Hansen

Søren Hansen

Senior Mobile Developer, 2BM

Share This