Activating Sample Data for ESPM

You can use reference data as a test back end for running sample applications. There are sample applications available on SAP GitHub. The Enterprise Sales and Procurement Model (ESPM) is a simple business model scenario for developing a retail business. It is based on the Enterprise Procurement Model (EPM). In this scenario, the datasource is a JPA model for ESPM Java.

Prerequisites
Task

To activate the sample data for ESPM:

  1. Start Gateway Management Cockpit by entering https://host_name:https_admin_port/gateway/cockpit in any supported browser.
  2. Log in using the administrator user name and password..
    You should see "EspmService" under Registered Services.
  3. Configure the JPA destination for the ESPM service:
    1. Select the DESTINATIONS tab.
    2. Click Create a New Destination and enter:
      Configuration Values for New Destination
      Field Description
      <Destination Name> A destination name of your choice for Espmservice, for example, ESPMDestination
      <Destination Type> JPA
      <Persistence Unit> com.sap.espm.model
      <Authentication Type> Basic Authentication
      <Username> gomobile
      <Password> secret
    3. Click Save.
  4. Assign the destination ESPMDestination for the service or for entity sets. See Assigning and Removing Destinations in Gateway Management Cockpit.
  5. Activate the Espmservice service:
    1. Go to the SERVICES tab, and verify that ESPMDestination is the default destination for Espmservice.
    2. Select the Espmservice row and click Activate/Deactivate to activate the Espmservice.
Related tasks
Creating and Configuring Security Profiles