Introducing Archiving

Objective

After completing this lesson, you will be able to describe archiving.

Archiving

Archiving activities can occur in the source system at any time. When the SAP Landscape Transformation Replication Server replicates a table to the target system, it creates a database trigger that records any changes in a logging table.

A screenshot showing that Do Not Delete Target Table Record is selected under Action Taken if Source Table Record is Archived

If a table is being replicated and a record in the table is archived, the database trigger interprets the archiving operation as a DELETE statement. The SAP Landscape Transformation Replication Server then deletes the corresponding record from the target table. However, you might want to prevent the record from being deleted in the target system.

If a user archives data from any table in the source system, you can prevent the data from being deleted from the corresponding table in the target system.

To do this, in the Advanced Replication Settings (transaction LTRS), under Trigger Options, select Do Not Delete Corresponding Target Table Record and specify the relevant user (or users).

Note

Due to security considerations, the system does not check whether the user you specify actually exists in the system. Therefore, ensure that you enter a valid user.
A screenshot of the Administration tab shows, among others, the following option to select: Do Not Replace Archiving Activities to Target System.

If your configuration uses the new CDC mechanism, the feature is still available, but it is not implemented via the database trigger. In addition, you need to make the setting while creating the configuration, and you cannot switch it on/off spontaneously.

Note

Please double-check if this function is supported for the combination of the following :

  • SAP Landscape Transformation Replication Server version
  • Source system databases
  • Source system SAP Kern
  • Source system DBSL level
  • Source system DMIS AddOn version