Elementary Data Types - Predefined

The following table summarizes the elementary data types which are predefined in ABAP (the valid size is given in bytes):

ABAP data Types

Data type

Initial

size

Valid

size

Initial value

Meaning

C

1

1 - 65535

SPACE

Text, character

(alphanumeric characters)

D

8

8

'00000000'

Date

(format: YYYYMMDD)

F

8

8

0

Floating point number

I

4

4

0

Integer (whole number)

N

1

1 - 65535

'00...0'

Numeric text

P

8

1 - 16

0

Packed number

T

6

6

'000000'

Time

(format: HHMMSS)

X

1

1 - 65535

X'00'

hexadecimal

The data types D, F, I, and T are predefined in all respects, but the data types C, N, P, and X can have additional specifications. For example, you can define the size in the program.

For more information about the numeric data types I, F, and P, see Numeric Data Types.