SAP MDG · CONSOLIDATION

How do I extend a custom Material/Product table in MDG Consolidation and Mass Processing up to S/4HANA 1909?

Use this guide to add a customer-namespace table like ZKMITAB to the Material data model for MDG Consolidation or Mass Processing on SAP MDG 9.0+ / S/4HANA 1610–1909. For standalone Consolidation/Mass Processing, extend CMD_BS_MAT_S_MAT_DATA and implement CMD_BS_MAT_API_SEGMENTS_EXT; for Central Governance integration, complete the prerequisite Material custom-node extension first.

Use this guide to add a customer-namespace table like ZKMITAB to the Material data model for MDG Consolidation or Mass Processing on SAP MDG 9.0+ / S/4HANA 1610–1909. For standalone Consolidation/Mass Processing, extend CMD_BS_MAT_S_MAT_DATA and implement CMD_BS_MAT_API_SEGMENTS_EXT; for Central Governance integration, complete the prerequisite Material custom-node extension first.

This guide covers how to add a new customer-namespace node/table to the Material data model for MDG Consolidation or MDG Mass Processing on SAP MDG 9.0+ and SAP S/4HANA 1610 through 1909. The example uses ZKMITAB for ERP Material, and SAP notes that S/4HANA 2020 and higher require a separate guide because the Material/Product API changed.

Process flow

  1. Confirm the scope: SAP MDG 9.0+ and SAP S/4HANA 1610–1909 only.
  2. Define the customer-namespace table ZKMITAB and reference Material with MATNR.
  3. Do not use MDG Flex tables.
  4. Choose the scenario: Central Governance + Consolidation/Mass Processing, or Consolidation/Mass Processing only.
  5. If needed, complete the prerequisite Central Governance Material custom-node extension first.
  6. For standalone processing, enhance CMD_BS_MAT_S_MAT_DATA and implement CMD_BS_MAT_API_SEGMENTS_EXT.
  7. Create ZCL_MDC_DATA_MAT inheriting from CL_MDC_DATA_MAT.
  8. Open MDCIMG > Specify Process Model and select Business Object Type 194. Add ZKMITAB under Tables and mark Process. Select MARA under Joins and add ZKMITAB with Process and Active. Maintain Join Fields and save. Generate artifacts for ZKMIT
MDCIMG

Specify Process Model

Maintain Process Model 194 for Material, add ZKMITAB under Tables, create the MARA join, and mark the join as Process and Active.

Referenced tables

ObjectPurpose
CMD_BS_MAT_S_MAT_DATAAPI data and X-structure enhancement for standalone Consolidation/Mass Processing without MDG Change Requests.
ZKMITABCustomer-namespace example custom table for additional Material data, referenced by MATNR.
ZKMITAB_SRCGenerated source table created during artifact generation for the custom node.
ZKMITAB_PRCGenerated process table created during artifact generation for the custom node.

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

Related questions and keywords

Alternative questions

  • What is this guide about?
  • How do I add a custom node/table to Material/Product in MDG Consolidation?
  • Which releases does this guide apply to?

Possible questions

  • Can I use this guide on S/4HANA 2020?
  • Why is there another guide for S/4HANA 2020 and higher?
  • Which guides should I study first?
  • What is the business scenario for ZKMITAB?
  • Where is additional material data stored after activation?
  • Are MDG Flex tables supported?
  • What scenarios are supported for the extension?
  • Which BAdI and model classes are used in the standalone scenario?

Keywords

MaterialProductnode extensiontable extensionMDG ConsolidationMass ProcessingMDG 9.0S/4HANA 1610S/4HANA 1909ZKMITABMARAProcess Model 194CMD_BS_MAT_S_MAT_DATACMD_BS_MAT_API_SEGMENTS_EXTZCL_MDC_DATA_MATZCL_MDC_MODEL_MAT