DRFOUT."> DRFOUT.">

SAP MDG · REPLICATION OUTBOUND

Details about DRFF and Backend Tables

DRFF Replication Filter

Purpose This page is to provide information about the filters applied during data replication using transaction DRFOUT.

Purpose This page is to provide information about the filters applied during data replication using transaction DRFOUT.

Overview You can set filters in transaction DRFF.

For some of the outbound implementations, it is not possible to set filters, while for others it is mandatory.

Defining filters You can define the filters in transaction DRFF. The transaction is http based, therefore, below information is useful if no http connection is available.

Mandatory filters For most of the outbound implementations, it is mandatory to set filter in transaction DRFF.

You can define the filter using wild cards like *, so it takes all the data, but you must have a filter.

For example, for PMAT outbound implementation, it is mandatory to define filter for both Material Class (MATKL) and Material Art (MTART).

This is enforced by the coding in method GET_NEW_ART of the class CL_DMF_BASE.

Setting filter not possible Control information is stored in table DRFC_FILT (Available Filters on Filter Objects). If the field STRUCNAME has value DMF_S_NO_SELECTION, it is not possible to define filter for that filter object.

Technical background The filters defined in DRFF transaction are stored in below two tables:

DRFD_APPL_FILT_H Data Replication Filter Root Node DRFD_APPL_FILT_C FilterCriteria

The entries are linked with the GUID of the fields DRFD_APPL_FILT_H-DB_KEY = DRFD_APPL_FILT_C-PARENT_KEY

Useful breakpoints and code segments to check: DB_READ (CL_DRF_FILTER_CRITERIA)

When the data transfer is started from DRFOUT transaction, the filters are applied at below code sections:

Methods APPLY_FILTER and APPLY_IMPLEMENTED_FILTER of class CL_DRF_FILTER_OBJECT.

DRFOUT

DRFOUT

Open transaction DRFOUT.

DRFF

DRFF

Open transaction DRFF.

Referenced tables

ObjectPurpose
DRFC_FILTOpen table DRFC_FILT.

The remaining configuration, implementation details, and testing guidance continue from this answer more…

Related questions and keywords

Alternative questions

  • How do I approach DRFF Replication Filter?
  • What should I check when configuring DRFF Replication Filter?
  • How can I test DRFF Replication Filter?

Possible questions

  • How do I approach DRFF Replication Filter?
  • What should I check when configuring DRFF Replication Filter?
  • How can I test DRFF Replication Filter?
  • What configuration is required for DRFF Replication Filter?
  • How can this SAP MDG scenario be tested?

Keywords

DRFFDRFTable for filterReplication Filters