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.

1. Create a package<br />

Packages are necessary to group logically distinct artifacts together in one object location that is easy to<br />

transport.<br />

2. Define the package hierarchy<br />

The package hierarchy is essential for ease of maintenance as well as the configuration of access to packages<br />

and the privileges that are required to perform actions on the packages.<br />

3. Define package privileges<br />

You can set package authorizations for a specific user or for a role. Authorizations that are assigned to a<br />

repository package are implicitly assigned to all sub-packages, too.<br />

Related Links<br />

Creating a package [page 46]<br />

In <strong>SAP</strong> <strong>HANA</strong>, a package contains a selection of repository objects. You assemble a collection of packages into<br />

a delivery unit, which you can use to transport the repository objects between <strong>SAP</strong> <strong>HANA</strong> systems.<br />

Defining the package hierarchy [page 47]<br />

Packages belonging to an application-development delivery unit (DU) should be organized in a clear<br />

hierarchical structure under a single root package representing the vendor, for example, acme.<br />

Defining package privileges [page 46]<br />

In the <strong>SAP</strong> <strong>HANA</strong> repository, you can set package authorizations for a specific user or for a role.<br />

Authorizations that are assigned to a repository package are implicitly assigned to all sub-packages, too. You<br />

can also specify if the assigned user authorizations can be passed on to other users.<br />

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

In <strong>SAP</strong> <strong>HANA</strong>, a package typically consists of a collection of repository objects, which can be transported between<br />

systems. Multiple packages can be combined in a delivery unit (DU).<br />

A <strong>SAP</strong> <strong>HANA</strong> package specifies a namespace in which the repository objects exist. Every repository object is<br />

assigned to a package, and each package must be assigned to a specific delivery unit. In the repository, each<br />

object is uniquely identified by a combination of the following information:<br />

● Package name<br />

● Object name<br />

● Object type<br />

Note: Multiple objects of the same type can have the same object name if they belong to different<br />

packages.<br />

Before you start the package development process, consider the following important points:<br />

● Package hierarchy<br />

Each vendor uses a dedicated namespace, and the package hierarchy you create enables you to store the<br />

various elements of an application in a logical order that is easy to navigate.<br />

● Package type<br />

Packages can be structural or non-structural; some packages contain content; other packages contain only<br />

other (sub)packages.<br />

● Package naming conventions<br />

There are recommendations and restrictions regarding package names, for example, the name's maximum<br />

length and what if any characters must not be used.<br />

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

Setting Up Your Application<br />

P U B L I C<br />

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

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

Saved successfully!

Ooh no, something went wrong!