/HANA
Learn the steps behind using two methods for data provisioning in SAP HANA: SAP BusinessObjects Data Services and the SAP Landscape Transformation Replication Server. These steps serve as the foundation for the bigger task of deploying your first data model in SAP HANA.
Key Concept
Data provisioning involves selecting source metadata and importing its metadata and data into the SAP HANA system. There are three methods for data provisioning in SAP HANA: SAP BusinessObjects Data Services, SAP Landscape Transformation Replication Server, and Sybase Replication Server (the third method is not discussed in this article). SAP HANA allows you to perform real-time analysis on data in SAP systems as well as non-SAP systems. SAP HANA uses in-memory technology that stores data in columnar form as opposed to the traditional row store databases. This type of format allows for faster data processing, better compression, and faster query response time on very large volumes of data.
When used as a database, SAP HANA replaces the traditional relational database management system (RDBMS) as the database back end for SAP applications, such as with the newly released SAP NetWeaver BW powered by SAP HANA. Used as an appliance, SAP HANA acts as a platform on which you can build various applications.
Components of SAP HANA
When you buy SAP HANA 1.3, you receive the following components:
- The In-Memory Computing Engine (IMCE), which includes:
- Calculation engine
- Relational engines
- SQL and MDX interfaces
- Persistence layer
- Disk storage
- Other administrative modules, such as authorization manager, metadata manager, and replication server.
- SAP HANA Studio, which facilitates modeling and administration. SAP HANA Studio is a client tool that connects to the IMCE.
Note
This article references the following software versions: SAP HANA 1.0 Support Package 03 and SAP BusinessObjects Data Services (hereafter Data Services) 4.0 Support Package 1
Any SAP BusinessObjects reporting or extraction, transformation, and loading (ETL) tools are not included as part of the SAP HANA box.
Note
This article only covers data provisioning with SAP HANA. End-to-end modeling in SAP HANA is a complex and lengthy process that is beyond the scope of this article.
SAP HANA Studio
SAP HANA Studio facilitates replication, modeling, and administration of data in the SAP HANA database. SAP HANA Studio is an Eclipse-based data modeling platform. You can access SAP HANA Studio via Start Menu > SAP in-memory computing > Studio.
The SAP HANA Studio is organized based on various perspectives. Perspectives are predefined, delivered user interface (UI) layouts customized based on type of use. For example, the Administration Console is the perspective used for administrating loads and systems, whereas the Information Modeler perspective is used for data modeling and provisioning.
The default perspective is the Administration Console. You can change the perspective by using the menu option Window > Open Perspective (Figure 1).

Figure 1
Change perspectives within SAP HANA Studio
Before you start building models, you need to configure SAP HANA Studio to the SAP HANA Server. You can add a system via the context menu by right-clicking in the Navigation pane on the left of the screen and choosing Add System (Figure 2).

Figure 2
Adding a new system to SAP HANA
Enter the system host name and instance number in the pop-up window that appears (Figure 3). Click the Next button.

Figure 3
Enter a host name and instance number
In the next pop-up window, enter the user name and password and click the Finish button (Figure 4). The user name SYSTEM is the default built-in system administrator. Log in to the system the first time with this user name. The password is specified during installation.

Figure 4
Enter a user name and password
Note
SAP recommends that you do not sign in with the SYSTEM user other than during initial log-in after installation. Create administration users after initial log-in. For more information, see this SAP Help document:
https://help.sap.com/hana_appliance_#section4. You can add multiple systems to SAP HANA Studio.
Once you enter the user credentials, the system is added to the navigation pane. The name of the system consists of three parts:
- SAP HANA system
- User name
- Description
Once you add the system to SAP HANA Studio, you see two folders under the system entry: Catalog and Content. The Administration Console shows details about the SAP HANA server (e.g., memory, CPU, performance, alerts, logs), as shown in Figure 5.

Figure 5
Various details about the SAP HANA server
Methods Behind Data Provisioning
Three methods for data provisioning in SAP HANA include using:
- Data Services
- SAP Landscape Transformation (SLT) Replication Server
- Sybase Replication Server
Data Services is an ETL tool that connects and extracts data from various source systems to SAP NetWeaver BW and SAP HANA. The Data Services application can extract data from non-SAP sources or SAP NetWeaver BW sources. It is primarily used when real-time data is not a criterion. By comparison, the SLT Replication Server is used when the source is an SAP ERP system and real-time data is a concern.
Note
The Sybase Replication Server is beyond the scope of this article because this method is not generally available to all companies.
I now explain detailed steps to provision data using Data Services and the SLT Replication Server.
Using Data Services
The steps involved in setting up data provisioning using Data Services are as follows:
- Create a connection to the SAP target system from Data Services (source for SAP HANA)
- Import the metadata of the source data into SAP HANA
- Import the metadata definition back into Data Services
- Create and schedule a Data Services job to load data to SAP HANA
Let’s look at these steps in more detail.
Step 1. Create a Connection to the SAP Target System from Data Services
Access the Data Services Designer via menu Programs > SAP BusinessObjects Data Services 4.0 SP1 > Data Services Designer (Figure 6).

Figure 6
Open the Data Services Designer
Enter your user credentials, select the required repository, and click the OK button (Figure 7).

Figure 7
Select a repository to use
Create a new DataStore by following menu path DataServices Designer > DataStores. Select SAP Applications as the DataStore type, and enter the SAP host name and user credentials (Figure 8).

