Skip to Content
Author's profile photo Former Member

Introduction of Delivery Unit In SAP HANA

Introduction

Packages are often used in SAP HANA application development for modeler views and XS projects. Many packages are used and different objects are created in each package in development. These packages should be migrated to production server for deployment finally so the migration of packages remains a problem. In the previous blog, we have provide a solution for migration on modeler views, while it is not suitable for the SAP HANA native application

SAP HANA uses “Delivery Unit” to realize migration on different packages from different instance. A delivery unit could be regarded as a collection of several packages for centralization of management. This blog will mainly discuss how to create and use Delivery Unit.

Access Methods

SAP HANA provides a centralized management platform called HANA Application Lifecycle Management for Delivery Unit. Before visiting it, the user should have the “sap.hana.xs.lm.roles: :Administrator” privilege. You could visit it in these two ways.

  1. SAP HANA Studio

That is very similar with visiting LifeCycle Management: right click on Transport Management.

/wp-content/uploads/2014/06/1_470074.png

2. Access it with URL


http://<host_address>:80<instance_number>/sap/hana/xs/lm/index.html

Platform Features

The following picture shows main interface of HANA Application Lifecycle Management. The platform lists many features for Delivery Unit, such as export/import/create delivery unit and search package.

/wp-content/uploads/2014/06/2_470075.png

A Vendor ID should be created for the initially used of HANA Application Lifecycle Management. Choose change vendor under Administration if you want to change to a new vendorID.

/wp-content/uploads/2014/06/3_470076.png

Create a DU

/wp-content/uploads/2014/06/4_470077.png

For SAP HANA SP07, system creates several delivery units after installation of SAP HANA, which display under PRODUCTS->Delivery Units. You can add, delete or modify delivery units from it. It is very simple to create a delivery unit.

  1. Fill in the name, version and simple description of DU.

/wp-content/uploads/2014/06/5_470078.png

  2.  Assign packages to this DU.

/wp-content/uploads/2014/06/6_470079.png

Export a DU

The created delivery units and owned packages are listed and you could export the DU into a .tgz file through Export Delivery Unit File.

/wp-content/uploads/2014/06/7_470080.png

Import a DU

Import the delivery unit and all the related packages are created in SAP HANA.

/wp-content/uploads/2014/06/8_470081.png

Manage Studio

SAP HANA Studio also provides administration for DU. Switch to modeler perspective and chooses Delivery Unit under Setup.

/wp-content/uploads/2014/06/9_470082.png

  1. Create DU and assign packages to it.

    /wp-content/uploads/2014/06/10_470083.png

/wp-content/uploads/2014/06/11_470084.png

  2.  Export and import DU with selecting Delivery Unit in SAP HANA Content.

/wp-content/uploads/2014/06/12_470086.png

Assigned Tags

      7 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sreehari V Pillai
      Sreehari V Pillai

      Hi,

      Useful info. Please add a note on the roles required to do these activities

      Sreehari

      Author's profile photo Former Member
      Former Member

      Nice guide.

      In my case however something seems to not be working as expected.

      When I select:

      'Change Vendor': after entering the new vendor and pressing the 'OK' button nothing happens

      'Enable Change Recording': after checking the box the check mark does not remain

      Am I doing something worng?

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      I've just tried in my server and it's ok. But it really takes a long response

      Author's profile photo Former Member
      Former Member

      Maybe I should add that when I open the console I get the following:

      as well as the following messages:

      after which I cannot set the vendor code. Waiting does not help (the session expires after a while anyway)

      Author's profile photo Shanaka Chandrasekera
      Shanaka Chandrasekera

      Dear Miller,

      Thank you very much for sharing above details.

      What is the best practice for transport HANA content from development to production?

      Is it by creating one package which belongs to a particular scenario (eg:- profit analyze report) and include all developments in to this package , once done assign this package to one delivery unit and transport this to production.

      Thank you,

      Shanaka.

      Author's profile photo Former Member
      Former Member

      Dear all,

         You can change the vendor in configuration tab(hana studio)..  the configuration file is content_vendor.  under system tab assign a new name....

      Author's profile photo Satish Chugh
      Satish Chugh

      Hi,

      How can we recover the deleted objects and packages if we delete the delivery unit after checking the checkbox Includes objects and packages. Please suggest.