Skyline view of New York City, this is to show the breadth of buildings similar to the complexity of SAP S4 HANA master data Management MDM

Simplify Your SAP S4 HANA Master Data Experience

The complex world of SAP S4 Hana Master Data

Understanding SAP S4 HANA MDG Tables

SAP S4 MDG Tables image representing a computer with database entries

A critical aspect of understanding SAP S4 HANA MDG is understanding the MDG data tables that underpin the key functionality. There is a lot of complexity behind the tables that make up SAP MDG. The aspect of data models & staging tables mimic the underlying S4 HANA data tables. I recommend first understanding the key SAP S4 HANA master data tables prior to understanding SAP S4 HANA MDG tables. This article explains the different master data objects and tables:

For this article we are going to explore the different areas of SAP MDG and the underlying tables

Before we go further in order to understand SAP MDG I recommend the SAP MDG overview:

SAP MDG Change Request Tables

The key functionality that drives creation/update/delete/block of master data in MDG is change requests. The change request is a unique identifier that includes the ID number, description, type & status of change requests. Let’s quickly explore the relevant tables that make up a change request. For more details of the change request process in SAP MDG check out this post:

ObjectTableTable DescriptionPurpose
Change RequestUSMD120CChange Request Header TableFind status of change request, creator of change request, date created etc.
Change RequestUSMD110CType of Change RequestDescriptions of the different change request types
Change RequestUSMD1102Change Request SLA (days per priority)Expected number of days based on the priority and type of the change request
Change RequestUSMD130CChange Request StatusChange request status and allowed processing per status
Change RequestUSMD210CChange Request PriorityOptions available to select the priority of a change request
Change RequestUSMD211CChange Request ReasonsReasons allowed for the type of change request
Change RequestUSMD212CChange Request Reason for RejectionOptions for rejection based on change request type
Change RequestUSMD1213Change Request ObjectsUtilized to map the change request number to the technical key
SAP S4 HANA MDG Tables for Change Requests

SAP MDG Workflow Tables

The workflow is a key aspect of the change request process that drives the approvals and data input roles. Let’s explore some of the key tables related to the workflow. To properly understand many of the workflow tables I recommend the following article:

TableTable DescriptionPurpose
USMD2400Mapp top work item to change requestThis maps the change request number to the top level workflow number in the technical workflow log
USMD202C_SSWStep Definition for Rule Based WorkflowCreate steps to utilize in the BRF+ decision table workflows
USMD0080Change Request Step entity and checksThis table shows what field checks (BRF+, basic, enhancements) are performed per step and entity of a change request
USMD220TChange Request ActionsThis table has the action code and description for submit/approve etc.
SWWWIHEADSAP Workflow header table for all work item typesThis table will show all the different work items in a workflow. You can determine how long a task sat at a step based on creation vs completion time
SWWWIRETWorkflow runtime: Return values of method callThis table has a more digestible format for the start date and time vs end date and time based on a work item ID
SWW_USRATTWorkflow Runtime: User AttributesThis table includes the workflow action such as approve, activate, etc.
SWW_WI2OBJWorkflow Runtime: Work item to ObjectThis table stores the work item to a GUID object for other table processing
SWWUSERWICurrent Work Items Assigned to a UserThis table stores users and the associated work items assigned to them
SAP S4 HANA MDG Tables for Workflow

SAP MDG Data Model Tables

The final piece to the MDG puzzle is knowing all the tables that hold the data prior to activation in S4 in the case of the reuse data model. In the case of a flex data model these tables are utilized for both the inactivate area as well as the active area. The easiest way to determine all of the tables is using the program (Tcode SA38) USMD_DATA_MODEL. Let’s take a look at some of the key tables. For all the tables use the USMD_DATA_MODEL program:

DomainTable NameTable DescriptionPurpose
Material/1MD/MD______03LMDG Material Mapping TableMaps material number to technical key used by MDG tables
Material/1MD/MD______03KMDG Material Header DataMDG Material Master header entity basic data
Material/1MD/MD______08BMDG Material Master Basic DataMDG Material Master Basic Data
Material/1MD/MD______05KMDG Material Master Basic Purchasing DataMDG Global level MARA purchasing data
Material/1MD/MD______05QMDG Material Master Basic Sales DataMDG Global level MARA sales data
Material/1MD/MD______07FMDG Material Master basic quality dataMDG Material Master basic quality data
Material/1MD/MD______08AMDG Material Master basic warehouse dataMDG Material master basic warehouse data
Material/1MD/MD______05OMDG Material Master Plant DataMDG Material Master Plant Data
Material/1MD/MD______05EMDG Material Master Plant MRP DataMDG Material Master Plant MRP Data
Material/1MD/MD______05YMDG Material Master Plant General DataMDG Material Master Plant General Data Availability Check
Material/1MD/MD______05VMDG Material Master Plant Costing DataMDG Material Master Plant Costing Data
Material/1MD/MD______06HMDG Material Master Plant Purchasing DataMDG Material Master Plant Purchasing Data
Material/1MD/MD______062MDG Material Master Plant Sales DataMDG Material Master Plant Sales Data
Material/1MD/MD______081MDG Material Master Valuation Data pricingMDG Material Master Valuation Data pricing
Material/1MD/MD______05DMDG Material Master Valuation DataMDG Material Master Valuation Data
Business Partner/1MD/MD______03Z MDG Business Partner Mapping TableUsed to store business partner to technical key mapping used by MDG tables
Business Partner/1MD/MD______03XMDG Business Partner to Address Mapping tableMDG Mapping table for business partner to address number
Business Partner/1MD/MD______049MDG BP role tableMDG BP Roles table
Business Partner/1MD/MD______04FMDG BP address tableMDG table for BP address details
Business Partner/1MD/MD______04NMDG BP customer General data tableMDG BP general data for customer
Business Partner/1MD/MD______071MDG BP customer sales dataMDG BP customer sales area data
Business Partner/1MD/MD______06YMDG BP customer company code dataMDG BP customer company code data
Business Partner/1MD/MD______046MDG BP vendor general dataMDG BP vendor general data
Business Partner/1MD/MD______044MDG BP vendor purchase org dataMDG BP vendor purchase org data
Business Partner/1MD/MD______04KMDG BP vendor company code dataMDG BP vendor company code data
Finance/1MD/MD______001MDG GL Account Check TableUsed to store GL Account to technical key mapping used by MDG tables
Finance/1MD/MD______02QMDG GL Account Company Code Check TableUsed to store finance GL company code details
Finance/1MD/MD______07RMDG GL Account DetailsUsed to store the MDG GL account header details
Finance/1MD/MD______07MMDG GL Company Code DetailsUsed to store the MDG GL account company code details
Finance/1MD/MD______00GMDG Profit Center Check TableUsed to store profit center to technical key mapping used by MDG tables
Finance/1MD/MD______07PMDG Profit Center TableUsed to store MDG Profit Center Details
Finance/1MD/MD______0E9MDG Cost Center Check TableUsed to store cost center to technical key mapping used by MDG tables
Finance/1MD/MD______07QMDG Cost Center TableUsed to store MDG Cost Center Details
Finance/1MD/MD______006MDG Cost Element Check TableUsed to store cost element to technical key mapping used by MDG tables
Finance/1MD/MD______07NMDG Cost Element TableUsed to store MDG cost element Details
SAP S4 HANA MDG Tables for Data Models (material, customer, vendor, finance)

Leave a Reply

Discover more from Simplify Your SAP S4 HANA Master Data Experience

Subscribe now to keep reading and get access to the full archive.

Continue reading