28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.3.1 <strong>SAP</strong> <strong>HANA</strong> Repository Packages and Namespaces. ...............................43<br />

4.3.2 Defining Repository Package Privileges. .......................................46<br />

4.3.3 Creating a Package. .....................................................46<br />

4.3.4 Defining a Package Hierarchy. ..............................................47<br />

4.4 Creating the Application Descriptors. ................................................49<br />

4.4.1 The <strong>SAP</strong> <strong>HANA</strong> XS Application Descriptor. .....................................49<br />

4.4.2 Create an Application Descriptor File. .........................................50<br />

4.4.3 The Application-Access File. ...............................................50<br />

4.4.4 Application-Access File Keyword Options. ..................................... 53<br />

4.4.5 Application-Access URL Rewrite Rules. ....................................... 56<br />

4.4.6 Enabling Access to <strong>SAP</strong> <strong>HANA</strong> XS Application Packages. ...........................57<br />

4.4.7 The Application-Privileges File. ............................................. 59<br />

4.4.8 Create an <strong>SAP</strong> <strong>HANA</strong> XS Application Privileges File. .............................. 60<br />

4.5 Tutorial: My First <strong>SAP</strong> <strong>HANA</strong> Application. .............................................62<br />

4.5.1 Open the Development Perspective. ......................................... 62<br />

4.5.2 Add a System. .........................................................63<br />

4.5.3 Add a Workspace. ...................................................... 66<br />

4.5.4 Add a Project. ......................................................... 67<br />

4.5.5 Share Your Project. ..................................................... 68<br />

4.5.6 Write Server-Side JavaScript. ..............................................70<br />

4.5.7 Retrieve Data. ......................................................... 72<br />

5 Setting Up the Persistence Model. ................................................74<br />

5.1 Schema. .................................................................... 75<br />

5.2 Creating Schemas. .............................................................76<br />

5.3 Tables. ..................................................................... 76<br />

5.4 Creating Tables. ...............................................................77<br />

5.5 Sequences. ..................................................................78<br />

5.6 Creating Sequences. ............................................................79<br />

5.7 SQL Views. .................................................................. 80<br />

5.8 Creating SQL Views. ............................................................81<br />

5.9 Data Provisioning Using Table Import. ...............................................82<br />

5.9.1 Table-Import Model. .....................................................83<br />

5.9.2 Table-Import Data. ......................................................83<br />

5.9.3 Table-Import Extensions. ................................................. 84<br />

5.9.4 Table-Import Configuration-File Syntax. .......................................84<br />

5.10 Importing Data Using Table Import. .................................................85<br />

5.11 Using Imported Table Data in <strong>SAP</strong> <strong>HANA</strong>. .............................................87<br />

5.12 Using Imported Table Data in an <strong>SAP</strong> <strong>HANA</strong> XS Application. ................................88<br />

5.13 Extending a Table Import. ........................................................89<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Table of Contents<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!