MDGD_CODEMAP SAP (Code Mapping Table) Table details

Dictionary Type: Table
Description: Code Mapping Table




ABAP Code to SELECT data from MDGD_CODEMAP
Related tables to MDGD_CODEMAP
Access table MDGD_CODEMAP




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 cust
Display/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
OBJECTConnect to or Disconnect From External Code List MDG_PRX_R3OBJCHAR4MDGD_ELEMENTMDG_PRX_R3OBJ
OBJ_NAMEGDT Name MDG_PRX_R3NAMECHAR30MDGD_ELEMENTMDG_PRX_R3NAME
MAPCONTEXTMapping ID MDG_MAPCONTEXTCHAR10MDGD_MAPCONTEXTCHAR10
MAPCODEMapping Combination Key MDG_MAPCODENUMC5NUMC5
INTERNAL_CODEInternal Code Value MDG_INTERNAL_CODECHAR30CHAR30
EXTERNAL_CODEExternal Code Value MDG_EXTERNAL_CODECHAR30CHAR30
IN_MAP_DEFAULTDefault Inbound Mapping MDG_IN_MAP_DEFAULTCHAR1XFELD
OUT_MAP_DEFAULTDefault for Outbound Mapping MDG_OUT_MAP_DEFAULTCHAR1XFELD

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!