Figure 8
Parameters for creating a new DataStore
Step 2. Import the Metadata of the Source Data into SAP HANA
In SAP HANA Studio, you need to configure the import server (Figure 9). First enter the address of the Data Services server and the repository name. Click the OK button.

Figure 9
Configure the import server
Next, select the Import option under the Content heading, and click Source Objects under the Information Modeler folder in the quick launch area (Figure 10). Click the Next button.

Figure 10
Select import options
Select the target system you want to build the models on from the list, and click the Next button (Figure 11).

Figure 11
Choose a target system
Next, select the source connections from the drop-down list. Specify your Data Services DataStore name from the drop-down menu in the Select Source Connection field (you created this DataStore in the previous steps), and the type of object to import (Figure 12).
Figure 12
Select a source connection and objects
To create a new connection, click the Manage Connections button and enter the data in the required fields shown in Figure 13.

Figure 13
Create a new connection
Once you save the connection, select the tables to import. For this example, select tables T850, T880, and T001 (Figure 14).

Figure 14
Choose the tables to import
Press the Next button, which brings you to a screen to validate the objects, and then finish creating the connection by clicking the Next button (Figure 15).
Figure 15
Validate the selected objects
Figure 16 shows an object creation summary that indicates a successful metadata import. Click the Finish button.
Figure 16
Successful import of metadata
At the bottom of the next screen, you can view the logs for the jobs that imported the metadata (Figure 17). You can find the tables under the Tables sub-folder in your schema under the Catalog folder. In this example, STUDENTxx is the name of the schema.

Figure 17
Data listed in the Job Log and Tables folder
Step 3. Import the Metadata Definition Back into Data Services
To import the metadata definition to Data Services, create a new DataStore with the parameters shown in Figure 18. Click the OK button.

Figure 18
Create a new DataStore
To import tables from SAP HANA, right-click the Import By Name option within the Navigator pane on the left side of the screen and specify the table name (Figure 19).

Figure 19
Select the Import By Name option
In the subsequent pop-up window, you need to manually enter the name of the table for which you want to import metadata from SAP HANA. For this example, import the metadata of table T850 from SAP HANA (Figure 20).
Figure 20
Import the metadata of table T850
The chosen table is now imported to the DataStore (Figure 21).

Figure 21
Imported metadata of the SAP HANA table
Step 4. Create and Schedule a Data Services Job to Load Data to SAP HANA
The final step is to create a simple Data Services job to load data to SAP HANA, which is a common Data Services activity (Figure 22).

Figure 22
The created Data Services data flow
Use the SLT Replication Server
As I mentioned earlier, another option for data provisioning is to use the SLT Replication Server. The SLT Replication Server enables real-time data replication to SAP HANA while converting data to SAP HANA’s database format. The SLT Replication Server schedules data replication in intervals and offers the flexibility to select only relevant tables.
The SLT Replication Server consists of the following components:
- Database trigger — Selects relevant tables for replication
- Read modules — Collect data changes
- Logging tables — Store relevant changes
- Write modules — Write data to SAP HANA
- Controller modules — Map metadata between a source and SAP HANA, and trigger write modules
The SLT Replication Server doesn’t have to be a separate server. You can run it on any SAP NetWeaver 7.02 ABAP system, which in turn runs on SAP Kernel 7.20EXT.
To configure the SLT Replication Server for data provisioning, follow these steps:
1. Use transaction code LTR to maintain SLT Replication Server configurations. Run Tx. LTR and click the Create button to create the schema (Figure 23).

Figure 23
Create a schema in the SLT Replication Server
2. Enter a schema name and click the Create button (Figure 24).
Figure 24
Enter a schema name
3. In the RFC Connection field, choose RFC Connection from the SLT Server to the ERP system. You may use the value help if required. If the SLT Replication Server and SAP R/3 are on the same server, select Myself-RFC for the field, which is an RFC connection pointing to the host system itself (Figure 25).
Figure 25
Enter parameters to create a schema
4. In the Information Modeler, navigate to Data Provisioning in the quick view (Figure 26).
Figure 26
Select Data Provisioning in the Information Modeler
5. Select the required source system (Figure 27).
Figure 27
Select a source system
6. Click the Replicate button in Figure 27, and choose the table you want to replicate (Figure 28). The Load and Replicate buttons shown in Figure 27 control the way data enters the SAP HANA system. The load option performs an initial load only, whereas the replicate option performs an initial load and then replicates any data changes.
Figure 28
Choose tables to replicate
7. Click the Finish button to schedule the replication. The status of the replication appears on the screen (Figure 29).
Figure 29
Status of a replication
8. Once the data is replicated, you can use the data preview feature to view the data.
You now have successfully completed data provisioning for SAP HANA using both Data Services and the SLT Replication Server.
Rakesh Kalyankar
Rakesh Kalyankar is an SAP NetWeaver BW- and HANA-certified lead and architect, working with SAP Global Delivery in Bangalore, India. He speaks regularly at events, such as SAP TechEd and BIIG. He is also an SAP trainer and writes frequently about SAP NetWeaver BW and SAP HANA topics. Prior to his starting his consulting work, he was part of the SAP NetWeaver BW research and development team at SAP Labs, and he has worked on the development life cycles of SAP NetWeaver BW releases, including versions 7.30 and 7.03.
If you have comments about this article or would like to submit an article idea, please contact the BI editor.
You may contact the author at rakesh.kalyankar@gmail.com.
If you have comments about this article or publication, or would like to submit an article idea, please contact the editor.