miniSAP Installation – Part 4


Installing and configuring SAPGui

In Part 1, Part 2 and Part 3, we Installed Linux Mint for our SAP system, we Configured the Linux system for our SAP Installation and we installed miniSAP on the Linux system respectively. In this concluding part, we would hit the last nail on the coffin. Our SAPGUI and SAP System would be ready for us to write our first “Hello Beer” (Yes, Hello Beer, not Hello World) program and do some Basis Admin work.

Now let’s install SAPGui, by going to our client folder.

Installing and configuring SAPGui

Open the SAPGUI4Windows folder and run the installer file as administrator (right click, Run as administrator).

Installing and configuring SAPGui

Press Next.

Installing and configuring SAPGui

Select the SAPGui package and press Next.

Installing and configuring SAPGui

Then press Close:

Installing and configuring SAPGui

Now open SAP Logon, that is probably on your desktop.

Click on the New button.

Install IDES for free

Press Next.

miniSAP system for free

Fill out the fields accordingly:

Description: Chose a description for your SAP machine. I went with SAPYard.

Application Server: The IP address that we obtained previously with the ifconfig command. In my case, it’s

Instance Number: 00 (Attention, these are two zero’s, not two o’s).

System ID: NPL

Press Next:

Now press Finish.

my personal SAP System

And double click on our machine description on the list that shows up on SAP Logon.

How to practice SAP?

If you get the following error, it’s because the SAP server is not running.

Resource temporarily unavailable

To fix this, in the Linux terminal, write:

Free Access to SAP Demo System

After a while, the message is displayed showing that the SAP server is running.

How to practice SAP for FREE?

Now let’s try again to double click the machine instance in the list of SAP Logon:

How to practise sap abap programs at home

Success! We can now enter with the following credentials.

User: sap*

Password: Appl1ance

How to practise sap abap programs at home

Finally. So much beer later and we are inside our SAP system! 🙂

However, there are still some things to do…

Getting a license!

First, let’s obtain a developer license.

Go to transaction SLICENSE.

Here we see until when our SAP trial is available.

SLICENSE To check our validity

But don’t worry, because we can renew it.

Just copy the Active Hardware Key to your clipboard (to use the clipboard in both your Virtual Machine and on your host machine, in VirtualBox go to Devices->Shared Clipboard->Bidirectional).

How to extend SAP Trial License?

Go back to the SAP License Keys webpage, here.

Scroll down to NPL – SAP Netweaver 7.x (Sybase ASE) and select it.

Renew SAP Trail System for Free

Fill out your information below the selection:

practice SAP ABAP for Free

Click on I Agree and press Generate:

How can I have free online access to SAP?

How can I have free online access to SAP?

A download dialog will show up. Save the file in the Shared Folder.

How can I have free online access to SAP?

On SAP, press on Install New License.

How can I have free online access to SAP?

And upload the NPL license file that you’ve just downloaded.

My Personal SAP System for Practice

Delete the previous license.

How to install SAP IDES

This will update your license and you need to do this at least every 90 days, to keep your SAP system valid.

Stopping the SAP server

To stop our SAP system, go to the terminal and write.

How to get Free SAP System to learn

If you had the SAP window running, you’ll notice that everything crashed. 🙂

SAP System in Linux

To run it again, it’s the same procedure. But instead of stopsap you’ll write startsap ALL.

my personal SAP Instance for Practice

And after a while, you can enter your SAP system again normally.

Adding a new user

This is actually optional because we can’t program with this user – we have no developer key for this. To those who want to program, we’ll use another username in the next section. This is a user to just explore our system. So for those that want to create one, here are the steps.

Go to the SU01 transaction.

Enter your desired username and click New:

Assign a company name.

Fill out the mandatory fields.

How to create user in SAP

Fill out your first and last name.

And go to the Profiles tab, to fill out the two profiles SAP_ALL and SAP_NEW – just write that in the Profile column – which will give you the authorizations execute whatever you want.

Then go to Logon Data and fill out the initial password.

