Professional Documents
Culture Documents
SLT is the SAP first ETL tool that allows you to load and replicate data in real-time or schedule data from the
source system and Non-Source 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.
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 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.
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.
A Web-dynpro pop-up screen will appear for login to 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.
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 –
5. 4 Role -
SLTECC_DATA_PROV
SLTECC_DATA_POWER_USER
SLTECC_DATA_USER_ADMIN
SLTECC_DATA_SELECT
6. 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-
Load (Full Load) This is a one-time event, which starts an initial load of data from source system.
Replicate(Full Load + It start initial load (if not done earlier), and also consider delta change. Database trigger and related l
Delta Load) each table.
Stop Replication It stops the current replication process for a table. It removes database trigger and logging table com
Suspend It pause a running replication process of a table. The database trigger will not be deleted from the so
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 proc
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."
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).
SAP SLT Replication Server transforms all metadata table definitions from the non-ABAP source system to SAP
HANA.
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 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.
SAP HANA Analytic view measure can be selected from only one fact table. When there is need of More Fact
table in information view then calculation view come in the picture. Calculation view supports complex
calculation.
The data foundation of the calculation view can include tables, column views, analytic views and calculation
views.
Calculation View can contain multiple measures and can be used for multidimensional reporting or no
measure which is used in list type reporting.
1. SAP HANA Graphical Calculation View (Created by SAP HANA Studio Graphical editor).
2. SAP HANA Script-based calculations Views (Created by SQL Scripts by SAP HANA Studio).
In SAP HANA Analytic view, we can select a measure from one table only.
So when there is a requirement for a view which contains measure from the different table then it cannot
achieve by analytic view but by calculation view.
So in this case, we can use two different analytic view for each table and join them in calculation view.
We are going to create a graphical Calculation View "CA_FI_LEDGER" by joining two Analytic View
"AN_PURCHASE_ORDER" And "AN_FI_DOCUMENT".
Palette: This section contains below nodes that can be used as a source to build our calculation views.
1. Join: This node is used to join two source objects and pass the result to the next node. The join types
can be inner, left outer, right outer and text join.Note: We can only add two source objects to a join
node.
2. Union: This is used to perform union all operation between multiple sources. The source can be n
number of objects.
3. Projection: This is used to select columns, filter the data and create additional columns before we use
it in next nodes like a union, aggregation and rank.
4. Aggregation: This is used to perform aggregation on specific columns based on the selected
attributes.
5. Rank: This is the exact replacement for RANK function in SQL. We can define the partition and order
by clause based on the requirement.
STEP 2)
1. Click Projection node from palette and drag and drop to scenario area from Purchase order analytic
view. Renamed it to "Projection_PO".
2. Click Projection node from palette and drag and drop to scenario area for FI Document analytic view.
Renamed it to "Projection_FI".
3. Drag and drop analytic View "AN_PUCHASE_ORDER" "AN_FI_DOCUMENT" and from Content folder to
Projection node and "Projection_FI" respectively.
4. Click Join Node from Palette and drag and drop to scenario area.
5. Join Projection_PO node to Join_1 node.
6. Join Projection_FI node to Join_1 node.
7. Click Aggregation node from palette and drag and drop to scenario area.
8. Join Join_1 node to Aggregation node.
STEP 3) Click on Join_1 node under aggregation and you can see the detail section is displayed.
1. Click on Aggregation node and Detail will be displayed on right side of the pane.
2. Select Column for output from the Join_1 displayed on the right side in the detail window.
Detail screen will be displayed as below. Define attribute and measure type for the column and also, mark key
for this output.
STEP 6) Validate and Activate calculation View, from the top bar of the window.
Calculation View will be activated and will display under Modelling Package as below –
We have added two analytic views and select measure (TAX_AMOUNT, GROSS_AMOUNT) from both analytic
view.
Data Preview screen will be displayed as below –
CE Functions also known as Calculation Engine Plan Operator (CE Operators) are alternative to SQL
Statements.
CE_COLUMN_TABLE
CE_JOIN_VIEW
CE_OLAP_VIEW
CE_CALC_VIEW
By Using Relational Operator, the user can bypass the SQL processor during the evaluation and communicate
with calculation engine directly.
CE_JOIN (It is used to perform inner join between two sources and
CE_RIGHT_OUTER_JOIN(It is used to perform right outer join between the two sources
CE_LEFT_OUTER_JOIN (It is used to perform left outer join between the sources and
CE_PROJECTION (This function display the specific columns from the source and apply
filters to restrict the data. It provides column name aliase features also.)
CE_CALC (It is used to calculate additional columns based on the business requirement.
This is same as calculated column in graphical models.)