Back to Blog
SAP & HANA

How to Install SAP B1 v10 on SAP HANA 2.0

12 December 2020 11 min read SAP & HANA
How to Install SAP B1 v10 on SAP HANA 2.0
SAP & HANA

Updated June 2026 — commands and versions refreshed for current releases. The .SAR/SAPCAR build numbers below (HANA 2.0 SPS05, SAP B1 10.0 PL02) are the specific versions used at the time of writing; download the current SPS/PL from the SAP Support Portal and substitute the matching file names.

This article concludes a five-part series on setting up SAP B1 10 with SAP HANA 2.0. Prior articles covered Hetzner server setup, Proxmox installation, SUSE 15 SP1 configuration, and Windows Server deployment.

Download SAP B1 version 10 and SAP HANA 2.0 from the SAP website. Store the files in a directory with ample space (such as under /hana/data or /usr/sap); you can delete them after installation. The key components are:

  • SAP HANA 2.0 Enterprise for B1 (B1 HANA 2.0 SPS05)
  • SAP B1 10 for HANA (SAP 10.0 PL02)
  • The SAPCAR utility for extracting SAP archives

Install process for SAP HANA 2.0

Initial setup

Log in as root and run the Package Updater for the latest OS updates. Enable SSH if disabled by installing OpenSSH and configuring firewall rules. Optional RDP access requires installing XRDP and VNC through the YaST Control Center.

Preparing software components

Create the software directory and install the prerequisite packages:

mkdir -p /hana/data/software

zypper install python-pycrypto rpm-build nfs-kernel-server python2-pyOpenSSL glibc-i18ndata

Set up the SAPCAR utility. Unzip SAPCAR.zip, make the Linux executable SAPCAR.EXE executable, and copy it to /sbin:

chmod a+x SAPCAR.EXE
cp SAPCAR.EXE /sbin

Extracting SAP components

Unzip the SAP HANA 2.0 archive and move the required files into the software directory:

mv B1\ HANA\ 2.0\ SPS05/DATA_UNITS/SAP\ HANA\ DATABASE\ 2.0\ FOR\ B1/LINX64SUSE/IMDB_SERVER20_050_0.SAR ./
mv B1\ HANA\ 2.0\ SPS05/DATA_UNITS/SAP\ HANA\ CLIENT\ 2.0\ FOR\ B1/LINX64SUSE/IMDB_CLIENT20_005_86.SAR ./
mv B1\ HANA\ 2.0\ SPS05/DATA_UNITS/SAP\ HANA\ AFL\ 2.0\ FOR\ B1/LINX64SUSE/IMDB_AFL20_050_0.SAR ./

Extract the SERVER archive with its manifest signature:

SAPCAR.EXE -vxf IMDB_SERVER20_050_0.SAR -manifest SIGNATURE.SMF

Extract the AFL and CLIENT archives (no manifest required):

SAPCAR.EXE -vxf IMDB_AFL20_050_0.SAR
SAPCAR.EXE -vxf IMDB_CLIENT20_005_86.SAR

Installing SAP HANA components

Navigate to the extracted SAP_HANA_DATABASE directory and run hdblcm:

cd /hana/data/software/SAP_HANA_DATABASE
./hdblcm

Select action index 1 to install a new system, then index 1 to install all components. Configure the installation parameters:

  • Installation Path: /hana/shared
  • Local Host Name: saphana2.example.com
  • SAP HANA System ID: HDB
  • Instance Number: 00
  • System Usage: select development (index 3)
  • Data Volumes Location: /hana/data/HDB
  • Log Volumes Location: /hana/log/HDB
  • Set passwords for the SAP Host Agent User (sapadm) and the System Administrator (hdbadm)
  • Set the System Database User (SYSTEM) password
  • Enable system restart after machine reboot

The installation requires 5–15 minutes. Verify it by switching to the hdbadm user and checking process status:

su - hdbadm
sapcontrol -nr 00 -function GetProcessList

Confirm database connectivity:

hdbsql -u SYSTEM -n localhost:30015 -d HDB

Query the database to verify schemas and tables exist. Then create the script server service:

hdbsql -u SYSTEM -n localhost:30013
alter database HDB add 'scriptserver'

Installing the SAP HANA client for Windows

Extract both the 32-bit and 64-bit HANA client archives from the B1 HANA 2.0 SPS05/DATA_UNITS/SAP HANA CLIENT 2.0 FOR B1 directories.

32-bit extraction:

cd NT_I386
SAPCAR.EXE -vxf IMDB_CLIENT20_005_86.SAR

