Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

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. This repository contains SH…

License

Notifications You must be signed in to change notification settings

SAP-archive/cloud-hana-shine-sp8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Important Notice

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

#cloud-hana-shine

#cloud-hana-sample=shinesp8

Importing the "SHINE" source code to a Trial SAP HANA Instance with Eclipse

Authors: Arun Rajamani, 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.

This repository contains SHINE SP8 that can be used with HANA SP8 or later.

Requirements

Add HANA System

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

Create a package with name shine. A detailed description can found be at TODO

Add HANA repository workspace

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.

Check Out the Project

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

Get the example code

Import the sample project

  • In the SAP HANA Development perspective go to Project Explorer tab, right click and choose Import->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}} to shine.

  • change model_access.hdbrole file content from

      role {{PACKAGE_NAME}}::model_access {
          application privilege: {{PACKAGE_NAME}}::Basic;
      }
    

    e.g. to

      role p1940xxtrial.myhanaxs.shine::model_access {
          application privilege: p1940xxtrial.myhanaxs.shine::Basic;
      }
    

7. Share the project

  • Right click on the shine project and choose Team->Share Project-SAP HANA Repository.
  • Click Next and then Finish button.

8. Activate

  • Right click on the shine project and choose Team->Activate.

9. Run

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

TODO

Add a link to the Step by step guide for the Web IDE scenario.

About

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. This repository contains SH…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published