Executing Initial Load

Objective

After completing this lesson, you will be able to understand the initial load of data replication.

Initial Load

SLT can perform a one-time data load of an application table in the source system. Alternatively, it can transfer a table as is, replicating all changes that are executed on records in this table.

A diagram shows the process of starting and stopping the data load. The text provides more detail.

Before an initial data load into SAP HANA starts, SLT creates the target table in SAP HANA. If the table already exists, the standard behavior is to drop the table in the target. Next, the reader modules are generated, and data is transferred from the source table to the target. Once all data is transferred, the initial load is complete.

If you stop the load of a table, even if it is already completed, SLT cleans up the generated function modules (reading modules). However, the table in the target system, and the data in it, remain.

In the transaction LTRC, open a configuration and choose Data Provisioning, which can be found on the Table Overview tab. Enter the table that you want to load, and select Start LoadExecute.

On the main screen, the Table Overview and Data Provisioning options are selected. A pop-up window is open, showing options for a sample data table. The Start Load option is selected.

In transaction LTRC, on the Table Overview tab, the table is added with the current action: Load Table (No Replication). On the Data Transfer Monitor tab, if the Loaded checkbox is selected, then the data has been loaded completely to the target table.

A screenshot of the Table Overview and Data Transfer Monitor sections shows data about the status of the sample data table. The text provides more details.
An image of the main new topics. The text provides more information.

Starting from DMIS2018 SP04 / DMIS2020 / S/4HANA 2020, the LTRC UI has been reworked (for all scenarios except BW PSA) as follows:

  • The Administration Data tab has been redesigned.
  • The Processing Steps tab has been removed. Respective functions were moved to the Expert Functions tab.
  • The Table Overview and Data Transfer Monitor tabs have been merged into the Participating Objects tab.
  • The Application Log tab has been redesigned.
  • The Statistics tab has been redesigned. It now provides the initial load statistics (including history), the replication statistics, and the unprocessed logging table entries overview.

Overview

The LTRC UI has received several adaptions that improve the user experience. Various sections have been improved so that new and existing users can find information more quickly.

The image shows an overview of the changes to the LTRC user interface.

Minor Changes: The tab Processing Steps was removed and the functions from Processing Steps were moved to the tab Expert Functions. The tap Application Log was redesigned to provide a better user experience.

The screenshots show the SAP LT Replication Server interfaces.

The tabs Table Overview and Data Transfer Monitor are now merged into the tab Participating Objects to connect related information and provide improved monitoring capabilities.

Note

For more information, see SAP Notes:

2883752 - Release Information SLT - DMIS 2018 SP04 and the attached Development News document

3035351 - New data provisioning UI for S/4 2020 source - SLT

To start the load of a table on the reworked LTRC UI of our training landscape, follow the steps after the figure.

The Data Provisioning tab is selected.

In the transaction LTRC , open a replication and choose Data Provisioning, which can be found at the top of the screen.

The Object Name field is completed with the name of the table, ZSFLIGHT_00.

Enter the table that you want to load as Object Name. Select Analyze Actions. There are options to analyze, validate, schedule, or reset actions.

In the Edit Action window, Perform Initial Load is selected from the list of options.

Then select Edit ActionPerform Initial LoadConfirm.

There is information about the table provided on the screen, and the Validate Actions option is selected.

Check the info provided on the table that you want to load and select Validate Actions. Be sure that the listed objects are consistent.

Schedule Actions is selected.

Select Schedule Actions.

The Participating Objects tab is selected. The three screenshots show different states of data replication: The first shows 'Scheduled' status, the second shows 'Calculating Access Plan',and the third shows 'Initial Load Complete'.

In transaction LTRC on the Participating Objects tab, the table is added with the current action: Initial Load (No Replication). Once the load is successfully executed, you can see the number of Initial Loaded objects increased by one unit.

Database view displaying table columns and data for a sample table, ZSFLIGHT_00

In SAP HANA Studio, you can see that the target table was created with the same table structure as the source table.

The Data Preview shows the records that were transferred from the source table to the target.

Start Initial Load

Business Example

Prior to starting an initial data load into SAP HANA, SLT, by default, creates the target table in SAP HANA. If the table already exists in the target, the default behavior is to drop it. In this exercise, you will start an initial load.