DEV Community

Ashwin Sharma P
Ashwin Sharma P

Posted on • Originally published at Medium

SAP Basis snippets #5

Installing license via telnet

Today we will see the steps to install license using telnet.

Login to telnet

telnet localhost 5<instance no.>08
Enter fullscreen mode Exit fullscreen mode

It asks for your username and password. Give your java administrator username and password.

Now type the below command to add the licensing menu.

add licensing
Enter fullscreen mode Exit fullscreen mode

To know the hardware id of your sap system, give the below command.

mshardwareid
Enter fullscreen mode Exit fullscreen mode

The below command displays the SID.

mssystemid
Enter fullscreen mode Exit fullscreen mode

Download the license .txt file and place it in your host.

To install a license, we use the command.

install_license -file <path where the license file is placed>
Enter fullscreen mode Exit fullscreen mode

The below command lists out the installed licenses.

LIST_LICENSES
Enter fullscreen mode Exit fullscreen mode

For deleting we use the command delete_license. But we have to pass an additional parameter along with this.

To delete all the licenses, we use the command.

delete_license -all
Enter fullscreen mode Exit fullscreen mode

To delete a license of particular index as returned by LIST_LICENSES command, we use the command.

delete_license <index number>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)