https://userapps.support.sap.com/sap/support/knowledge/en/2450399
2450399 - SWPM: saplikey returns error code 2 (temp license) | SAP Knowledge Base Article
During the execution of Software Provisioning Manager tool (SWPM) with Oracle database, in step createTempLicense , the tool stops with the following error....