SAP TMP_SPEC Model Service Specifications Table data and field list

TMP_SPEC is a standard SAP Table which is used to store Model Service Specifications data in SAP systems, such as SAP R/3, S/4HANA, depending on the version and release level.

The TMP_SPEC table consists of various fields, each holding specific information or linking keys about Model Service Specifications data available in SAP. These include SPEC_NO (Number of a Set of Model Service Specifications), DEL (Deletion Indicator), BLOCK (Use of model service specifications blocked), WERKS (Plant)... 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. .

TMP_SPEC table Technical Details:

Delivery Class: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP TMP_SPEC 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 TMP_SPEC 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
SPEC_NONumber of a Set of Model Service Specifications SPEC_NOCHAR10ALPHASPEC10MSPSPEC
DELDeletion Indicator DELCHAR1CHAR01
BLOCKUse of model service specifications blocked BLOCK_FLAGCHAR1XFELD
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
EKGRPPurchasing Group EKGRPCHAR3T024EKGRPEKG
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
SORT1Search term SPEC_SORTCHAR20CHAR20
TXZ01Short description of model specifications SPEC_TXTCHAR40CHAR40
PACKNOPackage number PACKNONUMC10ESLHPACKNO
ERDATDate on Which Record Was Created ERDATDATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
BEGRUAuthorization Group BEGRUCHAR4BEGRU
MSTAEGeneral Purchasing Status for Service LSTAECHAR2T141MMSTA
MSTDEValidity Date for 'Purchasing' Status LSTDEDATS8DATUM
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
KNTTPAccount Assignment Category KNTTPCHAR1T163KKNTTPKNT
NETWRNet Value in Document Currency NETWRCURR15(2) WERTV8
FLIEFFixed Vendor FLIEFCHAR10Assigned to domainALPHALIFNR
KONNRNumber of Principal Purchase Agreement KONNRCHAR10Assigned to domainALPHAEBELNKTR
KTPNRItem Number of Principal Purchase Agreement KTPNRNUMC5Assigned to domainEBELP
ASTYPService Category ASTYPCHAR4T362ASTYPASY
USE_KONFConfiguration at time of service selection USE_KONFCHAR1XFELD

Key field Non-key field



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

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

SELECT SINGLE *
FROM TMP_SPEC
INTO CORRESPONDING FIELDS OF WA_TMP_SPEC
WHERE...

How to access SAP table TMP_SPEC

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

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