SAP TMC2D Key Figures (Updating) Table data and field list

TMC2D is a standard SAP Table which is used to store Key Figures (Updating) data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The TMC2D table consists of various fields, each holding specific information or linking keys about Key Figures (Updating) data available in SAP. These include MCINF (Name of information structure), STAFO (Update group for statistics update), SFONR (Update number), STFNA (Field name in the generated DDIC 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. .

TMC2D 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: Cannot Be Enhanced


SAP TMC2D 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 TMC2D 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
MANDTClient MANDTCLNT3T000MANDT
MCINFName of information structure MCINFCHAR8TMC4MCINFMCB
STAFOUpdate group for statistics update STAFOCHAR6TMCBALPHASTAFOMCF
SFONRUpdate number SFONRNUMC4NUM04
STFNAField name in the generated DDIC structure STFNACHAR30Assigned to domainFDNAME
ZEITPEvent for which updating should take place DZEITPCHAR2TMC5ZEITP
SFEINUnit of statistics field SFEINCHAR2TMC6SFEIN
QUTABReference table QUTABCHAR30TABNAME
QUFNATable field for document structure QUFNACHAR30Assigned to domainFDNAME
DATSTTable name of date field DATSTCHAR30Assigned to domainAS4TAB
DATFNField name of date DATFNCHAR30Assigned to domainFDNAME
REFORArithmetic formula for statistics update REFORCHAR4REFOR
SFBEDRequirement for statistics updating SFBEDCHAR4SFBED
UPROGProgram name for user exit UPROGCHAR40PROGNAME
UROUTProgram routine for user exit UROUTCHAR30FORMNAME
SQTABSource table SQTABCHAR30TABNAME
SQFNASource Field SQFNACHAR30Assigned to domainFDNAME
FOARTType of updating used for key figure FOARTCHAR1FOART
QFEINUnit of source field in statistics updating QFEINCHAR2TMC6SFEIN
SUHIEHierarchy (document header, item,...) of statistics update SUHIECHAR1SUHIE

Key field Non-key field



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

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

SELECT SINGLE *
FROM TMC2D
INTO CORRESPONDING FIELDS OF WA_TMC2D
WHERE...

How to access SAP table TMC2D

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

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