SapHanaTutorial.Com HOME     Learning-Materials Interview-Q&A Certifications Quiz Online-Courses Forum Jobs Trendz FAQs  
     Explore The World of Hana With Us     
About Us
Contact Us
 Apps
X
HANA App
>>>
Hadoop App
>>>
Tutorial App on SAP HANA
This app is an All-In-One package to provide everything to HANA Lovers.

It contains
1. Courses on SAP HANA - Basics, Modeling and Administration
2. Multiple Quizzes on Overview, Modelling, Architeture, and Administration
3. Most popular articles on SAP HANA
4. Series of Interview questions to brushup your HANA skills
Tutorial App on Hadoop
This app is an All-In-One package to provide everything to Hadoop Lovers.

It contains
1. Courses on Hadoop - Basics and Advanced
2. Multiple Quizzes on Basics, MapReduce and HDFS
3. Most popular articles on Hadoop
4. Series of Interview questions to brushup your skills
Apps
HANA App
Hadoop App
';
Search
Stay Connected
Search Topics
Topic Index
+
-
HANA Admin Basics
+
-
Data Provisioning
+
-
SAP HANA Cockpit
+
-
HANA MDC
+
-
Availability and Scalability
Delivery Unit in SAP HANA
Introduction:
In SAP HANA we create all the artifacts inside some Packages. An application may include one or more packages. When we need to transport the application for one HANA system to another, all the packages should be moved together.
A delivery unit (DU) is a collection of packages that are to be transported together. We assign all the packages belonging to an application to the same DU to ensure that they are transported consistently together within different system landscape.
Delivery Unit in SAP HANA  
Create and Maintain Delivery Unit:
Now we will see how to create and maintain delivery units in HANA.
Prerequisites:
To maintain delivery units with the SAP HANA Application Lifecycle Management, you must ensure the following prerequisites are met:
  • You have access to an SAP HANA system.
  • You have been granted the SAP HANA sap.hana.xs.lm.roles::Administrator user role.
 
The steps to create and maintain Delivery Unit are:
Delivery Unit in SAP HANA  
Step #1: Maintain the Delivery-Unit Vendor ID
In SAP HANA, the vendor ID is used primarily to define the identity of the company developing a software component that it plans to ship for use with SAP HANA, for example, “sap.com”.
To create a delivery unit, it is a prerequisite to maintain a vendor ID in your system.
Steps to maintain Vendor ID:
  1. Start the SAP HANA Application Lifecycle Management.
The SAP HANA Application Lifecycle Management is available on the SAP HANA XS Web server at the following URL:
http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/lm

  1. Select “Administration” tab and click on “Change Vendor”.

Delivery Unit in SAP HANA  
  1. Enter the name of the new vendor, for example, myCompany.com. and click on “Ok”
Note: It is highly recommended to use reserved DNS names as vendor. For example, SAP content development systems should use the vendor sap.com
 
You can also change the Vendor ID from HANA Studio. The steps are:
  1. Double click on HANA system in HANA studio.
  2. Go to “Configuration” tab. Type “vendor” in the filter. You will see a record “content_vendor” as below.
 
Delivery Unit in SAP HANA  
  1. Right click and click on Change. Enter new vendor id and click on OK.
Delivery Unit in SAP HANA  
  1. In case you do not see “content_vendor”, right click on repository and use “add parameter” to and add “content_vendor” manually.
 
Step #2: Create a Delivery Unit
 
Delivery Unit can be created either by using SAP HANA Application Lifecycle Management or by using HANA Studio.
 
Create Delivery Unit by using SAP HANA Application Lifecycle Management:
  1. Open the SAP HANA Application Lifecycle Management.
The SAP HANA Application Lifecycle Management is available on the SAP HANA XS Web server at the following URL:
http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/lm

  1. Choose the PRODUCTS tab.
  2. Choose the Delivery Units tab.
  3. Choose Create.
Delivery Unit in SAP HANA  
  1. The New Delivery Unit dialog box appears. Enter details for the new DU.
Name
The field is mandatory and you must follow strict naming conventions, for example, use capital letters.
Vendor
This field is mandatory. However, you cannot enter a vendor here; the box is populated by the value you enter when defining the vendor in the SETTINGS tab.
Version
Version numbers must take the form “#.#.#”, for example, 1.0.5, where:
  • 1 = the DU version number
  • 0 = the support package version (if required)
  • 5 = the patch version (if required)
Note: The numbers you enter here refer to the application component that you are developing; the numbers do not refer to the patch or service-pack level deployed on the SAP HANA server.

Delivery Unit in SAP HANA
  1. Choose Create.
 
Create Delivery Unit by using SAP HANA Studio:
  1. Open HANA Studio. Go to Help àQuick Launch.
  2. Click on “Delivery Unit”
Delivery Unit in SAP HANA  
  1. Click on “Create”. Provide Delivery Unit information and click on Ok.
