ERPClimb logoERPClimb
Data Models
Master Data Governanceintermediate 9 min read

Extending and Customizing MDG Data Models with Custom Entities and Relationships (Part 4)

Preview · a free account unlocks the full lesson

Key takeaway

Learn how consultants extend standard MDG data models by adding custom entity types, attributes, and relationships to support governance requirements that go beyond delivered master data domains, and how these extensions ripple through UI, workflow, and replication layers.

In this lessonShow sections

Visual overview

Extending and Customizing MDG Data Models with Custom Entities and Relationships (Part 4) — learning sheetIn one line: Learn how consultants extend standard MDG data models by adding custom entity types, attributes, and relationships to support governance requirements that go beyond delivered master data domains, and how these extensions ripple through UI, workflow, and replication layers.ERPClimb.com / MDG / LESSON 4/7 / LEARNING SHEETExtending and Customizing MDG Data Models with CustomEntities and Relationships (Part 4)1 · IN ONE LINELearn how consultants extend standard MDG data models by adding custom entity types,attributes, and relationships to support governance requirements that go beyond deliveredmaster data domains, and how these extensions ripple through UI, workflow, and replication…2 · KEY IDEAS EXPLAINED1Standard MDG data models for business partner,material, cost center, supplier and custom objectscover common attributes, but almost every realimplementation needs extensions: additionalclassification codes, region-specific compliancefields, relationships to custom reference objects…2The data model in MDG is the foundation layer: itdefines entity types, their attributes, keystructures, and relationships between entities(for example, a business partner entity related toan address entity, or a material entity related toplant-specific data). Every other governance…3A typical extension pattern for adding attributesfollows this sequence: first, identify whether thetarget entity type already exists in the deliveredmodel (most implementations reuse standardentities like business partner or material ratherthan building custom entity types from scratch…4When relationships are involved — for example,linking a governed business partner to a customlookup entity for regulatory classification — youmust decide whether the relationship is modeled asa dependent entity (child records governedtogether with the parent in the same CR) or as a…3 · DO · AVOIDBest practice!Common mistakeDocument every custom field and relationshipadded to the standard model, including its…Establish and freeze technical namingconventions for extension fields before…Test the full change request lifecycle, notjust creation, whenever a model extension is…✕Adding a field to the UI without extending theunderlying validation, derivation, and…✕Modeling a relationship as a simple referencewhen business requirements actually need…✕Hardcoding technical field names in customBAdI logic without documentation, causing…4 · IN A REAL PROJECTA chemical manufacturer governing supplier master data needed to add a hazardous-materials certification codeand link each supplier to a custom compliance-document reference entity. The team extended the standardbusiness partner data model with the certification attribute via the extension include, modeled the…Original ERPClimb learning sheet • Verify against your SAP release and edition

Explanation

Standard MDG data models for business partner, material, cost center, supplier and custom objects cover common attributes, but almost every real implementation needs extensions: additional classification codes, region-specific compliance fields, relationships to custom reference objects, or entirely new governed entity types for domains SAP does not deliver out of the box (contracts, assets, pricing conditions, or industry-specific master records).

Understanding how the data model layer connects to everything downstream is what separates a consultant who can configure fields from one who can design a governance solution that survives support pack upgrades.

The data model in MDG is the foundation layer: it defines entity types, their attributes, key structures, and relationships between entities (for example, a business partner entity related to an address entity, or a material entity related to plant-specific data).

Every other governance artifact — UI configuration, change request (CR) type, workflow, validation/derivation rules, data replication framework (DRF) outbound settings — is built on top of this model. When you extend the model, you are not just adding a field; you are extending the contract that all these layers rely on.

A typical extension pattern for adding attributes follows this sequence: first, identify whether the target entity type already exists in the delivered model (most implementations reuse standard entities like business partner or material rather than building custom entity types from scratch, because custom entity types require significantly more effort — you must define the full entity structure, key generation logic, and often custom BAdI implementations for validation, derivation, and UI rendering).

For attribute extensions, you typically work through the extension include structures provided for standard entities, add the field there, then activate the field in the relevant UI configuration (Web Dynpro floorplan or Fiori-based UI depending on deployment) and in the search/model configuration so the field is visible in change requests and staging.

Free account

Create a free account to keep reading

You have read the opening of this lesson. A free ERPClimb account unlocks the rest of it, every other lesson and topic, and your learning history, so you can pick up exactly where you stopped. No card needed.

  • Full explanation
  • Real project scenario
  • Common mistakes
  • Best practices
  • Interview angle

One tap with Google works too. Every topic keeps its first lesson open to everyone.

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.