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

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. 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.

    (0) 

Leave a Reply