After a system copy one can find himself struggling for installing the original system’s license.
In SLICENSE t-code , after trying to install the license the following error appears:
“This system’s system number is <NUMBER>, but there is a license key for system number <OTHER_NUMBER> in the license key file”
Trying to delete the current license will not work because the delete procedure checks the key to be deleted with the current system information.
So what can you do to resolve this situation ?
Here is the solution:
Using t-code SE14 drop table SAPLIKEY and regenerate it.
After that SLIENSE entries are gone and the original license can be installed.