Installing the SAP server
This post is a continuation of the How to Install SAP Development Environment for Free – Part 1 where I have outlined the process to install and configure a Linux virtual machine hosting the SAP server. In this new publication I will explain, also in a summarized way, how to install the ABAP system that will help us to have our own SAP development environment.
1. Assign privileges on the installation folder.
- In the terminal write the following instruction (enter the password of the root user if required):
- Navigate to the folder where the executables have been unzipped and change the privileges on the executable script:
chmod +x install.sh
2. Install ABAP server
- Run the command:
- Read and accept the license (as it is very likely that you do not want to read it in full, you can go to the acceptance directly, pressing the Esc key and then: q)
- Enter the password of the Linux user
- Go get a beer and wait patiently for the installation process to finish. It will take some time (and so the install script warns you). At the end you should receive a message advising that everything has gone well:
3. Start the ABAP system:to start and stop the service you must use the user npladm
- Switch to user npladm with command
- Start the server:
4. Configure the client
- To connect to the ABAP server you will need to install the SAP GUI, either on Windows (which I personally recommend for programming in SAP) or the Java version that can be installed on MacOS or other operating systems. If you do not have SAP GUI previously installed, in the installation folder of the ABAP server:
In addition to installing the SAP GUI you will need to install the Eclipse IDE and the ABAP Development Tools (ADT), mainly if you are going to develop for ABAP 7.4 SP5 or higher, using technologies such as CDS and AMDP, because it is only possible to do it with them. I particularly recommend that you use this IDE for all SAP developments, most of the improvements released by SAP for development tools are linked to Eclipse and ADTs. In another post I will discuss how to install both and some of the advantages they offer over traditional development tools.
- On the other hand, you will need to edit the file C: \ Windows \ System32 \ drivers \ etc \ hosts and add a record with the server’s ip address:
& lt; server_ip & gt; vhcalnplci vhcalnplci.dummy.nodomain
- Add a record in the SAP GUI to connect to the new server:
5. License the installation
- In order to use the brand new ABAP server you must register it using a test key:
- Access the server with the SAP GUI, using the following data:
Client: 000 User: SAP * Password: Down1oad
- Obtain the hardware key (Active Hardware Key) with the SLICENSE transaction
- Access the URL https://go.support.sap.com/minisap/#/minisap To request a new key, you must select the NPL system – SAP NetWeaver 7.x (Sybase ASE), enter your personal data and the “Hardware Key” to generate and download the license.
- To install the new license it is necessary to previously delete the ones that are pre-installed. You can do it in the Edit -> Delete license option from the top menu.
- Once the previous licenses have been eliminated, you can install the new one in the Edit -> Install license option.
- If the whole process went well you should see something like this:
The initial validity of the license is 3 months, but you can renew it with the same procedure, each time it expires.
6. End points
- Operating system users: By default, the SAP server installation adds the following users to the operating system (all with the same password that was defined during installation):
|sapadm||Created by SAP hostagent|
|npladm||SAP System Administrator|
|sybnpl||SAP Database Administrator|
- SAP users: The following users are configured by default on the SAP server:
|000||DDIC||Down1oad||Data Dictionary User|
|000||SAP *||Down1oad||SAP Administrator|
|001||DDIC||Down1oad||Data Dictionary User|
|001||SAP *||Down1oad||SAP Administrator|
It is recommended that you use the DEVELOPER user to develop in SAP (or BWDEVELOPER for BI developments). In the next post I will comment a little on the objects that come preconfigured in the ABAP server that we just installed, such as the Fiori Launchpad, SAP Cloud Connector and the applications and example data that we can use to develop.