Deleting License Keys

Context

You can delete old license keys that are no longer required enhance the performance of the license check and maintain an overview of the system landscape.

Procedure

  1. Log on to the host on which the central SAP instance is running at operating system level as user <sid>adm.
  2. First display a list of installed licenses. To do this, enter the command saplikey pf=<profile> -show.

    In the above example, you can see that three license keys (two requested and one temporary) are installed in the system. Under the system names, notice that two license keys have been installed for the system TST and one license key has been installed for the system PRD. This could be the case if the you copied system PRD to the name TST and a requested license was then installed for the copied system TST. However, the old license key of system PRD still exists. You can no longer use this old license key in the new system and can therefore be deleted.

  3. Delete the license key with the command saplikey pf=<profile> -delete <SID> <hardware key> <product>.

    To delete all license keys, use the placeholder asterisk (*).

    For example, to delete all license keys for NetWeaver_ORA, enter the following command: saplikey pf=<profile> -delete '*' '*' NetWeaver_ORA.