SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
β€’ Open full site

Convert Oracle-to-SAP HANA with Advanced SQL Migration Tool

Convert an Oracle schema used by a custom application to SAP HANA using SAP Advanced SQL Migration tool

Overview

🎓 beginner 40 min. SqlBeginnerSAP HANA

You will learn

  • βœ”Convert Oracle schema to SAP HANA
Unknown U Unknown November 1, 2022
Created by March 10, 2021
Contributors

Prerequisites

Prerequisites

  • Oracle DB instance (version >= 11), where a new user and SQL objects will be created with a script provided in the tutorial
  • Oracle JDBC driver (ojdbc7.jar)
  • SAP HANA or SAP HANA Cloud instance. Minimum versions are 2.0 rev31 and QRC3-2021 respectively
  • SAP Advanced SQL Migration tool installed and configured properly as indicated in the installation guide:  https://dam.sap.com/mac/app/p/pdf/asset/preview/cLmo5vJ?ltr=a
  • Java >= 1.8 installed in the host where the migration tool is executed

Steps

Intro

The SAP Advanced SQL Migration tool is SAP’s migration tool to migrate custom applications running on top of non-SAP databases into SAP databases.

Select Data Source
Select Data Source

The tool can extract SQL data models (e.g., tables, views, indexes) and SQL objects containing SQL code (e.g., stored procedures, functions) via either accessing source database catalogs or using text files containing the object definitions (DDLS) and convert them to the chosen target SAP database.


Step 1 Create Oracle user and application data model
β€”

  1. Download the script provided in the link below (APPDEMO2.sql) and copy it to a local folder (e.g. c:\sql_scripts\APPDEMO2.sql) in a host where you have the Oracle client installed and access to the Oracle instance:

    https://d.dam.sap.com/a/cxJYuQ3

  2. Connect to the Oracle database with the sqlplus utility and run the script with @ directive:

    @ c:\sql_scripts\APPDEMO2.sql

    Select Data Source
    Select Data Source

Step 2 Create project folder and project configuration
+
Step 3 Extract data model and SQL objects
+
Step 4 Extract using the migration tool gateway
+
Step 5 Extract using text file containing object definitions (OPTIONAL)
+
Step 6 Convert to SAP HANA
+
Step 7 Run converted scripts
+
Step 8 Check Oracle and SAP HANA behavior
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
1. Create Oracle user and application data model 2. Create project folder and project configuration 3. Extract data model and SQL objects 4. Extract using the migration tool gateway 5. Extract using text file containing object definitions (OPTIONAL) 6. Convert to SAP HANA 7. Run converted scripts 8. Check Oracle and SAP HANA behavior

Learn more →