SAP MDG · MATERIAL REPLICATION

How do you configure SAP MDG Material replication using DRF, DRFOUT, and MATMAS IDocs?

Move approved Material changes from the MDG hub to connected systems with a deliberate DRF and IDoc design.

Activate the Material DRF prerequisites, configure the required outbound implementation and filters, then execute or schedule DRFOUT. Validate the generated MATMAS IDoc and the target-system update as one end-to-end process.

MDGIMG

Central Governance for Material → Activate Business Transaction Events

Activate the MDGM application required for Material DRF integration.

Structure
MDGIMG
Master Data Governance
Classic Mode in SAP MDG
Central Governance
Central Governance for Material
Activate Business Transaction Events
MDGIMG

MDG Customizing → General Settings → Data Replication → Enhance Default Settings for Outbound Implementations → Define Outbound Implementations

Maintain or enhance the outbound implementation settings.

Structure
MDGIMG
Master Data Governance
Data Replication Settings
Data Replication
Define Custom Settings for Data Replication
Define Outbound Implementations
DRFOUT

Execute directly or use a transaction variant in a background job

Run the outbound replication process with the prepared replication parameters.

ILLUSTRATIVE ABAP SAMPLE

Adapt a Material IDoc segment

Illustrative mapping logic only. Implement the method signature and segment handling required by your IDOC_DATA_MAPPER BAdI release and target interface.

1METHOD map_material_idoc. 2 3LOOP AT ct_idoc_data ASSIGNING FIELD-SYMBOL(<ls_idoc>). 4 5IF <ls_idoc>-segnam = 'E1MARAM'. 6 7 ASSIGN <ls_idoc>-sdata TO FIELD-SYMBOL(<ls_mara>). 8IF sy-subrc = 0. 9 10 <ls_mara>+0(18) = iv_material. 11ENDIF. 12 13ENDIF. 14ENDLOOP. 15 16ENDMETHOD.

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

Related questions and keywords

Alternative questions

  • Which transaction executes DRF outbound replication?
  • How do I schedule DRFOUT in a background job?
  • How can IDOC_DATA_MAPPER handle Material segment deletion?

Keywords

DRFMATMASIDoc