HANA DB license and Types
License keys are required to use SAP HANA databases. You can install, and delete license keys using the SAP HANA studio, the SAP HANA HDBSQL command line tool, and SQL.
There are two types of license
Temporary License Keys
A temporary license key, which is valid for 90 days, is automatically installed with a new SAP HANA system. During this period, you should request and apply for a permanent license key.
Permanent License Keys
You can request a permanent license key on the SAP Service Marketplace under Keys & Requests.
Permanent license keys are valid until the predefined expiration date. Furthermore, they specify the amount of memory licensed to the target SAP HANA installation. Before a permanent license key expires, you should request and apply a new permanent license key. If a permanent license key expires, a temporary license key valid for 28 days is automatically installed. During this time, you can request and install a new permanent license key.
There are two types of permanent license key available for SAP HANA:
unenforced and enforced. If an unenforced license key is installed, the operation of SAP HANA has not affected its memory consumption. exceeds the licensed amount of memory. However, if an enforced license is installed, the system is locked down when the current memory consumption of SAP HANA exceeds the licensed amount of memory plus some tolerance.
License Key Type License Key File Entry
Unenforced SWPRODUCTNAME=SAP-HANA
Enforced SWPRODUCTNAME=SAP-HANA-ENF
You can check the properties of your SAP HANA license in the SAP HANA studio. You must have the system privilege "LICENSE ADMIN"
How to check
Select the Systems
to view, right-click the system
choose Properties -- License
you will get the below screen
Here we can see License Type/ start date and Expire Date
we can also check the license and other important details from view M_LICENSES
select * from "PUBLIC"."M_LICENSES"IMP: to download the license we need the HANA DB installation number which we can find on the same screen
Thanks
Rupesh Chavan