Creating a Mobile App in Hana Cloud Platform Mobile Services (HCPms)
Jack Ross, Software Engineer, WillowTree, Inc.®
Andrew Carter, Senior Software Engineer, WillowTree, Inc.®
Hana Cloud Platform mobile services (HCPms) is a powerful new tool released by SAP to allow for quick extension and management of SAP components to mobile devices. HCPms offers many tools to ease the development process including:
- Multiple authentication methods
- Secure access to on-premise and cloud-based systems
- One-to-One and One-to-Many Push Notifications
- Data synchronization
- Remote logging
The steps to create an app in HCPms take about 15 minutes. To get started, you need to create a Hana Cloud trial membership. Once you have registered and logged in, you will be directed to the Hana Cloud Platform Cockpit. Select Services in the left hand panel, then navigate to Mobile Services.
Mobile services are disabled by default. To enable, select the Mobile Services Tile, and click enable.
The service will take a few minutes to start up. In the case of a “failure starting service” warning, simply wait a few minutes, and click enable again. Once the status changes to Enabled, select Go To Service. This will take you to the Hana Cloud Platform Mobile Services Cockpit.
In the Mobile Services Cockpit, click the Create Application button and fill in the form information. For iOS apps, select Native type. If you want to require user sign-on to access the SAP data, select the appropriate Security Configuration (see picture below).
Save the application and you are ready to create your first HANA Cloud mobile application. For authentication and access, you will need the Application ID and authentication data (account and password). For trial accounts, you only have one user account and the credentials are the same as the credentials used to login to HANA Cloud.
To start authenticating from a mobile client be sure to read the tutorial we’ll be publishing tomorrow, SAP Mobile Application Tips: SCM Authentication Without MAD.