Skip to Content
Author's profile photo Amol Gupta

A complementary installation guide to openSAP “Developing Java-Based Apps on SAP HANA Cloud Platform” MOOC (Week 1) – PART 2

Introduction : A lot of participants had trouble (including myself) doing the initial setup as the installation step was referred to another course and there were quite some points where troubleshooting was needed. This documents aims at smoothening out those rough edges for people who are not too savvy with the mentioned tools yet. Also a lot of screenshots make it much easy to understand.

Date created : 14.09.2016

Environment : 64 bit Windows 10 laptop. Take care of appropriate versions if you are using a Apple device or a 32 bit machine.

Note for the readers : This document is a work in progress. I will try to iteratively enhance it. Do let me know if you have any suggestions or find something that should be covered and the same will be accomodated in the document.

This is Part  2 of a 2 part series. You  can find Part 1 here.

A complementary installation guide to openSAP “Developing Java-Based Apps on SAP HANA Cloud Platform” MOOC (Week 1) – PART 1

http://scn.sap.com/docs/DOC-75155

Open the SAP Hana Cloud Platform Cockpit and navigate to Java Applications

Capture.PNG

Now use the Deploy Application button to start the wizard for Application (.war file) deployment

Capture.PNG

The file should be at the following link:

C:\Users\<username>\git\cloud-espm-V2\deploy\espm-cloud-web.war

Please note that the Application name should be “espm”

Capture.PNG

Capture.PNG

Now click on the ESPM application

Capture.PNG

Start the Application if not started.

Capture.PNG

After start the Application URL is generated

Capture.PNG

If you run the application at this point you will notice that Product List is empty.

Capture.PNG

To resolve this problem go to Cockpit -> Persistence -> Databases and Schemas

Capture.PNG

Click on “New”

Capture.PNG

Replace p<username>trial.espm.web with yourHCPAccountName.espm.web

Capture.PNG

Click on Data Source Bindings

Capture.PNG

Click on new Binding

Capture.PNG

Select the Java Application name and save.

Capture.PNG

Now go back to the ESPM Java Application and Stop and Start it in that order.

Capture.PNG

After this step revisit the Application URL

https://espm<pYourUserName>trial.hanatrial.ondemand.com/

Ahoy ! It would be a pleasant surprise to see the Product list being populated !

Capture.PNG

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Archana Prasad
      Archana Prasad

      Thank you Amol for sharing this information.

      The only issue i faced was creating New Data Source Binding.

      Later i realized that Binding can be created from newly created schema.:)

      Now i am able to see the Sales order items.

      Author's profile photo Vivek Sheel Gaur
      Vivek Sheel Gaur

      Thanks, indeed very useful information!

      Author's profile photo Former Member
      Former Member

      Thanks,

      this last step was missing in the course documentation and I lost much time to solve the issue.

      Good work!