0% found this document useful (0 votes)
2K views10 pages

Data Modeling - Step by Step

Data replication in SAP MDG is facilitated by the Data Replication Framework (DRF) which contains tools to seamlessly distribute data to receiver systems. The DRF configuration defines business systems, replication models, filter objects, and outbound implementations. Replication models define the sequence of outbound implementations which retrieve and send business object data using classes implementing interfaces like IF_USMD_DISTRIBUTION. Data is replicated using transaction DRFOUT which provides logs of the replication process and filter results.

Uploaded by

Venugopal P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views10 pages

Data Modeling - Step by Step

Data replication in SAP MDG is facilitated by the Data Replication Framework (DRF) which contains tools to seamlessly distribute data to receiver systems. The DRF configuration defines business systems, replication models, filter objects, and outbound implementations. Replication models define the sequence of outbound implementations which retrieve and send business object data using classes implementing interfaces like IF_USMD_DISTRIBUTION. Data is replicated using transaction DRFOUT which provides logs of the replication process and filter results.

Uploaded by

Venugopal P
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Data replication

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.

Configuration of Data Replication Framework:

In IMG, the configuration for Data Replication is divided in to two main subsets.

I. Define Custom Settings for Data Replication

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.

A replication model requires at least one Outbound Implementation to be configured. An Outbound


Implementation as such defines how business object data is sent to another system. Replication model
contains the sequence in which these Outbound implementations are triggered.
I. Enhance Default settings for Data Outbound Implementations

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.

Assigning filters to business object types:


Configure Object Identifiers:

Assigning key structures to Object Identifiers:

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.

You might also like