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.

The name of the complete package namespace hierarchy (for example, "aa.bb.cc.zz" including dots) must not<br />

be more than 190 characters long. To avoid problems, we recommend you restrict the length of the package<br />

namespace to well under the 190-character limit.<br />

4.3.2 Defining Repository Package Privileges<br />

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

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

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

To set user (or role) authorizations for repository packages, perform the following steps:<br />

1. In the <strong>SAP</strong> <strong>HANA</strong> studio, open the Navigator view of the Modeler perspective.<br />

2. In the Navigator view, expand the Security Roles/Users node for the system hosting the repository that<br />

contains the packages you want to grant access to.<br />

You can also define roles via source files; roles defined in this way can be assigned to a delivery unit and<br />

transported to other systems.<br />

3. Double click the user (or role) to whom you want to assign authorizations.<br />

4. Open the Package Privileges tab page.<br />

5. Choose [+] to add one or more packages. Press and hold the Ctrl key to select multiple packages.<br />

6. In the Select Repository Package dialog, use all or part of the package name to locate the repository package<br />

that you want to authorize access to.<br />

7. Select one or more repository packages that you want to authorize access to; the selected packages appear<br />

in the Package Privileges tab page.<br />

8. Select the packages to which you want authorize access and, in the Privileges for screen page, check the<br />

required privileges, for example:<br />

a) REPO.READ<br />

Read access to the selected package and design-time objects (both native and imported)<br />

b) REPO.EDIT_NATIVE_OBJECTS<br />

Authorization to modify design-time objects in packages originating in the system the user is working in<br />

c) REPO.ACTIVATE_NATIVE_OBJECTS<br />

Authorization to activate/reactivate design-time objects in packages originating in the system the user is<br />

working in<br />

d) REPO.MAINTAIN_NATIVE_PACKAGES<br />

Authorization to update or delete native packages, or create sub-packages of packages originating in the<br />

system in which the user is working<br />

4.3.3 Creating a Package<br />

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

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

You can use packages to manage the various elements of your application development project. To create a<br />

project, perform the following steps:<br />

1. In the <strong>SAP</strong> <strong>HANA</strong> studio, start the Modeler perspective.<br />

2. In the New screen area of the Quick Launch tab page, choose Package and choose Create....<br />

3. Maintain the package details.<br />

46<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 />

Setting Up Your Application

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

Saved successfully!

Ooh no, something went wrong!