TQ40 SAP (Definition of sample types) Table details

Dictionary Type: Table
Description: Definition of sample types




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




Table field list including key, data, relationships and ABAP select examples

TQ40 is a standard SAP Table which is used to store Definition of sample types data and is available within R/3 SAP systems depending on the version and release level.

The TQ40 table consists of various fields, each holding specific information or linking keys about Definition of sample types data available in SAP. These include PRART (Physical-Sample Type), NUMKR (Number of the Number Range for Physical Samples), STSMA (Status Profile for Physical Samples), FB_ETIKETT (Function Module for Printing Labels).. 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: G - Customising table which is protected against SAP Update
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified

Text table = TQ40T


SAP TQ40 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
MANDTClient MANDTCLNT3T000MANDT
PRARTPhysical-Sample Type QPRARTCHAR2QPRART
NUMKRNumber of the Number Range for Physical Samples QPR_NKCHAR2CHAR2
STSMAStatus Profile for Physical Samples QSTSMA_PRSCHAR8TJ20J_STSMA
FB_ETIKETTFunction Module for Printing Labels QFBS_QPR1CHAR30TFDIRFUNCNAME
QKZ_ETDRPrint Physical-Sample Label Immediately QKZ_ETDRCHAR1QKZ
BS_SCHLScreen Control Key for Physical Samples QBSS_PROBECHAR2TQ46QBSS_PROBE

Key field Non-key field



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

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

SELECT SINGLE *
FROM TQ40
INTO CORRESPONDING FIELDS OF WA_TQ40
WHERE...

How to access SAP table TQ40

Within an ECC or HANA version of SAP you can also view further information about TQ40 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!