Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
chenthilgiriraj
Advisor
Advisor
16,285
Created this simple blog to capture the steps required to enable change recording and than  transporting view across SAP HANA environments using HANA Application Life Cycle Manager.

This document only covers Native HANA and Selected Change list process

What is HANA Change Recording?

When change recording enabled, you are prompted to assign your changes to a changelist when you activate a repository object in your development environment. Also, make sure to group the objects that you want to transport together in one changelist.

Roles required for modelers

  • REPO.MODIFY_CHANGE

  • REPO.MODIFY_OWN_CONTRIBUTION

  • REPO.MODIFY_FOREIGN_CONTRIBUTION

  • sap.hana.xs.lm.roles::DevelopmentExpert


Roles required for Transport admin

                sap.hana.xs.lm.roles::ExecuteTransport

Global Setting to Enable Change Recording


User should be part of this role sap.hana.xs.lm.roles::Administrator enable change recording

The SAP HANA Application Lifecycle Management URL:

http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/lm.

 



After logging in, click on SETTINGS tab

 



 

Click on the check box to enable Change Recording



 

Click Yes. Now Change Recording enabled for this environment.

When you select the checkbox to enable change recording, all active objects of the system that belong to packages assigned to a delivery unit (DU) will be added to an initial changelist. It is a process of creating a base changelist. Depending on the point in time when change recording enabled, creating the base changelist can take some time.

This base changelist is not visible in the system. However, when the first changelist transported for a DU that contains real changes, the base changelist with all active objects of packages that are assigned to the DU is also transported to the target system. This ensures that the target system has exactly the same state as the source system

 

Create Repository Package


 

From HANA Studio, creating a test package for this demo



Click Finish.



New HANA repository package created. Package creation does not prompt for changelist.

 

Create a Calculation View and Record Model Changes


 Under the newly created package, create a test calculation view.

 



Click Finish.

Now when this new Calculation view is activated “Select Change” window prompts to assign a change id.



Click on New to create a new change id specific for you.



Enter required description and click ok.



New change id created.



Select the newly created change id and click finish. Now the calculation view changes are tracked with this change id.



Change Manager (added through HANA Studio -> show view and search/select) list the objects under your change id.


Select the contributor, right click and approve contribution.



Enter text related to the changes/updates and click OK.



Next Release Change, only than the changes can be moved to the next environment.



With Change list status set to Open, you will not see the just released change id

 

Created Delivery Unit – HALM_DU

Via HANA Studio Quick View




Click on Delivery Units



 

Select the System where the Delivery Unit has to be created.



Click on Create, to create a new Delivery Unit.



Enter required information and click Ok.



 

Click on Add to assign repository package to Delivery Unit



Click Finish, now the repository has been added to the Delivery Unit.



Click on Finish

 

Transport objects from Development to Quality/Test environment


The SAP HANA Application Lifecycle Management URL:

http://<WebServerHost>:80<SAPHANAinstance>/sap/hana/xs/lm.


After logging in click on Transport -> System



Transport Routes are already configured (not covered this is session), next click on Transports Tab



 

Click on Create, to create a new Transport



Click on Create



 

New Transport created with no transport history



Select this new transport and click on Transport




This window will list all the changelist available under this Delivery Unit that has to be moved, Select and then click Next.



Click on Transport and Close





On the bottom of the browser, you can find this info too.

Now all the objects are moved to Q environment

Click on Logs tab to check the job logs


After the transport job is successful or failed you can find the details from the log files under Logs session.



DISCLAIMER: USE THIS DOCUMENT AT YOUR OWN RISK.
6 Comments