TFK021 SAP (Line layout variants: Fields) Table details
Dictionary Type: Table
Description: Line layout variants: Fields
Description: Line layout variants: Fields
Table field list including key, data, relationships and ABAP select examples
TFK021 is a standard SAP Table which is used to store Line layout variants: Fields data and is available within R/3 SAP systems depending on the version and release level.
The TFK021 table consists of various fields, each holding specific information or linking keys about Line layout variants: Fields data available in SAP. These include LSTCL (List class), VARNR (Line Layout/Variant), 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 custDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP TFK021 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
LSTCL | List class | LSTCL_KK | CHAR | 3 | LSTCL_KK | ||||
VARNR | Line Layout/Variant | VARNR_ZKK | CHAR | 3 | CHAR3 | ||||
COLUM | Column Number | COLUM | NUMC | 2 | NUM02 | ||||
TNAME | Table Name | TNAME_ZKK | CHAR | 30 | Assigned to domain | AS4TAB | |||
FNAME | Field Name | FNAME_ZKK | CHAR | 30 | Assigned to domain | FDNAME | |||
OFFSE | Offset in field | OFFSE_ZKK | NUMC | 2 | NUM02 | ||||
LENGT | Display length | LENGT_ZKK | NUMC | 2 | NUM02 | ||||
DEZIM | Editing Rule | DEZIM | CHAR | 1 | CHAR1 | ||||
OFFST | Distance between field and previous field | OFFST_ZKK | NUMC | 2 | NUM02 | ||||
DTYPE | Data Type in ABAP Dictionary | DATATYPE_D | CHAR | 4 | DTYPE | DATATYPE | |||
RTABL | Table for reference field | REFTABLE | CHAR | 30 | Assigned to domain | AS4TAB | |||
RFIEL | Reference field for currency and qty fields | REFFIELD | CHAR | 30 | Assigned to domain | FDNAME | |||
CONVEXIT | Conversion Routine | CONVEXIT | CHAR | 5 | CONVEXIT | ||||
XACCU | Cumulate Values in Totals Variants | XACCU_KK | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TFK021 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TFK021 to SELECT all data from the tableDATA: WA_TFK021 TYPE TFK021.
SELECT SINGLE *
FROM TFK021
INTO CORRESPONDING FIELDS OF WA_TFK021
WHERE...
How to access SAP table TFK021
Within an ECC or HANA version of SAP you can also view further information about TFK021 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects