Enabling Mobile Services¶
In Mobile Services cockpit, set up developer and customer accounts.
Procedure for Trial Environments¶
Create an SAP Cloud Platform Trial account and enable the Mobile Services service.
- In your browser, navigate to the SAP Cloud Platform web site and click Start free Trial.
- Register for your Trial account. When you click Submit, you'll receive a confirmation message indicating that an activation link has been sent to your email account.
- Open the activation email and click the activation button.
- Log in to the SAP Cloud Platform with your new account credentials. You'll be prompted to upgrade your account.
- Complete the Upgrade Account dialog and click Register. The SAP Cloud Platform cockpit opens.
- Click the Enter Your Trial Account button on the SAP Cloud Platform cockpit homepage. You are redirected to your Subaccount overview page.
- Navigate to your Subaccount by clicking the trial tile.
- Navigate to your development space by clicking the
- In the left-hand menu, choose Services > Service Marketplace.
- Search for Mobile Services and click on it.
- Click Support to open the SAP Cloud Platform Mobile Services Cockpit
- Choose your trial organization and
devspace from the drop-down list, then click Open.
- You are now logged in to your trial Mobile Services Cockpit.
Procedure for Production Environments¶
An SAP Cloud Platform Mobile Services customer account allows you to support production, business-critical applications. A customer account is also called a production account.
To explore and use the powerful capabilities of Mobile Services cockpit, verify that:
You have purchased a license for SAP Cloud Platform Mobile Services.
A single user within your organization has access to the global account, and is known as an administrator. This user has full access to SAP Cloud Platform Cockpit and can assign subscriptions for Mobile Services cockpit to your organization's SAP Cloud Platform account.
You must have one Global Account and at least one Subaccount in a Cloud Foundry Infrastructure. See Getting Started with an Enterprise Account in the Cloud Foundry Environment to verify.
You should know whether Feature Set A or Feature Set B is assigned to your global account. To find out, right click your user name in the upper right corner of SAP Cloud Platform cockpit, and select About. The Cloud Management Tools property identifies your assigned feature set. To learn more about feature sets, see Cloud Management Tools – Feature Set Overview.
Do not change any of these settings.
To set up the Mobile Services cockpit and integrate it into your internal landscape, a super administrator must perform the following steps.
When you buy Mobile Services from the SAP Store you can select the Mobile Services, consumer edition or the Mobile Services, standard edition. (You can also select Trial).
Depending on the license purchased, you can see the Mobile Services, consumer edition or the Mobile Services, standard edition. If you have purchased both editions, you can enable only one, although both appear in the SAP Cloud Platform cockpit.
On enabling one of the service tiles, the other service tile also appears, and service is accessible from both. For example, if you purchased and enabled Mobile Services, consumer, you will see Mobile Services, standard edition as well, and service can be accessed from either of them.
If you disable one of the services, the other service is automatically disabled, and both the services are deleted. This is an irreversible process. For example, if you disable Mobile Services, consumer, you will not see Mobile Services, standard edition as well, and the service cannot be accessed from either of them.
Log in to your SAP Cloud Platform Global Account by navigating to
Navigate to the corresponding Subaccount to which you have assigned the Application Runtime quota. Additional options appear.
In Entitlements, locate the "Mobile Services" service. Add the service and Save. Depending on your license it might be available in one or two service plans (standard and/or B2C). Select the correct service plan and assign a quota of 1 to the Subaccounts from which you want to use Mobile Services.
If you see other services starting with "mobile", please ignore them. "Mobile Services" contains the full set of features already. The other services for mobile are deprecated.
If you have not yet done so, create a Space and add Space Members using information provided in Managing Spaces. You'll need to be aware of whether your account uses Feature Set A or Feature Set B.
The Space needs an Application Runtime quota of at least 512 MB for Mobile Services. Once the Space is created and set up, navigate to the Space and click on Service Marketplace in the left menu. A tile for "Mobile Services should show up. If this is not the case then restart and ensure the right Subaccount was selected.
If you're a Cloud Platform Cloud Foundry space member administrator, your space member roles also apply when you access Mobile Services cockpit. This enables you to apply role management as expected for all application types (Native/Hybrid, SAP Mobile Cards, and App Lab), for example:
Space Developer role ‒ read and write access to Mobile Services.
- Space Auditor role ‒ read access to Mobile Services.
Space Manager role ‒ read access to Mobile Services.
For more information about Cloud Foundry default roles, see Organizations, Spaces, Roles, and Permissions.
Although a Space Manager or Org Manager can assign self or others the Space Developer role, the Space Developer role is read-only, unless the Space Manager or Org Manager is also assigned the Space Developer role.
By default, business users who don't have access to Mobile Services can't log in, and see the message
You are not authorized for access.As the administrator you, can unselect Restrict
to authorized usersto enable read access for these users.
Following are default Space roles for Mobile Services.
Mobile Services Space Roles |SAP Cloud Platform Role|Permissions|Description (related to Mobile Services)| |---|---|---| |Administrator|read-write|Space Developer ‒ manage your apps, services, and space-scoped service brokers in a space.| |Help Desk|read-only|Combines: Space Manager (administer a space within an org); Space Auditor (read-only access to a space); and Org Manager (administer the org).|
To access Mobile Services cockpit, select Mobile Services in the Marketplace and click on the Support link shown in the service details. Or, create an instance or use an existing service one, and open the dashboard link shown for each service instance.
See the complete list of SAP UI5 supported browsers on SAP Help Portal.
If a Mobile Services cockpit session times out and displays a blank screen, refresh or restart the browser.
(Optional) To access on-premise back ends, install and configure SAP cloud connector. See Installation.
In Mobile Services cockpit, configure on-premise HTTPS back-end connections as HTTP using the virtual host address. Communication between the cloud and your on-premise SAP cloud connector is secure. Communication between SAP cloud connector and your back-end system uses standard HTTPS security.
In SAP cloud connector, verify that necessary back-end service URLs are allow-listed. Every on-premise URL that is configured in Mobile Services cockpit, such as application endpoints or the security configuration, must be allow-listed. See Configure Access Control (HTTP).
Generate a system certificate and import it into SAP cloud connector. See Initial Configuration (HTTP).
Access one of the Mobile Services cockpit URLs described in a previous step.
When you select a space and log in, Mobile Services cockpit performs a health check and informs you of configuration problem such as:
- Missing core services
- Missing mobile services
- Exceeding instance limit threshold
- Exceeding memory limit threshold
This can help you figure out setup problems. If a warning appears, return to the Entitlements section and try to fix the issue. Ignoring the warnings can lead to unexpected results.
Create an application in Mobile Services cockpit. See Configuring Applications.
- Managing Apps
- Getting started with the Cloud Platform SDK for Android
- Getting started with Mobile Back-End Tools
- Native Push Notification for a Back End
- REST API Application Development Overview
- Administration Troubleshooting