Step by Step with the SAP Cloud Platform SDK for A...
Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
In this section the Mobile Services feature will be enabled in a trial instance of the SAP Cloud Platform and an application will be configured. The configured application will be used for the application's authentication, to enable log upload, to access the provided sample OData service and to provide an offline database.
Note also that Mobile Services was previously named Development and Operations.
Configuring an App
The following steps demonstrate how to configure an application in the Mobile Services management cockpit. Specifically, the app will be configured to use basic authentication and will specify an OData URL that can provide the app with data.
Click on the New button to add a new configuration for an app. Note that the trial account has a limit of five apps.
Create a new app using the native template with the following id.
com.sap.stepbystep
Click on the + icon to add the Sample Back End feature which will provide the data for the application. This will add a mobile destination to the app under Connectivity, removing the warning on the Connectivity feature.
Select the Sample Back End feature.
The Sample OData service contains a UI where the data can be reset or additional purchase and sales orders can be generated.
Change the OData version to be V2. The Offline feature does not currently support V4.
Optionally, view the data directly in the browser with the Runtime Metadata URL using Chrome.For more details on OData see OData Version 2.0.
Notice that under the Connectivity feature, a new destination has been added.
Click on Security to configure it.
Change the Security Configuration to Basic.