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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Packages<br />

Within the repository, development objects are managed as files within packages. Packages enable you to:<br />

● Create namespaces, so you can uniquely identify development objects.<br />

● Group objects that logically belong together.<br />

● Provide containers for your objects so you can easily insert relevant objects into delivery units and transport<br />

them.<br />

● Assign permissions at the package level.<br />

You might create a top-level package for your company, and then a subpackage for each project, and then<br />

subpackages for parts of your project, for example, a subpackage for your HTML files, another for server-side<br />

JavaScript files, and so forth.<br />

Workspaces<br />

When working with development objects, you need to retrieve them from the repository, work on them on your<br />

workstation, and then return them to the repository. To make this simpler, the <strong>SAP</strong> <strong>HANA</strong> studio enables you to<br />

create a repository workspace, which establishes a link between two locations:<br />

● The repository of the <strong>SAP</strong> <strong>HANA</strong> system where you wish to maintain the development object files of your<br />

projects (in the form of a package hierarchy).<br />

● A directory/folder on your workstation where you checkout these project files while you are working on them.<br />

Working with Objects<br />

When creating development objects, the following is the workflow:<br />

1. Create a project.<br />

2. Share the project to associate it with a workspace, and thus a specific <strong>SAP</strong> <strong>HANA</strong> system. Shared projects,<br />

once they are activated, are available for import by other members of the application-development team.<br />

3. Create a new object file within the project, and save it to your workstation. Depending on the extension of the<br />

file you create, you may use a dedicated editor for that type of object, for example, a JavaScript editor<br />

for .xsjs files.<br />

4. Commit the file.<br />

22<br />

P U B L I C<br />

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

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

<strong>SAP</strong> <strong>HANA</strong> as a Development Platform

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

Saved successfully!

Ooh no, something went wrong!