To consume data from the SAP HANA Schema, you need to establish a connection.
This can be achieved in two primary ways. To consume data from the SAP HANA Schema, you need to establish a connection. This can be achieved in two primary ways:
Manage Connections Application
Environment Access
Connection Types and Management
Connection to HANA Schema
When setting up a connection to the HANA Schema, it's crucial to fill in the general information accurately. This section serves as the backbone of your configuration, ensuring that all the necessary details are in place for seamless integration.
Environment
Connection
Description
Connection Target Type
- Tenant-Specific: If this checkbox is unmarked, upon container transport the non-tenant-specific connections used by an environment from the source tenant are considered and transported to the target tenant.
- Target Schema: A read-only field providing target HANA schema information.
- Model Filter: Used to filter out the models coming from the target to the ones which match the expression (pattern). Supports JavaScript regular expressions.
After you filled in the data and created a connection, the system will automatically consume all HANA tables stored in specific HANA schema that we are using.
If you don't want to consume all these tables, you can click on edit in the right top corner.
And deselect all the tables that you don't want to use. You can also use Model Filter option in general information to filter only those Tables that you actually would like to consume.
Sync Model: This checkbox allows you to decide if the model is considered when you choose the Sync Models button.
Access the next screen, using the arrow on the right side of the screen, to perform fields mapping.
You can select fields already existing in the environment to perform the mapping, or you can use option Add Field/Add fields to create new environment fields for all the unmapped connection fields in the selected models. These new fields have the same configuration as the connection fields.
After mapping is completed, click on apply. That will take you to the previous screen where you can click on Save and Sync Models button.
For marked models, choosing Sync Models automatically creates a Model HANA function in the environment. For unmarked models, choosing the Sync Models button does not create a Model HANA function in the environment.
If you have marked this previously and decide to unmark it afterwards, the Model HANA function synced is removed from the environment upon choosing the Sync Models button.
You also see that we have Sync Connection button: Sync Connection Allows you to decide if the changes to the structure made in the original table or view in the database schema, for example, adding or removing fields, are considered when you choose Sync Connection. For marked models, choosing Sync Connection updates the model with the new configuration.
For unmarked models, choosing Sync Connection does not update the model with the new configuration.
Now the Model Hana is created in your environment. Please keep in mind that you should reactivate environment after models synchronization. After that the results will be available.
Integration between SAC and Universal Model might be tricky. This video will uncover all relevant steps on how to pull-in the data from SAC Model.