MDGD_CODEMAP SAP (Code Mapping Table) Table details
Dictionary Type: Table
Description: Code Mapping Table
Description: Code Mapping Table
Table field list including key, data, relationships and ABAP select examples
MDGD_CODEMAP is a standard SAP Table which is used to store Code Mapping Table data and is available within R/3 SAP systems depending on the version and release level.
The MDGD_CODEMAP table consists of various fields, each holding specific information or linking keys about Code Mapping Table data available in SAP. These include OBJ_NAME (GDT Name), MAPCONTEXT (Mapping ID), MAPCODE (Mapping Combination Key), INTERNAL_CODE (Internal Code Value).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: C - Customising table, maintenance only by custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP MDGD_CODEMAP table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
OBJECT | Connect to or Disconnect From External Code List | MDG_PRX_R3OBJ | CHAR | 4 | MDGD_ELEMENT | MDG_PRX_R3OBJ | |||
OBJ_NAME | GDT Name | MDG_PRX_R3NAME | CHAR | 30 | MDGD_ELEMENT | MDG_PRX_R3NAME | |||
MAPCONTEXT | Mapping ID | MDG_MAPCONTEXT | CHAR | 10 | MDGD_MAPCONTEXT | CHAR10 | |||
MAPCODE | Mapping Combination Key | MDG_MAPCODE | NUMC | 5 | NUMC5 | ||||
INTERNAL_CODE | Internal Code Value | MDG_INTERNAL_CODE | CHAR | 30 | CHAR30 | ||||
EXTERNAL_CODE | External Code Value | MDG_EXTERNAL_CODE | CHAR | 30 | CHAR30 | ||||
IN_MAP_DEFAULT | Default Inbound Mapping | MDG_IN_MAP_DEFAULT | CHAR | 1 | XFELD | ||||
OUT_MAP_DEFAULT | Default for Outbound Mapping | MDG_OUT_MAP_DEFAULT | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table MDGD_CODEMAP using ABAP code
The following ABAP code Example will allow you to do a basic selection on MDGD_CODEMAP to SELECT all data from the tableDATA: WA_MDGD_CODEMAP TYPE MDGD_CODEMAP.
SELECT SINGLE *
FROM MDGD_CODEMAP
INTO CORRESPONDING FIELDS OF WA_MDGD_CODEMAP
WHERE...
How to access SAP table MDGD_CODEMAP
Within an ECC or HANA version of SAP you can also view further information about MDGD_CODEMAP and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects