Connecting to SAP Hana database
Importing Metadata in Dataedo Portal
Entry point
To start the Metadata Import flow, make sure you have the Connection Manager role. Go to Connections and click Add connection, then pick SAP HANA from the connector list to open the import wizard described in the following steps.

Step 1. Host details
Provide the name of the Connection, an optional description, and the details of the SAP HANA host:
- Host - the address of the instance, for example
hana-prod.internal. - Port - the SQL port of the tenant database, for example
39017. Use Restore port to default to go back to the default value. - Encryption - whether the connection is encrypted and how the server certificate is validated.
A Connection in Dataedo represents a saved configuration for accessing a data source.
It can be reused for future imports and scheduling.

Advanced settings is optional — you can leave it collapsed and the connection will run on any available agent with the global timeouts. Expand it if you want to restrict the connection to a specific agent or override the task timeouts.
Step 2. Credentials
Choose credentials from the list of existing ones available for the selected connector, or add new credentials. SAP HANA uses a user and password pair.

Step 3. Objects to import
Use Filter by schemas to choose the schemas to read and, within each one, the object types to import: Tables, Views, Procedures, Functions, Graph Edges, and Graph Nodes. Select Future Schemas to include schemas created after this import as well.

Switch to Advanced filters to include or exclude objects with schema patterns, name patterns, and object types instead.

Step 4. Schedule
By default, Dataedo adds a Metadata Import task for each selected source. It runs every Monday at 1:00 AM and has Run immediately selected, so the first import starts as soon as you click Create connection. Dataedo also adds a Data Profiling task that runs on the first day of every month at 2:00 AM. You can edit or delete these tasks, or add more.
Configure scheduling options for each source individually:
- choose the metadata extraction options (
Append only,Reimport all included objects) - run daily, on selected weekdays, or on specific days of the month
- choose an exact time of execution
- Task state:
Active- the task will run as scheduledDraft- the task is saved but not executed until you switch it to Active
- Run Immediately - when checked, the task will also be executed right after you click
Create connection
For each source, you can select Run immediately for one Metadata Import task and one Data Profiling task.

Once saved, the task appears next to its database in the schedule list.

Each source needs at least one import task. If you delete the default one and don't add another, an empty database will be created and no metadata will be imported.
Importing Metadata in Dataedo Desktop
To connect to SAP HANA create new documentation by clicking Add documentation and choosing Database connection.

On the Add documentation window choose SAP HANA.
Connection details
Provide connection details:
- Host - SAP HANA Cloud host,
- Port - SAP HANA Cloud port,
- User - SAP HANA database user,
- Password - Password to the SAP HANA database user

Saving Password
You can save the password for later connections by checking the Save password option. Passwords are saved in the repository database.
Importing Metadata
When the connection is successful, Dataedo will read objects and show a list of objects found. You can choose which objects to import. You can also use advanced filter to narrow down the list of objects.

Confirm the list of objects to import by clicking Next.

The next screen allows you to change the default name of the documentation under which it will be visible in the Dataedo repository.
Click Import to start the import.
When done, close the import window with the Finish button.
Outcome

Your SAP HANA database schema has been imported to new documentation in the repository.