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.
cancel
Showing results for 
Search instead for 
Did you mean: 
Manjunath
Product and Topic Expert
Product and Topic Expert
0 Kudos
Welcome to Part3 - App Configuration on SAP Cloud Platform "mobile service for Development and Operations" portal.

We will now look at the following.

  1. Login into the "Mobile Service for Development and Operations" Admin portal

  2. Sample oData URL (i.e., backend data through oData URL)

  3. App configuration on "Mobile Service for Development and Operations" portal

  4. Test the App configuration on "Mobile Service for Development and Operations" portal


Chapter1: Login into the "Mobile Service for Development and Operations" Admin portal




























Launch the url in Chrome

https://account.hanatrial.ondemand.com/

 
Click on Services on left side


Search for “Development & Operations” service.

It must be enabled. If it is disabled, then you need to follow Part1.


Click on “Development & Operations” service.

And then, click on Go to Service.


"Mobile service for development and operations" admin portal will be opened in another tab.

 


HCP Ms admin portal link would be:

https://hcpmsadmin#####trial.dispatcher.hanatrial.ondemand.com/sap/mobile/admin/ui/index.html

##### should be replace by your C/I/D/P/S number

Chapter2: Sample oData URL (i.e., backend data through oData URL)

We will use the sample oDATA URL which is there on HCP trial account. This oDATA URL acts as backend service.
























Click on Developer on the left side in HCP Ms Admin portal.

You would see the sample service details on the right side.

Note: This sample service only available on trial account.


There are different Entity sets available in sample service.

Select any one of Entity set which is in the dropdown list and see the parameters down.






If you want to see the data through a URL, then click on specs symbol icon.

 






The link will be opened in another tab.

 




 


Sample service oData URL would be:

https://hcpmsadmin-#####trial.dispatcher.hanatrial.ondemand.com/mobileservices/Admin/ESPM.svc/

##### should be replace by your C/I/D/P/S number

We would be using this oData URL for developing the iOS mobile app.

Chapter3: App configuration on "Mobile Service for Development and Operations" portal





















Click on Home on left side.

 




 


Click on Application tile.

 




 


You would see the list of existing app configurations. Otherwise, you wont see any app configurations.

Download com.sap.hcpsdk.sample_1.0.zip file from here

Lets start configure the new app by importing the com.sap.hcpsdk.sample_1.0.zip file.

Click on the Import icon.


Click on Browse and select the com.sap.hcpsdk.sample_1.0.zip file.

Click on Import.

You would see the new entry in the Applications.

 









Chapter4: Test the App configuration on "Mobile Service for Development and Operations" portal

















Click on Settings icon on right side

 


Click on Ping on the popup window.

 


You would see that Ping executed successfully message.

That means, app has been configured correctly without any issues.




 

So far, we have successfully configured the app on "Mobile Service for Development and Operations" portal.

We will now focus on iOS app development in the next blog.

Thank you.
3 Comments
former_member190010
Contributor
Hi manjunath.gudisi,

Thank you for this excellent series of post.

Could you please upload the file that contains the configuration of the app defined in hcpms?

Other way, please share the configuration that must be done.

 

Thanks!

Emanuel
Manjunath
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Emanuel,

Thanks for the feedback. I have updated the Blog and added mDocs link just now. Please have a look at it. Thank you.

-MG
0 Kudos
Hi,

Very good article.

Following the link for download "com.sap.hcpsdk.sample_1.0.zip", I get an error from sap document center that says that the public access to the folder has expired. May you provide another link?

Thanks