Professional Documents
Culture Documents
Data replication in SAP MDG is facilitated by Data Replication Framework. Data Replication Framework
or DRF contains a set of tools / configurations that help seamless distribution of data to receiver
systems.
In IMG, the configuration for Data Replication is divided in to two main subsets.
Business Systems:
All the target systems are configured here. This contains technical settings such as Logical System, RFC
Dest, Logical file path etc. Communication to a business system can be controlled from here using the
Enable/Disable check box.
Replication model:
Replication model as the name itself suggests defines how data is replicated between systems.
Filter Objects:
Filter objects can be configured to control what data need to be / need not be selected.
In a filter object, multiple filters can be configured in sequence. There are four kinds of filters: Explicit
Simple Filter, Explicit Complex Filter, Implicit Filter and Implicit check.
Again the entity type/data model is to be configured for the filter object.
The filter parameter ZZZ_ZS_MATNR contains the filter criteria for an explicit simple filter.
Incase of an Implicit filter, a filter class can be configured. A filter class implements the interface
IF_DRF_FILTER. Logic can be configured in the method APPLY_FILTER.
Business object type as in SOA architecture can be configured to an Object identifier. Object Identifier is
used to access a key structure of an object.
Outbound Implementation:
Outbound implementation define how data is transmitted using a replication model. The associated
business objects, the class that retrieves and sends the data are configured in a distribution model. One
or more Outbound Implementations could be assigned to a replication model.
The outbound implementation class is created as an implementation of IF_USMD_DISTRIBUTION and
IF_DRF_OUTBOUND. Various methods are available are different stages of replication to enable
retrieval, filtering and distribution.
Execute Data Replication:
Data is finally replicated using the transaction DRFOUT. The replication model and specific outbound
implementations can be used as input.
Upon execution, a detailed log is available.
The result of the filter object is shown in the log as well.