SLT (SAP Landscape Transformation Replication Server) in SAP HANA

What is SLT (SAP Landscape Transformation Replication)?

SLT is the an ETL tool that allows you to load and replicate data in real-time or schedule data from SAP source system or Non SAP System into SAP HANA Database.

SAP SLT server uses a trigger-based replication approach to pass data from source system to target system.

SLT server can be installed on the separate system or on SAP ECC System.

Benefit of SLT system is as below-

  • Allows real-time or schedule time data replication.
  • During replicating data in real-time, we can migrate data in SAP HANA Format.
  • SLT handles Cluster and Pool tables.
  • This support automatically non-Unicode and Unicode conversion during load/replication. (Unicode is a character encoding system similar to ASCII. Non-Unicode is encoding system covers more character than ASCII).
  • This is fully integrated with SAP HANA Studio.
  • SLT have table setting and transformation capabilities.
  • SLT have monitoring capabilities with SAP HANA Solution Manager.

Architecture Overview of SAP SLT server with SAP / Non-SAP System is as below-

SAP SLT Connection Architecture overview between SAP System and SAP HANA

SAP SLT Replication Server transforms all metadata table definitions from the ABAP source system to SAP HANA.

For SAP source, the SLT connection has the following features –

  • When a table is replicated, SAP SLT Replication server create logging tables in the source system.
  • Read engine is created in the SAP Source System.
  • The connection between SAP SLT and SAP Source is established as RFC connection.
  • The connection between SAP SLT and SAP HANA is established as a DB connection.

A database user with the same authorization as user “SYSTEM” can create a connection between SAP SLT and SAP HANA Database.

SAP SLT Connection between SAP System & SAP HANA DATABASE
SAP SLT Connection between SAP System and SAP HANA DATABASE

SAP SLT Server automatically create DB connection for SAP HANA database (when we create a new configuration via transaction LTR). There is no need to create it manually.

Configure SAP SLT Server for SAP Source System

First we need to configure SAP SLT replication server for connection between SAP Source and SAP HANA database. T-code, LTR is used for creating a connection between SAP Source and SAP SLT.

Step 1) Login to SAP SLT server, and Call transaction “LTR” from SAP SLT replication server.

Configure SAP SLT Server

A Web-dynpro pop-up screen will appear for login to SAP SLT server.

  1. Enter Client / User id / password
  2. Click on logon tab

    Configure SAP SLT Server

    A pop-up screen for Configuration will appear as below-

    Configure SAP SLT Server

    Click on “New” Button for the new configuration.

Step 2) In this step,

  1. Enter Configuration name and description.
  2. Select SAP System as the source system.
  3. Enter RFC connection for SAP System.
  4. Enter Username / Password / Host Name and Instance number.
  5. Enter Job options detail –
  • No. of data Transfer Jobs.
  • No. Of calculation jobs.
  1. Select Replication option as Real Time.
  2. Once all the settings are maintained click on ‘OK’ to create a new schema in SLT.

Configure SAP SLT Server

A Configuration Name “SLTECC” will be added and active.

Configure SAP SLT Server

After configuration SAP SLT server successfully, SAP SLT Server automatically create DB connection for SAP HANA database (when we create a new configuration via transaction LTR). There is no need to create it manually.

In next step, we import data to SAP HANA from SAP Source.

Import SAP Source Data to SAP HANA through SLT

Once we have successfully configured SAP SLT server, a SCHEMA as configuration name above in SAP SLT is created in SAP HANA Database.

This Schema contains following objects-

  1. 1 Schema – SLTECC.
  2. 1 User – SLTECC.
  3. 1 Privileges
  4. 8 Tables
  • DD02L (SAP Tables Name )
  • DD02T (SAP Table Texts)
  • RS_LOG_FILES
  • RS_MESSAGE
  • RS_ORDER
  • RS_ORDER_TEXT
  • RS_SCHEMA_MAP
  • RS_STATUS.
  1. 4 Role –
  • SLTECC_DATA_PROV
  • SLTECC_DATA_POWER_USER
  • SLTECC_DATA_USER_ADMIN
  • SLTECC_DATA_SELECT
  1. 2 Procedures
  • RS_GRANT_ACCESS
  • RS_REVOKE_ACCESS

All configuration is completed, now we load a table from SAP ECC (ERP Central Component).

Step 1) To load tables from SAP ECC to SAP HANA database, follow below steps-

  1. Go to Data provisioning from Quick View.
  2. Select SAP HANA System.
  3. Click on Finish Button.

Import SAP Source Data to SAP HANA

Step 2) A screen for SLT Based Table Data Provisioning will be displayed. There are 5 options for data provisioning as below-

Provision Option Detail
Load (Full Load) This is a one-time event, which starts an initial load of data from source system.
Replicate (Full Load + Delta Load) It start initial load (if not done earlier), and also consider delta change. Database trigger and related logging table will be created for each table.
Stop Replication It stops the current replication process for a table. It removes database trigger and logging table completely.
Suspend It pause a running replication process of a table. The database trigger will not be deleted from the source system, and recording of changes will continue. Related Information is stored in the related logging table in the source system.
Resume Resume restarts the replication for a suspended table. After resume, the suspended replication process will resume.

We use the first option from the table “Load option” for initial load of the table (LFBK) data from source to SAP HANA table.

Step-by-step is as below-

  1. Source and Target system details are selected according to SAP SLT configuration.
  2. Click on Load Button and select the table (LFBK) which we need to load/replicate in SAP Hana.
  3. Table (LFBK) will be added to Data Load Management Section with Action “Load” and Status “Scheduled.”

Import SAP Source Data to SAP HANA

After data load, Status will be changed to “Executed”. The table will be created in “SLTECC” schema with data.

Step 3) Check Data in the table (LFBK) by Data Preview from Schema “SLTECC” as below -.

  1. Login in SAP HANA Database through SAP HANA Studio and select SAP HANA System HDB (HANAUSER).

Import SAP Source Data to SAP HANA

  1. Select Table (LFBK) under Table node.
  2. Right click on Table (LFBK) and click on Open data preview option.
  3. Loaded Data through SLT process will be displayed in Data preview screen.

Import SAP Source Data to SAP HANA

Now we have successfully loaded data in table “LFBK”. We will use this table future in Modelling.

SAP SLT Connection between non-SAP System and SAP HANA

SAP SLT Replication Server transforms all metadata table definitions from the non-ABAP source system to SAP HANA.

For Non-SAP source, the SLT connection has following features –

  • When a table is replicated, SAP SLT Replication server create logging tables in the source system.
  • Read engine is created in the SAP SLT Replication server.
  • The connection between SAP SLT and SAP Source / SAP HANA is established as a DB connection.
SAP SLT Connection between non-SAP System and SAP HANA

SAP SLT Connection between Non – SAP SLT Connection and SAP HANA System/DATABASE

SAP SLT can only do simplest transformations, so for complex transformations, we need another ETL tool such as SAP Data services.