T021 SAP (Fields for Line Item and Document Line Layout) Pooled Table details

Dictionary Type: Pooled Table
Description: Fields for Line Item and Document Line Layout




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




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

T021 is a standard SAP Pooled Table which is used to store Fields for Line Item and Document Line Layout data and is available within R/3 SAP systems depending on the version and release level.

The T021 table consists of various fields, each holding specific information or linking keys about Fields for Line Item and Document Line Layout data available in SAP. These include LSTCL (List Class of the Layout), VARNR (Line Layout), COLUM (Column Number), TNAME (Table Name).. 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: Not classified


SAP T021 pooled 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 MANDTCLNT3Assigned to domainMANDT
LSTCLList Class of the Layout LSTCLCHAR1LSTCL
VARNRLine Layout VARNR_021CHAR3CHAR3
COLUMColumn Number COLUMNUMC2NUM02
TNAMETable Name TNAME_021CHAR30Assigned to domainAS4TAB
FNAMEField Name FNAME_021CHAR30Assigned to domainFDNAME
OFFSEOffset in Field OFFSENUMC2NUM02
LENGTDisplay Length LENGTNUMC2NUM02
DEZIMEditing Rule DEZIMCHAR1CHAR1
OFFSTDistance between Field and Previous Field OFFSTNUMC2NUM02
DTYPEData Type in ABAP Dictionary DATATYPE_DCHAR4DTYPEDATATYPE
RTABLTable for reference field REFTABLECHAR30Assigned to domainAS4TAB
RFIELReference field for currency and qty fields REFFIELDCHAR30Assigned to domainFDNAME
CONVEXITConversion Routine CONVEXITCHAR5CONVEXIT

Key field Non-key field



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

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

SELECT SINGLE *
FROM T021
INTO CORRESPONDING FIELDS OF WA_T021
WHERE...

How to access SAP table T021

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