SAP HANA – system lock, license is invalid or expired

Sometimes You may observe situations like the one below regarding an expired license in tenant HANA.

The screens are from SAP HANA Cockpit and Studio:

Solution

It’s not possible to install the license for the tenant from HANA studio as the “Install License Key” button is grayed out. Therefore You should run Hana Cockpit and choose:

The same option is available in the Database Administration section -> Database License.

Now You can upload a new license which was earlier prepared on SAP for Me page. Look to Dashboard: Services and Support -> Request License Keys

Of course, You can also import tenant license using SQL commands. Running the following SQL directly in the tenant DB by the user who has the LICENSE ADMIN system privilege

SET SYSTEM LICENSE <license_key>

where in <license_key> place You have to copy the content of your license text (open certificate in notepad and copy all), for example

SET SYSTEM LICENSE
'----- Begin SAP License -----
SAPSYSTEM=SID
HARDWARE-KEY=BXXXXXXXXXX
INSTNO=00XXXXXXX1
BEGIN=20240304
EXPIRATION=99991231
LKEY=...
SWPRODUCTNAME=SAP-HANA
SWPRODUCTLIMIT=000000XX00
SYSTEM-NR=000000000XXXXXX99';

Copyright © 2024. SAPBasisWorld.com Privacy Policy