Migration From Existing HANA To Web Based XSA
Migration From Existing HANA To Web Based XSA
XS advanced is the Cloud Foundry open-source Platform-as-a-Service (PaaS), plus a number extensions
provided by SAP. The enhancements include integration with the SAP HANA database, OData support,
compatibility with the classic model and some additional features designed for improving application
security.
SAP HANA extended application services, advanced model, (XS advanced) provide a comprehensive
platform for developing and executing native data-intensive applications that run efficiently in SAP HANA,
taking advantage of its in-memory architecture and parallel execution capabilities.
The advanced model supports several programming languages and execution environments.
Instead of developing a new application in XSA, we can use migration assistant to build same the same
models
1) Prerequisite
You must already have set up the source (XS classic) system for the migration.
You have set up the required users on the SAP HANA systems and assigned them the
required access permissions as per SAP Reference link.
Run the XS Advanced Migration Assistant to convert your XS classic application to XS advanced.
You can define the connection settings in two ways. Either using set (Windows) or export (Linux) on the
command line or using an .env file that contains all key-value pairs.
In the classic system, define environment settings for the application project delivery units (DU).
For Windows systems use set and for Linux systems use export
a. In the command shell set the path to the root folder of the XS Advanced Migration Assistant
(xs-migration) which contains the package.json and the xs-migration executable.
Command:
Target Directory: MeidasJobHistory is the target folder in which the migrated object will be
placed.
Package: MeidasJobHistory will be the Target Delivery Unit for which template is generated with
as XS advanced folder structure.
4) Open the file path where the zipped file is present and click on Ok.
5) It gets imported to the pointed location
6) Map the create Space (created as part of above step) to the zipped folder
Zipped Folder-> Project settings-> Space->select the created Space (Ex: - HRDEV) and save.
7) Open the mta.yaml file under the specified project by MTA/Code Editor and update the version,
names accordingly if needed.