SAP Table SWOTDDIC

ABAP/4 Dictionary Field Information

SWOTDDIC (ABAP/4 Dictionary Field Information) is a standard table in SAP R\3 ERP systems. Below you can find the technical details of the fields that make up this table. Key fields are marked in blue.

Additionally we provide an overview of foreign key relationships, if any, that link SWOTDDIC to other SAP tables.

Source: SWOTDDIC (ABAP/4 Dictionary Field Information)

SWOTDDIC table fields

Field Data element Checktable Datatype Length Decimals
LANGUAGE Language Key DDLANGUAGE LANG 1 0
TABNAME Table Name TABNAME CHAR 30 0
FIELDNAME Field Name FIELDNAME CHAR 30 0
KEYFLAG Identifies a key field of a table KEYFLAG CHAR 1 0
NULL No key field
X Key field
POSITION Position number of table field in database FLPOS RAW 2 0
CHECKTABLE Check table name of the foreign key CHECKTABLE CHAR 30 0
DDLENGTH Length (No. of Characters) DDLENG NUMC 6 0
INTLENGTH Length of a field in bytes SWO_FLDLEN INT4 10 0
OUTLENGTH Output length SWO_OUTLEN INT4 10 0
DECIMALS Number of Decimal Places DECIMALS NUMC 6 0
DATATYPE Data Type in ABAP Dictionary DATATYPE_D CHAR 4 0
ACCP Posting period YYYYMM
CHAR Character String
CLNT Client
CUKY Currency key, referenced by CURR fields
CURR Currency field, stored as DEC
D16D Decimal Floating Point, 16 Digits, DEC on Database
D16R Decimal Floating Point, 16 Digits, RAW on Database
D16S Decimal Floating Point. 16 Digits, with Scale Field
D34D Decimal Floating Point, 34 Digits, DEC on Database
D34R Decimal Floating Point, 34 Digits, RAW on Database
D34S Decimal Floating Point, 34 Digits, with Scale Field
DATS Date field (YYYYMMDD) stored as char(8)
DEC Counter or amount field with comma and sign
FLTP Floating point number, accurate to 8 bytes
INT1 1-byte integer, integer number <= 255
INT2 2-byte integer, only for length field before LCHR or LRAW
INT4 4-byte integer, integer number with sign
LANG Language key
LCHR Long character string, requires preceding INT2 field
LRAW Long byte string, requires preceding INT2 field
NUMC Character string with only digits
PREC Obsolete data type, do not use
QUAN Quantity field, points to a unit field with format UNIT
RAW Uninterpreted sequence of bytes
RSTR Byte String of Variable Length
SSTR Short Character String of Variable Length
STRG Character String of Variable Length
TIMS Time field (hhmmss), stored as char(6)
UNIT Unit key for QUAN fields
VARC Long character string, no longer supported from Rel. 3.0
INTATYPE ABAP elementary data type SWO_FLDTYP CHAR 1 0
C Character String
N Character String with Digits Only
D Date (Date: YYYYMMDD)
T Time (Time: HHMMSS)
X Byte Seq. (heXadecimal), in DDIC metadata also for INT1/2/4
I Integer number (4-byte integer with sign)
b 1-byte integer, integer number <= 254
s 2-byte integer, only for length field before LCHR or LRAW
P Packed number
F Floating point number to accuracy of 8 bytes
g Character string with variable length (ABAP type STRING)
y Byte sequence with variable length (ABAP type XSTRING)
u Structured type, flat
v Structured type, deep
h Table type
V Character string (old Dictionary type VARC)
r Reference to class/interface
l Reference to data object
a Decimal Floating Point Number, 16 Digits
e Decimal Floating Point Number, 34 Digits
j Static Boxed Components
k Generic Boxed Components
LOWERCASE Lowercase letters allowed/not allowed LOWERCASE CHAR 1 0
NULL Do not set flag
X Set flag
CONVEXIT Conversion Routine CONVEXIT CHAR 5 0
MEMORYID Set/Get parameter ID MEMORYID CHAR 20 0
DOMNAME Domain name DOMNAME CHAR 30 0
ROLLNAME Data element (semantic domain) ROLLNAME CHAR 30 0
FIELDTEXT Short Description of Repository Objects AS4TEXT CHAR 60 0
HEADLEN Length of the heading SWO_HEADLN INT4 10 0
REPTEXT Heading REPTEXT CHAR 55 0
SCRLEN1 Max. length for short field label SCRLEN_S NUMC 2 0
SCRTEXT_S Short Field Label SCRTEXT_S CHAR 10 0
SCRLEN2 Max. length for medium field label SCRLEN_M NUMC 2 0
SCRTEXT_M Medium Field Label SCRTEXT_M CHAR 20 0
SCRLEN3 Max. length for long field label SCRLEN_L NUMC 2 0
SCRTEXT_L Long Field Label SCRTEXT_L CHAR 40 0
EVENT Attribute with change event SWC_CHEVNT CHAR 1 0
NULL No
X Yes