#cloud-hana-shine
#cloud-hana-sample=shine
Authors: Dobromir Zahariev, Stephan Weber, Sangeetha Jayakumar
SAP HANA Interactive Education, or SHINE, is a demo application that makes it easy to learn how to build native SAP HANA applications. The demo application, comes complete with sample data and design-time developer objects for the application's database tables, data views, stored procedures, OData, and user interface.
- You have an Eclipse IDE with HANA Tools installed. A detailed description can be found at Setting Up the Tools.
- You have created a Trial SAP HANA Instance, e.g. with the name
myhanaxs
.
In the SAP HANA Development
perspective go to Systems
tab, right click and choose Add cloud System
. A detailed description can be found at Connecting to a Productive SAP HANA Instance via the Eclipse IDE.
This SHINE application is SP08 version. It will be imported in the specified SAP HANA schema and Repository package.
Create a package with name shine. A detailed description can found be at TODO
In the SAP HANA Development
perspective go to Repositories
tab, right click and choose Create repository workspace
.
- Enter cloud-hana-shine as workspace name.
- Enter C:\hanaxsws as workspace root.
- Click
Finish
button.
The final workspace location is C:\hanaxsws\cloud-hana-shine
.
Warning: The `p1940xxtrial` account we use in the following is just an example of a
name of the trial account. You need to replace it with your actual trial account name.
In addition, replace `p1940xx` with your actual SAP HANA Cloud Platform user.
-
In the
Repositories
tab, expand your repository workspace e.g.p1940xxtrial
and right click on it. -
Click
Check Out
. -
Now you have a local folder like
C:\hanaxsws\cloud-hana-shine\p1940xxtrial\myhanaxs\shine
-
Download https://github.com/SAP/cloud-hana-shine/archive/master.zip.
-
The zip file contains a subfolder
cloud-hana-shine-master/shine
. Extract its content to the folderC:\hanaxsws\cloud-hana-shine\p1940xxtrial\myhanaxs\shine
we created in the last step.
-
In the
SAP HANA Development
perspective go toProject Explorer
tab, right click and chooseImport->Import->General->Existing Projects into Workspace
. Select root directory by browsing for the folder, e.g.C:\hanaxsws\cloud-hana-shine\p1940xxtrial\myhanaxs\shine
. -
Click
Finish
button. The project is listed in the Project Explorer. -
Right click on the project name and rename the project name from
{{PROJECT_NAME}}
toshine
. -
change
model_access.hdbrole
file content fromrole {{PACKAGE_NAME}}::model_access { application privilege: {{PACKAGE_NAME}}::Basic; }
e.g. to
role p1940xxtrial.myhanaxs.shine::model_access { application privilege: p1940xxtrial.myhanaxs.shine::Basic; }
- Right click on the
shine
project and chooseTeam->Share Project-SAP HANA Repository
. - Click
Next
and thenFinish
button.
- Right click on the
shine
project and chooseTeam->Activate
.
- Log onto the cockpit on the trial landscape and choose
HANA XS Applications
. - In the HANA XS Applications table, click the
application URL
link to launch the application.
A detailed description can be found at Launching SAP HANA XS Applications.
Add a link to the Step by step guide for the Web IDE scenario.