Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
created by Ankit Mittal on Apr 19, 2014 10:31 PM, last modified by Ankit Mittal on Apr 19, 2014 11:58 PM
Version 3
inShare0
This document presents step by step procedure for Trigger-Based Data Replication from ECC to HANA system using
SAP Landscape Transformation (SLT) based on capturing database changes at a high level of abstraction in the source ERP
system.
The initial load of business data is initiated using the SAP HANA studio. The initial load message is sent from the SAP
HANA system to the SLT system (based on SAP NetWeaver 7.02 with kernel 7.20 EXT), which in turn passes the
initialization message to the ERP system. The ERP system begins by setting up database transaction log tables for each table
to be replicated. After the transaction tables are completed, the SLT system begins a multi-threaded replication of data to the
target system, which enables high speed data transfer.
The initial load of data can be executed while the source system is active. The system load that this process causes can be
controlled by adjusting the number of worker threads performing the initial replication.
In parallel to the initial load, by means of database-specific triggers, the SLT system begins detecting any data changes that
occur while the initial load process is running. These changes are logged to the transaction tables, and are propagated to the
target SAP HANA system.
After the initial load process has completed, the SLT system continues to monitor the transaction tables in the ERP system,
and replicates data changes in the source system to the SAP HANA system in near real time.
2. Logon to HANA Studio with the appropriate credentials . Here a schema of same name as configuration would be created.
Click on Data Provisioning through Quick Launch.
This will take take us to SLT Based Table Data Provisioning. Here we can see 3 tables are already being replicated without
user replicating them. These tables basically provide HANA system with information of all the tables in source system.
Now for loading any table click on “Load” and select the table from the list of tables available in the source system and click
finish.
With this, table “MARA” get loaded from Source ECC system to SAP HANA system.
For replication purpose lets take example of application table –VBAP (Sales Document line item data).
To show the replication process lets create one more record on the ECC side (with reference) which gets replicated to the
HANA system as shown below:
Now a Sales Document with Document number (VBELN) – 13553 is created.
This completes our basic objective of replicating data from SAP ECC system to SAP HANA system in real time using SLT.
inShare0
Comments
4 Comments
Like (0)
So i understand that even if the table is not loaded for the first time, and if user clicks on " replicate"
button in the studio, it will still trigger the first load and replicate later.
One question is : is the size of the Log table defined / configurable anywhere?
Like (0)
@Sudha :We can set the maximum allowed value (maximum number of result record) using
preferences but as far as size of log tables is concerned I think HANA Admin takes care of it
...as an application developer we refer job logs to find successful/unsuccessful jobs and its
cause. I will revert back to you once i find an appropriate answer to your question..
Like (0)
Absolutely Useful for the beginners who have been hearing about SAP LT server but been not able to
see the system in real!! Good one Ankit!
Step do it
Hi Elena Tibrea, Step1: create a new table in ECC, the transaction code is SE11. Step2: open another
session which is LTRC. Step3: give the mass transfer id and press F8. Step4: select data provisioning and give
the table name which you created. Step5: choose start replication. Step6: press F8. Step7: repeat step5 until the
table is activated. Step8: logon to hana studio. Step9: open quicklaunch and select dataprovisioning , click refresh
and see the status. The status is in Replicate In Process. Regards khaga