This blog is a continuation of my previous post about Transporting Analysis Applications on the SAP HANA Platform. In the previous blog, I had discussed about transporting SAP Design Studio Applications manually from source to target systems by creating Delivery Units. Now, let us explore how to use the ‘SAP HANA Transport Management’ tool for the same. Transport Management in SAP HANA works differently when compared to its SAP counterparts (NetWeaver and Business Objects).
In the other two, Promotion Management (Business Objects) and CTS (NetWeaver), the source pushes the objects to the target. However in SAP HANA, the target pulls the objects from the source. To transport/promote analysis applications, we need to configure a source system in the target SAP HANA server and pull the delivery units available in the source server.
Setup LCM in SAP HANA Studio
In SAP HANA Studio, right click on the target SAP HANA system and select ‘Transport Management’ in ‘Lifecycle Management’.
The LCM window will prompt for the SAP HANA server’s ‘Operating System’ user credentials. The username is in the format <SID>ADM, where <SID> is your SAP HANA system ID. Enter the credentials and click finish to start LCM.
Note: Do not use the SYSTEM user ID to start LCM. You have to use the Operating System user ID.
Now LCM is up and available for use. We have to configure the source system in the target server.
Configure Source System
Select the ‘System’ tab in the ‘Transport Management’ window and click on ‘Register’. This will display a pop-up window to input the source system details. To perform such operations, the user is advised to have the ‘sap.hana.xs.lm.roles::Administrator’ role in the target server.
Enter the source system details in the ‘Register System’ pop-up and click next to continue.
In the confirmation window, click on ‘Maintain Destination’. This will bring the HTTP Destination (SAP HANA specific format to store HTTP server information with credentials) configured in the source system. To do this you need to have the roles ‘sap.hana.xs.admin.roles::HTTPDestAdministrator’ (just for HTTP Dest) and ‘sap.hana.xs.admin.roles::RuntimeConfAdministrator’(for all such config) in the source system.
Enter the transport service account credentials of the source system. The transport service account can be any name but should be assigned to the role ‘sap.hana.xs.lm.roles::Administrator’ to perform all transport operations in the source system. Click on ‘Save’ to complete the process. And ‘Finish’ to add the source system.
Now under the ‘System’ tab, we see two systems. The green check in status shows that the source system has been correctly configured and is reachable.
Note: Even a small time difference of say less than a minute will make the servers go out of sync. Ensure they have the exact same time and that all necessary roles are assigned to the service account.
Now that we have configured the source system, we need to create a transport route and pull the package from the source.
Transport Route Creation
Click on ‘Add’ in the ‘Routes’ tab. Select options in the ‘Add Route’ form.
- Select the source system
- Select the transport type. Generally ‘Full Delivery Unit Transport’ for a fresh transport
- Select ‘DU Transport’
- Select the delivery unit created for the analysis application
- Enter a comment and click on ‘OK’ to add the route
In the ‘Transports’ tab, select the route configured for SAP Design Studio and click ‘Start Transport’. To do this the user should have ‘sap.hana.xs.lm.roles::Transport’ and ‘sap.hana.xs.lm.roles::ExecuteTransport’ roles assigned to him in the target server.
Click ‘OK’ to start the Transport.
Transport will log all the status changes which can be tracked in the ‘Logs’ tab. The green square shows successful transports. Also, ensure you transport the data models used by the analysis application.
Hope these two blogs helped you learn about transports on the SAP HANA platform. Follow this series of posts, for updates on this.
Happy Learning !