This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.
#cloud-hana-shine-opensap
#cloud-hana-sample=SHINEOpenSAP
Authors: Dobromir Zahariev, Stephan Weber, Sangeetha Jayakumar
SAP HANA Interactive Education SP06 is a simplified version of the SHINE application, which is used in the OpenSAP courses.
- 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 SPS6 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-opensap as workspace name.
- Enter C:\hanaxsws as workspace root.
- Click
Finishbutton.
The final workspace location is C:\hanaxsws\cloud-hana-shine-opensap.
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
Repositoriestab, expand your repository workspace e.g.p1940xxtrialand right click on it. -
Click
Check Out. -
Now you have a local folder like
C:\hanaxsws\cloud-hana-shine-opensap\p1940xxtrial\myhanaxs\shine
-
Download https://github.com/SAP/cloud-hana-shine-opensap/archive/master.zip.
-
The zip file contains a subfolder
cloud-hana-shine-opensap-master/shine. Extract its content to the folderC:\hanaxsws\cloud-hana-shine-opensap\p1940xxtrial\myhanaxs\shinewe created in the last step.
-
In the
SAP HANA Developmentperspective go toProject Explorertab, 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-opensap\p1940xxtrial\myhanaxs\shine. -
Click
Finishbutton. 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.hdbrolefile content fromrole {{PACKAGE_NAME}}::model_access { application privilege: {{PACKAGE_NAME}}::Basic; }e.g. to
role p1940xxtrial.myhanaxs.shineopensap::model_access { application privilege: p1940xxtrial.myhanaxs.shineopensap::Basic; }
- Right click on the
shineproject and chooseTeam->Share Project-SAP HANA Repository. - Click
Nextand thenFinishbutton.
- Right click on the
shineproject 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 URLlink 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.