64-bit extraction:

cd NT_X64
SAPCAR.EXE -vxf IMDB_CLIENT20_005_86.SAR

Transfer the extracted files to the Windows Server using WinSCP with the SCP protocol. Install both clients by running the hdbsetup executable in each extracted SAP_HANA_CLIENT directory, accepting the default values throughout.

Install process for SAP Business One 10.0

How to Install SAP B1 v10 on SAP HANA 2.0

Firewall configuration

Before external clients can connect, open the required SAP HANA ports using the YaST Security and Users -> SAP HANA Firewall tool, rather than disabling the entire firewall.

Extracting SAP B1

Unzip the SAP B1 10.0 archive:

cd /hana/data/software/SAP\ 10.0\ PL02
unzip 51054453.ZIP

Installing SAP HANA Studio

Extract HANA Studio from B1 HANA 2.0 SPS05/DATA_UNITS/SAP HANA STUDIO 2.0 FOR B1/NT_X64:

cd NT_X64
SAPCAR.EXE -vxf IMC_STUDIO2_250_0.SAR

Transfer the extracted SAP_HANA_STUDIO directory to the Windows Server and install it by running hdbsetup.exe, accepting defaults.

Connecting HANA Studio to the tenant database

Launch SAP HANA Studio and create a new host connection with these values:

  • Host Name: saphana2.example.com:30015
  • Instance Number: 00
  • Mode: Multiple containers -> Tenant Database -> HDB
  • Description: saphana2
  • Authentication: Database user
  • User Name: SYSTEM
  • Password: (the SYSTEM user password)

Creating the administrative superuser

Right-click the server name and select Open SQL Console. Execute the following SQL to create the B1ADMIN user:

CREATE USER B1ADMIN PASSWORD UserPassword123;
GRANT CONTENT_ADMIN TO B1ADMIN;
GRANT AFLPM_CREATOR_ERASER_EXECUTE TO B1ADMIN WITH ADMIN OPTION;
GRANT CREATE SCHEMA TO B1ADMIN WITH ADMIN OPTION;
GRANT USER ADMIN TO B1ADMIN WITH ADMIN OPTION;
GRANT ROLE ADMIN TO B1ADMIN WITH ADMIN OPTION;
GRANT CATALOG READ TO B1ADMIN WITH ADMIN OPTION;
GRANT IMPORT TO B1ADMIN;
GRANT EXPORT TO B1ADMIN;
GRANT INIFILE ADMIN TO B1ADMIN;
GRANT LOG ADMIN TO B1ADMIN;
GRANT CREATE ANY, SELECT ON SCHEMA SYSTEM TO B1ADMIN;
GRANT SELECT, EXECUTE, DELETE ON SCHEMA _SYS_REPO TO B1ADMIN WITH GRANT OPTION;

Add a new system connection using the B1ADMIN credentials. The system prompts for a password change on first login.

Installing the SAP B1 server

On the SUSE server, navigate to the SAP B1 installation directory and run the installer:

cd /hana/data/software/SAP\ 10.0\ PL02/Packages.Linux/ServerComponents
install

Follow the installation wizard, accepting most defaults. Key configuration points include:

  • Select a demo database relevant to your country
  • Choose between IP Address or Hostname for server identification
  • Enter a secure password for the administrative user
  • Specify the SAP HANA connection details:
    • Server: IP address or hostname
    • Instance Number: 00
    • Tenant Database: HDB
    • User Name: B1ADMIN
    • Password: (the B1ADMIN password)
  • Select Automatic Restart for restart behavior

Critical: ensure /etc/hosts contains proper entries:

127.0.0.1       localhost
100.100.100.33  saphana2 saphana2.example.com

Incorrect hostname configuration causes connection errors such as "SAP HANA 1.0 port range detected. Failed to connect."

Installing the SAP B1 Windows client

Copy the Prerequisites and Packages.x64 directories from /hana/data/software/SAP 10.0 PL02 to the Windows Server. Run setup.exe from the Packages.x64\Client directory. When prompted for the SLD, enter the IP address or hostname defined during the server install. Accept the default values throughout.

The complete installation establishes a fully functional SAP B1 10.0 environment running on the SAP HANA 2.0 database.

Indivar Software Solutions

SAP Business One consulting and custom software development since 2009. Offices in India, New Zealand, and the USA.

Related Articles

More on SAP & HANA

Need Help with SAP Business One?

Whether you need implementation support, custom add-ons, or strategic ERP advice, our team is ready to help. over 17 years of SAP B1 experience across India, New Zealand, and the USA.