Quantcast
Channel: SCN : Document List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 1183

[SAP HANA Academy] - Application Development on SAP HANA Cloud Platform: Accessing a Schema in SAP HANA Studio

$
0
0

In another installment of the SAP HANA Academy’s video series on SAP HANA Cloud Platform Jamie Wiseman demonstrates how to connect a database schema hosted in the SAP HANA Cloud Platform to SAP HANA Studio.

 

As a prerequisite for this tutorial a user must first follow the steps outlined in this video from the SAP HANA Academy on Setting up the Eclipse IDE.

 

Creating a New Schema (0:50 – 1:32)

 

Go to the SAP HANA Cloud Platform cockpit on a web browser and login with your credentials. Next click Database Schemas on the left hand side and then select New Schema. Enter any name you desire for the Schema ID and then hit the Save button to put the newly created schema into the above list of database schemas in the cockpit.

 

Tunneling into the SAP HANA Cloud Platform using SDK Tools (1:32 – 4:12)

 

Go to the place in the Windows File Explorer where your SDK tools were installed and copy the path name. Next open up a command window by selecting Run from the start menu and typing cmd into the Open text box.

 

Navigate to the path where the SDK tools are by typing cd and then pasting in the path and pressing enter. Then enter the second line below starting with neo open-db-tunnel using your own schema name and SAP HANA Cloud Platform user name.

 

Screen Shot 2014-08-20 at 3.26.33 PM.png

 

After entering your SAP HANA Cloud Platform user password when prompted you may encounter a proxy error. To resolve this proxy error follow the steps in the read me file located with your SDK tools in the Windows File Explorer. 

 

After setting the correct proxy in the command window copy and paste in the tunnel syntax used before into the command window. Now after entering your password you have successfully tunneled into the SAP HANA Cloud platform.

 

Also contained in the read me file is information about how to set up the properties of your proxy to prevent you from regularly having to correct the proxy when tunneling.

 

Back in the command line tool a Schema name, user name and temporary password are now displayed. This information is only pertinent for the recently created database schema. The tunnel is open for 24 hours and if 24 hours passes or the tunnel is closed only the user’s password information will change. A user can connect to only one personal schema at a time in the SAP HANA Studio.

 

Connecting to the SAP HANA Cloud Platform Schema in SAP HANA Studio (4:58 – 7:56)

 

In SAP HANA Studio click on Window in the menu bar and choose Open Perspective and select other. Then scroll down and choose SAP HANA Development. Now go to the systems tab, right click anywhere in the area and select Add Cloud System… . Set the Landscape host as hanatrial.ondemand.com and then enter your account name (which is your user name plus the word trial appended at the end), your user name and password. Also choose to save your password before clicking on the Next button.

 

On the following screen choose the recently created schema as the Trial instance and press finish to successfully connect SAP HANA Studio to the SAP HANA Cloud Platform schema.

 

Now within the Catalog folder there is a personal development schema and another schema for the user beginning with DEV.

 

The description of the systems added to SAP HANA Studio shows the SAP HANA instance name along with the user name created in the SAP HANA Cloud Platform connection. This may not be ideal especially if more systems are added to the SAP HANA Studio. To differentiate between systems right click on the system and choose properties. After selecting Resource on the left hand side type in a name applicable to the schema in the Description text box and then click Ok.

 

If the tunnel connection is disconnection via signing out or 24 hour passing then SAP HANA Studio will need to be restarted once the tunnel connection has been reestablished.

 

Check out Jamie’s video on connecting SAP HANA Studio to schema created in the SAP HANA Cloud Platform.

Screen Shot 2014-08-21 at 11.36.45 AM.png

View more tutorial videos about SAP HANA Cloud Platform at the SAP HANA Academy.


SAP HANA Academy - over 500 free tutorial technical videos on using SAP HANA.


-Tom Flanagan

SAP HANA Academy

Follow @saphanaacademy


Viewing all articles
Browse latest Browse all 1183

Trending Articles