SAP MDG · COMMUNITY

How do I extend a custom node/table for Material/Product in MDG Consolidation and Mass Processing?

Use the guide to extend the Material/Product data model for MDG Consolidation or Mass Processing on SAP MDG 9.0+ and SAP S/4HANA 1610 through 1909. The example adds custom table ZKMITAB, and the extension covers process-model configuration, generated source/process artifacts, and model class redefinitions.

Use the guide to extend the Material/Product data model for MDG Consolidation or Mass Processing on SAP MDG 9.0+ and SAP S/4HANA 1610 through 1909. The example adds custom table ZKMITAB, and the extension covers process-model configuration, generated source/process artifacts, and model class redefinitions.

Use this guide to add a new customer-namespace node/table to the Material data model for MDG Consolidation or MDG Mass Processing. The supplied example uses custom table ZKMITAB for ERP Material, applies to SAP MDG 9.0 or higher and SAP S/4HANA 1610 through 1909, and requires process-model and model-class extension.

Process flow

  1. Use the guide for a customer-namespace table/node extension in Material/Product Consolidation or Mass Processing.
  2. Check release scope: SAP MDG 9.0+ and SAP S/4HANA 1610 through 1909; use the separate guide for S/4HANA 2020+.
  3. Decide whether Central Governance Change Request integration is needed.
  4. If needed, complete the Central Governance prerequisite extension first.
  5. If no Change Request is used, enhance CMD_BS_MAT_S_MAT_DATA and implement CMD_BS_MAT_API_SEGMENTS_EXT.
  6. Create/redefine ZCL_MDC_DATA_MAT inheriting from CL_MDC_DATA_MAT.
  7. Extend Process Model 194 in MDCIMG / VC_MDC_MODEL.
  8. Add ZKMITAB under Tables and relate it to MARA with a Process and Active join entry for the correct Join Fields design as shown in the guide source images, then save the process model changes in your system design, not by guessing values.
MDCIMG

Specify Process Model → View Cluster VC_MDC_MODEL → Business Object Type 194 (Material) → Tables

Add the custom table ZKMITAB as a process table in the Material process model.

MDCIMG

Specify Process Model → View Cluster VC_MDC_MODEL → Business Object Type 194 (Material) → MARA → Joins

Create the join from MARA to ZKMITAB and mark it Process and Active.

Referenced tables

ObjectPurpose
CMD_BS_MAT_S_MAT_DATAEnhance the data structure and X-structure for the customer table in the standalone Consolidation/Mass Processing scenario.
CMD_BS_MAT_API_SEGMENTS_EXTBAdI used to check and save customer-table data when Consolidation/Mass Processing runs without MDG Change Requests.
ZKMITABExample custom active table for the Material data extension.
ZKMITAB_SRCGenerated source database table for the custom Material extension.
ZKMITAB_PRCGenerated process database table for the custom Material extension.

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 Central Governance node-extension guides are referenced?
  • What is the business scenario for ZKMITAB?
  • Where is additional material data stored after activation?
  • Are MDG Flex tables supported?
  • What kind of tables can be extended?
  • What scenarios are supported for the extension?

Keywords

MaterialProductnode extensiontable extensionMDG ConsolidationMass ProcessingMDG 9.0S/4HANA 1610S/4HANA 1909ZKMITABCentral GovernanceCMD_BS_MAT_S_MAT_DATACMD_BS_MAT_API_SEGMENTS_EXTZCL_MDC_DATA_MATZCL_MDC_MODEL_MATProcess Model 194