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.
Task
To activate the sample data for ESPM:
- Start
Gateway Management
Cockpit by
entering https://host_name:https_admin_port/gateway/cockpit in any
supported
browser.
- Log in using the administrator user name and password..
You should see "EspmService" under Registered Services.
- Configure the JPA destination for the ESPM service:
- Select the DESTINATIONS tab.
- Click Create a New Destination and enter:
Configuration Values for New DestinationField |
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 |
- Click Save.
- Assign the destination ESPMDestination for the service or for entity sets. See
Assigning and Removing Destinations in Gateway Management
Cockpit.
- Activate the Espmservice service:
- Go to the SERVICES tab, and verify that
ESPMDestination is the default destination for
Espmservice.
- Select the Espmservice row and click
Activate/Deactivate to activate the
Espmservice.