Use the Sample OData Service for Mobile Apps
March 31, 2021
Beginner
10 min.
Use the sample OData service included with the SAP Mobile Services for development and operations account.
You will learn
- How to access the sample OData service that comes with the SAP Mobile Services for development and operations
- How to generate sample data for use in your application
Prerequisites
- Development environment: Apple iMac, MacBook or MacBook Pro running Xcode 9 or higher
- SAP BTP SDK for iOS: Version 2.0
A sample OData service is available for developers to use during development and testing. Administrators can configure the sample service via the cockpit. You can view the root service and metadata URLs, and generate sample sales orders and purchase orders for multiple entity sets. You can also view the data for each entity in a separate text file, and reset the sample data.
You can configure only one sample OData service per tenant.
The following roles are required to use this service:
Role | Service URL | Description |
---|---|---|
Developer | <JAVA application URL>/mobileservices/SampleServices/ESPM.svc/ |
Access the sample OData service |
Administrator | /mobileservices/Admin/ESPM.svc/ |
Administrators configure an application in the cockpit to enable the service for the developer |
Step 1: Open Developer tab
Step 2: Examine the Service information
Step 3: Generate sample data
Step 4: Configure the application definition
Step 5: Set Security Configuration
Step 6: Setup Back End connection
Step 7: Configure SSO mechanism
Step 8: Enter SAP BTP credentials
Step 9: Save configuration
Navigate tutorial steps
-
Step 1: Open Developer tab
-
Step 2: Examine the Service information
-
Step 3: Generate sample data
-
Step 4: Configure the application definition
-
Step 5: Set Security Configuration
-
Step 6: Setup Back End connection
-
Step 7: Configure SSO mechanism
-
Step 8: Enter SAP BTP credentials
-
Step 9: Save configuration
- Back to Top