SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Predefined Types, Data Objects, Functions, and Constructors → Predefined Data Types →Predefined Types in ABAP Dictionary
The following table lists the predefined types in ABAP Dictionary. These types cannot be used directly in ABAP programs, and are therefore also known as external data types. Instead, they are used in ABAP Dictionary to define data types and database fields that can be referenced from ABAP programs. Each predefined data type in ABAP Dictionary is assigned to the predefined ABAP type listed in the last column of the table.
Type | Permitted Positions m | Meaning | ABAP Type |
ACCP | 6 | Posting period | n, length 6 |
CHAR | 1-30000 | Character string | c, length m |
CLNT | 3 | Client | c, length 3 |
CUKY | 5 | Currency key for currency fields | c, length 5 |
CURR | 1-31 | Currency field in BCD format | p, length (m+1)/2 |
DATS | 8 | Date | d |
DEC | 1-31 | Packed number BCD format | p, length (m+1)/2 |
DF16_DEC | 1-15 | Decimal floating point number stored in BCD format | decfloat16 |
DF16_RAW | 16 | Decimal floating point number stored in binary format | decfloat16 |
DF16_SCL | 16 | Decimal floating point number stored in binary format with subsequent scaling | decfloat16 |
DF34_DEC | 1-31 | Decimal floating point number stored in BCD format | decfloat34 |
DF34_RAW | 34 | Decimal floating point number stored in binary format | decfloat34 |
DF34_SCL | 34 | Decimal floating point number stored in binary format with subsequent scaling | decfloat34 |
FLTP | 16 | Floating point number | f |
INT1 | 3 | 1-byte integer | b |
INT2 | 5 | 2-byte integer | s |
INT4 | 10 | 4-byte integer | i |
LANG | 1 | Language | c, length 1 |
LCHR | 256-... | Long character string | c, length m |
LRAW | 256-... | Long byte string | x, length m |
NUMC | 1-255 | Numeric text | n, length m |
PREC | 2 | Obsolete data type | s |
QUAN | 1-31 | Quantity field in BCD format | p, length (m+1)/2 |
RAW | 1-255 | Byte string | x, length m |
RAWSTRING | 256-... | Byte string (BLOB) | xstring |
SSTRING | 1-1333 | Character string | string |
STRING | 256-... | Character string (CLOB) | string |
TIMS | 6 | Time | t |
UNIT | 2-3 | Unit key of a quantity field | c, length m |
Notes