Documente Academic
Documente Profesional
Documente Cultură
License keys are required to use SAP HANA Database. We can install and delete the license keys
using the SAP HANA Studio, SAP HANA HDBSQL command line tool and HANA SQL Query Editor.
The temporary license keys are automatically installed with a new SAP HANA database
installation. It is valid for 90 days from installation date. During this period we should request in service
market place and apply permanent license key.
The permanent license keys are valid until the predefined expiration date. It has to be requested
on the SAP Service Marketplace under Keys & Requests and applied to the individual SAP HANA
database. Furthermore they specify the amount of memory licensed to the target SAP HANA installation.
Note: Before a permanent license key expires, we should request and apply a new permanent
license key. If it is expires, a temporary license key valid for 28 days is automatically installed. During this
time, we can request and install a new permanent license key again.
There are two types of permanent license key available for SAP HANA
I. Unenforced (SWPRODUCTNAME=SAP-HANA)
Unenforced License:
If an unenforced license key is installed, the operation of SAP HANA is not affected if its memory
consumption exceeds the licensed amount of memory.
Enforced License:
If enforced license key is installed the system will be locked if memory consumption of HANA
exceeds the license amount of memory plus some tolerance. If this happens HANA has to be restarted or
a new license key should be requested, or a new license key that covers the amount of memory in use
needs to be installed.
Important Points
There are a few different license models for SAP HANA depending on the business scenario
(SAP HANA Stand-alone, SAP HANA Cloud, SAP Business Suite, SAP NetWeaver Business
Warehouse or another Application on top of SAP HANA, etc.) and not all of them are based on
memory.
If anyone have license related any questions, Please Contact with your SAP Account Executive who will
gladly provide details.
For example of SAP HANA License Install and delete using the SAP HANA Studio, SAP HANA
HDBSQL command line tool and HANA SQL Query Editor.
Fill the required details Host Name, Instance Number, Description and Select the Locale.
Press next to Enter the User Name and Password with LICENSE ADMIN privilege User.
Press Finish Button. The screen shows HDB, SYSTEM and License(optional) are SID, User and
Description
Right on DB1 to Property
To request the first permanent license key for a newly installed SAP HANA database, you need to
provide the hardware key and the system ID. To request a subsequent permanent license key, you need
the installation number and system number of your SAP HANA database. You can get the required
information in the SAP HANA studio as follows:
I. In the Systems view, right-click the system and choose Properties License.
II. Get Hardware Key and you can use SQL to access the required information from the M_LICENSE
system view.
The below Screen shows SAP Internal License Register, But your customer place Installation Number
display instead of SAP-INTERN.
Quantity of Memory
Enforced SWPRODUCTNAME=SAP-HANA-ENF
Select License.txt file from directory where you downloaded file saved directory
Copy License key from License.txt file and execute the command line SET SYSTEM LICENSE
<Entire License.txt file>;
Note: Before update License in command line, we should enable multiline mode on this server using this
command: \mu ON. (updated this from Kimberley Chens feedback.)
We can delete all existing license keys in an SAP HANA database, for example, if permanent license
keys with an incorrect installation number or incorrect system number were installed on the database.
Prerequisites
In the Systems view, right-click the system and choose Properties License.
Hana HDBSQL
All permanent license keys are deleted. This results in the lockdown of the database. The installation
of a new, valid permanent license key is required to unlock the database.
System Lockdown
2. You were using a temporary license key and the hardware key has changed.
3. The permanent license key has expired and you did not renew it within 28 days.
4. The installed license key is an enforced license key and the current memory consumption
exceeds the licensed amount plus the tolerance.
In lockdown mode, no queries are possible. Only a user with the system privilege LICENSE ADMIN can
connect to the database and execute license-related queries, such as, obtain previous license data, install
a new license key, and delete installed license keys. In addition, the database cannot be backed up in
lockdown mode.
SAP Note 1739427 How to request and install SAP HANA license key from SAP for more details.
https://scn.sap.com/docs/DOC-55942