Replicating Data from the Back End

Use

Application data from the back-end system needs to be replicated to the SAP MI ABAP Server Component in order for the mobile device to receive up-to-date application data from the back-end system.

This is not the case for SyncBOs with synchronization types Upload (U01) and 2-Way (S01). For synchronization type Back-End-Driven (T51), replication is triggered from the back-end system through the application program (see Configuring Back-End-Driven SyncBOs and note 711983).

Executing the Replicator Using the Transaction

...

...

       1.      Start transaction merep_ex_replic.

       2.      Enter the SyncBO you want to run the replicator for in SyncBO ID.

       3.      Enter the required value for the Log Level.

       4.      Choose  Execute.

       5.      The replication protocol is displayed.

       6.      Repeat steps 2 and 3 for each of your SyncBOs.

In the productive scenario, replication is run using scheduled jobs. To schedule the jobs, create variants for each of the SyncBOs (see Creating Variants for Replication and Scheduling Background Jobs for Replication).

Executing the Replicator Using the Profile Dialog

...

       1.      Start transaction merep_pd.

       2.      Choose the Synchronizer tab page.

       3.      Select the synchronizer control record you want to run the replicator for.

       4.      Choose  Execute Replicator for the SyncBO to run the replicator.

In the productive scenario, replication is run using scheduled jobs. To schedule the jobs, create variants for each of the SyncBOs (see Creating Variants for Replication and Scheduling Background Jobs for Replication).

Result

SyncBO data is retrieved from the back-end system and the replication database is updated with the data. For every replication except the first, the replicator identifies delta data and updates them in the replication database.