How to get SAP Remote System?

This password will only be requested once, so don’t think too much about it. You’ll just need to remember it once… It is common practice to use initial<year> for these passwords. So in this case I went with initial2017.

Press Save and you have your new user. You can close this SAP session now (write /nex on the command line):

Now we can enter with our new user.

It will ask for a new password. This one you should remember, so choose wisely.

How to change password in SAP

And that’s it!

You can now finish your beer. We’ll continue with the testing of our system after your hangover is done with you. 🙂

Making a test program – Hello Beer, of course

To develop, we need to use the DEVELOPER user with the Appl1ance password:

Go to the SE38 transaction:

For those new to ABAP, every custom program – that is, a program that is not provided by SAP, but is made entirely by us -, has to start with the letter Z or Y. So we’ll name our program ZHELLO_BEER.

Write ZHELLO_BEER in Program and press Create (notice that in Subobjects the option Source Code needs to be chosen):

Hello World

If it asks us for the developer key, we need to insert the following: 35408798513176413512

Write the name of the program and choose its type and press Save.

Press Local Object, since we don’t have any other system to transport our developments to.

Copy the following code:

Press Activate or CTRL+F3 (notice that our program is still inactive, so it won’t execute).

Press the Direct processing icon or F8 on your keyboard – as everyone does… (I don’t know, I get the shivers every time someone presses the button instead of pressing F8 on the keyboard, but I’m not looking, so go ahead). 😀

And here we have it, your first program (or not, sorry if that is the case) running in your own SAP system.

If you want to get back into the program to make changes, press Back or F3 on your keyboard and open that ABAP learning book you’ve been saving for this moment. 🙂

We have provided you the Yard. Now play around… and have fun! 🙂

Disclaimer: Nothing in this article has been written under the influence of alcohol, I’m just a bad writer. And remember, don’t drink and code!

The other parts of this article can be accessed on the following links:

Part 1 – Linux Mint Installation

Part 2 – Configuring Linux for the SAP installation

Part 3 – Install SAP on Linux System

Part 4 – Installing and configuring SAPGUI


    • Hi Manish – Thank you very much for your comment. You need to manually update all the tables. Our suggestion – Load some random data using some upload programs.. or directly update the table to test. miniSAP is practice system with no particular process table. You can load whatever you want.

      By the way can you please help other readers in Part 3 comment section who are still facing issue while installing it.

      Thanking you.

      Team SAPYard.

  1. partner ‘’ not reached error is coming when i try to open the sap gui. I have validated the IP of server side. When i try to ping from server to client side it doesn’t work but ping from client to server is good.
    Any suggestions ?

  2. I am trying to startsap ALL service from npladm but permission denied. I tried with CHMOD as well : sudo chmod +x startsap ALL; However still command is not executed. Any suggestions

  3. Hi,
    I have installed mini sap but this access key is not working for my new user (SAPYARD).

    could you please suggest how may i get this?


  4. Very well written STEP-BY-STEP guide in details! I am starting out as an intern at a company where I will be learning SAP and ABAP, and you’ve been an enormous help! I can now practice at home with this so I can better prepare myself.

  5. thanks sergio for such wonderful installation guide.

    finally an owner of my own mini sap installation.

    just a curiuos question.. how many times can we renew our license?
    If you can suggest some free books available online to learn fundamental concepts of abap , I mean working of the system, purview of different keywords and all. it would be really very helpful.

    Hoping for some good source to study..

    Thanks again for such a wonderful blog.

  6. Hello Saswata,

    The SAP installation runs on Linux, but on a Virtual Machine which can be installed on basically any OS. I haven’t checked all the directories in the rar files but I don’t believe there is a binary for a Windows native installation.


  7. Excellent article I must say. Thanks a ton for the time and patience the author deployed to materialize this document.
    Just because this intrigued my confidence and interest in doing SAP installation by myself, can I ask for a separate guide with Windows OS?

Leave a Reply to Armin Cancel reply

Please enter your comment!
Please enter your name here