Getting a Development License

Generate a permanent license for use with a local development and test environment.

Prerequisites

Before you can generate a permanent license file, ensure you have installed SAP Commerce Cloud locally and that it already has a temporary license. Check before proceeding by opening a terminal window, navigating to your platform directory and entering the following command.

For unix systems:

./license.sh -show

For Windows systems:

license.bat -show

You should then see something like the following:

The following license keys were found:
System. . . . . : CPS
Hardware Key. . : Y4989890650
SW product. . . : CPS_SQL
SW product Limit: Unlimited
Begin date. . . : 17/Jun/2020
Expiration date : 15/Sep/2020
License key type: Temporary
Installation No.: 0000000000
System No.. . . : 000000000000000000
Validity. . . . : valid

For more information, see Command Line License Tool.

Context

The temporary license provided when you download and install SAP Commerce Cloud in a local environment only gives you a maximum of 120 days use. If you’re deploying SAP Commerce Cloud to use for extended periods of development and testing, then you need a permanent license. You can generate a license with the license generation tool in the SAP ONE Support portal. This process provides you with a file that you can download and install in your local environment using the built-in command-line license tool.

All command line examples in this topic use the unix shell script. Replace it with license.bat for Windows.

Procedure

  1. Log on to the SAP ONE Support PortalInformation published on SAP site, and navigate to License Keys (On Premise).
  2. Add a new system.
  3. Enter SAP Commerce as Product, and select the correct version from the Version list.
  4. In the details screen, enter the following, then click Continue:
    • System ID: CPS
    • System Name: Any name you choose to identify your installation
    • System Type: For a development license, select Development system
    • Database: Your installed database
    • Operating System: Your operating system
  5. Once the system is defined, select + to Add License Key
  6. Enter your Hardware Key into the Create License Key Request window.
    1. Open a terminal window, navigate to your platform directory and enter ./license.sh -show
    2. Find and copy your hardware key from the information that is returned.
    3. Paste this hardware key into the Hardware Key field.
    4. Click Add.

    License Type and Valid until details should be pre-filled, so you do not have to enter these manually.

  7. Select your license key, then click Generate at the bottom of the screen to generate a license key file for the requested system.
  8. Download or email the generated file and save it to your system from the icons on the right above the list of licenses.
  9. Import the keyfile to your system using the command-line license tool.
    ./license.sh -install /path/to/keyfile.txt

    If successful, the tool displays the following:

    1 SAP license key(s) successfully installed.
  10. Check that the license key was successfully updated to a permanent license, with the specified expiry date.
    ./license.sh -show

    You should see output similar to the following:

    The following license keys were found:
    System. . . . . : CPS
    Hardware Key. . : Y4989890650
    SW product. . . : CPS_SQL
    SW product Limit: Unlimited
    Begin date. . . : 17/Aug/2020
    Expiration date : 18/Feb/2022
    License key type: Permanent
    Installation No.: SAP-INTERN
    System No.. . . : 000000000850507119
    Validity. . . . : valid