Skip to Content
Author's profile photo SIMMACO FERRIERO

How to setup HCPms to leverage SAP Web IDE and connect to an ABAP system


HCPms is the cloud version of SAP Mobile Platform(SMP) and it’s now available for free testing at the following URL. You need to register and to apply the steps reported in the blog listed among the prerequisites in order to enable the HCPms environment for your user. Once you have registered to this service you need to configure it in some way so that you can start consuming any OData service it provides.

In another blog, How to on-board user with HANA Cloud Platform mobile services it’s already explained how to configure HCPms so that it can connect to the Northwind free service: in this guide I will show you how you can do the same with an ABAP system on premise. We will assume that our backend system is named GM6 and that we want to consume the service SRA010_TIMESHEET_APPROVAL_SRV. Of course this is just an example and you can choose whatever ABAP system and service you want.


Let’s get started!

1) Open your SAP HANA Cloud Connector and configure a row in the Access Control menu. The Internal Host parameter is the backend hostname


2) Open the SAP HANA Cloud cockpit and create a destination for the server defined in the HANA Cloud Connector


3) Click on the Applications tile and then on the “+” sign to create a new application


4) Create a new application with the following settings:

Parameter Value
Application ID com.ts.apv
Version 1.0
Name TSApproval
Type Hybrid
Description Timesheet Approval
Vendor SAP
Security Configuration None


5) Switch to the Backend tab


6) Configure the backend in the following way and click on Save

Backend URL http://gm6.virtual:8010/sap/opu/odata/sap/SRA010_TIMESHEET_APPROVAL_SRV/
Authentication Type No Authentication
Maximum Connections 500
Certificate Alias <keep it blank>
Rewrite Mode Rewrite URL on HANA Mobile Server
Relative Paths <keep it blank>
Proxy Type On Premise


7) Going back to the Home you will see that there is now a new application in your cockpit. If you click on the Applications tile you will find the new application and you can ping it in order to check if the connection works fine


8) At this point you need just to create a new application in SAP Web IDE which will consume this data source. Open SAP Web IDE and from Tools –> External Plugins enable the “” plugin


9) Click on OK and then refresh your SAP Web IDE browser page

10) Choose File –> New –> Project from Template

11) Choose the template SAPUI5 Master Detail Kapsel Application

12) Enter the name for your application (i.e. TSApproval)

13) From the Service Catalog dropdown list choose the GM6 system we have previously configured. Enter your credentials if required

14) Select the service SRA010_TIMESHEET_APPROVAL_SRV from the list of the available services and click on Next

15) Enter the following information and click on Next


16) Click on Finish

17) [Optional] You can select the index.html file in the new application and run it in the desktop to check that all is working fine

18) Select the TSApproval application in the SAP Web IDE, right click on it and choose Project Settings –> Device Configuration. Enter the following information

App Name TSApproval
App ID com.ts.apv
Description Timesheet Approval
Version 1.0.0
Kapsel Logon Manager Enabled
Host hcpms-<your user>
Port 443


19) Select the TSApproval application in the SAP Web IDE, right click on it and choose Deploy –> Deploy to local Hybrid Toolkit

20) Once the deployment is finished you can right click on the index.html file in the application and choose Run –> Run on –> iOS (or Android) Simulator (or Device)

21) Once the application on the emulator (device) is started, configure the Kapsel Logon by providing the credentials for the back end system and setting the Secure switch to ON, then click on Register. On the next screen create a passcode or disable it and click on Submit


22) You will get your application up and running


That’s all folks!



Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Marc Anderegg
      Marc Anderegg

      Thanks Simmaco for this excellent blog!

      It works on my side.

      Author's profile photo Former Member
      Former Member

      Hi Marc,

      Did you try with ABAP system or Gateway? I have a service which is not published in Gateway. I have done all the steps as in this blog. But while pinging the application in mobile server, I am getting 404-Not Found error.

      Can you help me?



      Author's profile photo Former Member
      Former Member

      Thanks Simmaco, its very useful steps ­čÖé

      Please share if any latest update .. Good Luck

      Author's profile photo Former Member
      Former Member

      Thanks Simmaco.

      This was what I was searching for after enabling my HCPms instance. ­čÖé Really helpful.

      Author's profile photo Former Member
      Former Member

      Hi Simmaco,'

      I have configured the SAP Cloud Connector, created Destination in HCP Cockpit and created application in MS Cockpit.

      I am connecting directlly with the abap system and I have not published the service in the gateway. I have given the endpoint url as: http://virtualhost:virtualport/sap/opu/odata/namespace/servicename.

      When I ping the application, I am getting "404- Not Found error."

      Please help.



      Author's profile photo Simmaco Ferriero
      Simmaco Ferriero
      Blog Post Author

      Hi Dhani,

      you said you have configured your CC and created a destination in the cockpit. Just to try to understand where is the problem, could you please confirm to me that whenever you try to create a new project (i.e. from the SAP Fiori Master Detail Template) you are able to get data from the ABAP service? If you are not able to get data there there is just a problem with this configuration.



      Author's profile photo Former Member
      Former Member

      Hi Simmaco,

      I created a new project from SAP Fiori Master Detail Template. But I am getting the following error while trying to access the Services.

      "Unable to access the selected system. Check your credentials and try again. "


      I have attached the log from my CC when I try to get the service from the ABAP system


      Author's profile photo Simmaco Ferriero
      Simmaco Ferriero
      Blog Post Author


      it seems that your Cloud Connector (or maybe your backend system) is not properly configured. You can contact me privately and maybe we can schedule a SAP Connect to give a closer look to your problem.



      Author's profile photo Former Member
      Former Member

      Hi Simmaco,

      I am not able to send you any private messages as SCN rule "Cannot send direct messages to users you're not connected to. Also I cannot share my email publicaly here(as it is also a violation of SCN rules)

      Do I have to do any configuration in my backend system so as to get data from ABAP service?



      Author's profile photo Juan SantoTomas
      Juan SantoTomas

      Hi Dhani,

      I'm new in ABAP system and I'd like to connect to on-premise.
      Have you installed anything in the backend system? What I need?

      Did you managed to get data form your ABAP system?


      Author's profile photo Lotfi GAALOUL
      Lotfi GAALOUL


      I have a trail account on HCP, my problem is that I can not find the device configuration option on SAP web IDE.


      Author's profile photo Former Member
      Former Member

      Hello Simmaco,


      In the screen of the login of Kapsel does not appear the option of Registry you could indicate to us and we tried to enter to ES4 but does not recognize the password with which we configured the backend in HCPms, in advance we thank your support.

      Author's profile photo Dominik Steinr├╝cken
      Dominik Steinr├╝cken

      Hi Simmaco,

      I used exactly the same settings but the andriod app doesn't show any data. The UI5 works fine on SAP Cloud Platform, but I have no idea what went wrong while my configuration. Is there any tool to find connections problems, e.g. missing TRUST settings ?


      Best regards