Delivery Unit in SAP HANA  
Step #3: Assign Packages to a Delivery Unit
By default, a new delivery unit (DU) is empty; you must assign packages to it manually. To assign packages to a DU, perform the following steps:
  1. Open the SAP HANA Application Lifecycle Management.
  2. Choose the PRODUCTS tab.
  3. Choose the Delivery Units tab.
  4. Select the DU to which you want to assign some packages. The “Assigned Packages” panel displays the current contents of the selected DU.
Delivery Unit in SAP HANA  
  1. Assign new packages to the DU. Choose “Assign” and select the name of the package you want to assign to the DU.
  1. Choose “Check for Unassigned” to ensure that you have selected all packages and sub-packages that you want to assign to the DU. If you have missed a sub-package, select it from this dialog box and choose Assign.

 
We can also assign packages to Delivery Unit using HANA Studio. The steps are:

  1. Open HANA Studio. Go to Help àQuick Launch.
  2. Click on “Delivery Unit”
Delivery Unit in SAP HANA
  1. Select your Delivery Unit and click on “Add“. Select package and click on Ok.
Delivery Unit in SAP HANA  
 
Import & Export using Delivery Unit

We can use Delivery Unit to transport content from one HANA system to other. The process is

Delivery Unit in SAP HANA  
Export a Delivery Unit
You can export a delivery unit (DU), for example, to a file, for your application content or your software components using the SAP HANA Application Lifecycle Management.
Prerequisites
To export a delivery unit with the SAP HANA Application Lifecycle Management, you must ensure the following prerequisites are met:
  • You have access to an SAP HANA system
  • You have been granted one of the following SAP HANA user roles:
    • o sap.hana.xs.lm.roles::Administrator
    • o sap.hana.xs.lm.roles::ExecuteTransport
 
To export a DU using the SAP HANA Application Lifecycle Management, perform the following steps.
  1. Open the SAP HANA Application Lifecycle Management.
  2. Choose the UPLOAD/DOWNLOAD tab.
  3. Choose the EXPORT tab.
  4. Select the DU you want to export.
In the Delivery Units list, locate and select the DU you want to export to a file. The Delivery Unit Import screen appears containing the list of objects included in that DU.
  1. Export the selected DU.
Choose Export Delivery Unit to File to display a dialog that enables you to specify the location, for example, on a local file system, where you want to save the exported DU.

Delivery Unit in SAP HANA  
Import a Delivery Unit
You can import a delivery unit (DU), for example, from a file, for your application content or your software components using the SAP HANA Application Lifecycle Management.
Prerequisites
To import a delivery unit with the SAP HANA Application Lifecycle Management, you must ensure the following prerequisites are met:
  • You have access to an SAP HANA system
  • You have been granted the SAP HANA sap.hana.xs.lm.roles::Administrator user role.
  • The package name of the DU does not exist in the system.
Note: Package names are case-insensitive. If you have a package name with only upper- and lower-case differences, the import fails. Delete the package from the system and then import the DU.
To import a delivery unit perform the following steps.
  1. Open the SAP HANA Application Lifecycle Management.
  2. Choose the UPLOAD/DOWNLOAD tab.
  3. Choose the IMPORT tab.
  4. Select the DU you want to import.
Choose “Browse” to display a file explorer, which you can use to locate the DU you want to import, and choose “Open”.
Note: Exported DUs have the file extension .tgz, for example, MyDU.tgz.
  1. The “Delivery Unit Import” screen appears containing the list of objects included in that DU.
  2. Confirm that this is the DU that you want to import.
Choose “Import Delivery Unit” from File to import the selected delivery unit.

Delivery Unit in SAP HANA
Note: The import operation overwrites any identical objects in the target system with the content of the imported DU.




Support us by sharing this article.



Explore More
Close X
Close X

5 thoughts on “Delivery Unit in SAP HANA

  1. Sumeet Durgia says:

    Hi,

    I have a small question . Like in ABAP when we assign TR to any object , then we need to click release to transport to another system. What about here. how objects will be moved to different client? I dont think import/export of delivery unit is a good option to do the same since we cant track the changes if anyone has changed any model. So, how can we track who has made any change in my model or table?

    BR
    Sumeet

    • Admin says:

      Hi Summet,
      Good point.
      There is something called Change Management in SAP HANA Studio, which can help to track this details. In HANA Studio, go to Windows –>Show view –> Change Management
      Here you can track the history of changes and many other things.

  2. Subhasish says:

    Hi Good tutorial,

    One question, Which HANA system views store all delivery related information like
    name, package,views, export date, import date, responsible person etc.

    • Admin says:

      Hi Subhasish,
      Check below system views.
      “_SYS_REPO”.”INACTIVE_OBJECT”
      “_SYS_REPO”.”OBJECT_HISTORY”
      “_SYS_REPO”.”ACTIVE_OBJECTS”
      “_SYS_REPO”.”ACTIVE_OBJECTCROSSREF”

  3. Bisu says:

    Hi Team,

    What is the difference if we are transporting object via DU and in developer mode. Also if we want to transport catalog objects can we do through developer mode.

    Thanks
    Bisu

Leave a Reply

Your email address will not be published. Required fields are marked *

Current day month ye@r *

 © 2017 : saphanatutorial.com, All rights reserved.  Privacy Policy