SAP TEMDB IS-U Mig.: Structure of Automation Data Table data and field list

TEMDB is a standard SAP Table which is used to store IS-U Mig.: Structure of Automation Data data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The TEMDB table consists of various fields, each holding specific information or linking keys about IS-U Mig.: Structure of Automation Data data available in SAP. These include OBJECT (Migration Object), A_LEVEL (Level in a structure), A_NODE (Nodes within a structure level), N_LEVEL (Level in a structure)... 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. .

TEMDB table Technical Details:

Delivery Class: E - Control table, SAP and customer have separate key areas
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)

Text table = TEMDBT


SAP TEMDB table fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the TEMDB table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
FIRMACompany (Client) for Migration EMG_FIRMACHAR5Assigned to domainEMG_FIRMA
OBJECTMigration Object EMG_OBJECTCHAR10TEMOBEMG_OBJECTEM1
A_LEVELLevel in a structure EMG_LEVELNUMC2EMG_LEVEL
A_NODENodes within a structure level EMG_NODENUMC2EMG_NODE
N_LEVELLevel in a structure EMG_LEVELNUMC2EMG_LEVEL
N_NODENodes within a structure level EMG_NODENUMC2EMG_NODE
N_NAMESub-structure name for automation data EMG_SUPPTCHAR30EMG_AUTOPT
AFELDAutomation Data Field EMG_AFELDCHAR1EMG_CHECK
MULTIMultiple data EMG_MULTICHAR1EMG_KENNZX
INPSTRUCTLargest possible transfer structure (SAP) EMG_STRUCTCHAR30Assigned to domainAS4TABEM2
DTTYPData type of sequential file record EMG_DTTYPCHAR6EMG_DTTYP
AFINHContents of automation data field EMG_AFINHCHAR4CHAR4
VARNAMEFixed value EMG_VNAMECHAR12Assigned to domainEMG_VNAME
GENGeneration Requested EMG_GENCHAR1EMG_KENNZX
VARTYPVariable type of auto substructure EMG_VARTYPCHAR34CHAR034
DOKUDocumentation Available EMG_DOKUCHAR1EMG_CHECK
DOCUNRInternal number for determination of migration documentation EMG_DOCUNRNUMC6INT6
MULTIKEYIndicator: multiple legacy keys for create module EMG_MULKEYCHAR1EMG_CHECK
CUSTSTRCustomer structure EMG_CUSTOMERCHAR1EMG_CHECK
DATUM1Date DATUMDATS8DATUM
UZEIT1Time UZEITTIMS6UZEIT
UNAME1User Name UNAMECHAR12UNAME
DATUM2Date DATUMDATS8DATUM
UZEIT2Time UZEITTIMS6UZEIT
UNAME2User Name UNAMECHAR12UNAME
REF_OBJECTMigration Object EMG_OBJECTCHAR10Assigned to domainEMG_OBJECTEM1
REF_A_LEVELLevel in a structure EMG_LEVELNUMC2EMG_LEVEL
REF_A_NODENodes within a structure level EMG_NODENUMC2EMG_NODE
REF_N_LEVELLevel in a structure EMG_LEVELNUMC2EMG_LEVEL
REF_N_NODENodes within a structure level EMG_NODENUMC2EMG_NODE
REQUStructure Must Be Processed At Least Once EMG_STRUCTURE_REQUCHAR1EMG_CHECK

Key field Non-key field



How do I retrieve data from SAP table TEMDB using ABAP code

The following ABAP code Example will allow you to do a basic selection on TEMDB to SELECT all data from the table
DATA: WA_TEMDB TYPE TEMDB.

SELECT SINGLE *
FROM TEMDB
INTO CORRESPONDING FIELDS OF WA_TEMDB
WHERE...

How to access SAP table TEMDB

Within an ECC or HANA version of SAP you can also view further information about TEMDB and the data within it using relevant transactions such as

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