Mapping of the ABAP Data Types 

The ABAP processor uses ABAP data types in the work areas for data.

Possible ABAP data types:

C: Character

D: Date, format YYYYMMDD

F: Floating point number in DOUBLE PRECISION (8 bytes)

I: Integer

N: Numeric character string of arbitrary length

P: Amount or counter field (packed; implementation depends on hardware platform)

S: Time stamp YYYYMMDDHHMMSS

T: Time of day HHMMSS

V: Character string of variable length, length is given in the first two bytes

X: Hexadecimal (binary) storage

STRING: Character string of variable length

XSTRING: Uninterpreted byte string of variable length

If a data element or a field of an ABAP Dictionary object (structure, table type, table, view) is used in an ABAP program, the Dictionary data type is converted to the corresponding ABAP data type.

Mapping of the ABAP Dictionary and ABAP Processor Data Types

ABAP Dictionary type

ABAP type

ACCP

N(6)

CHAR n

C(n)

CLNT

C(3)

CUKY

C(5)

CURR n,m

P((n+1)/2) DECIMAL m

DEC n,m

P((n+1)/2) DECIMAL m

DATS

D(8)

FLTP

F(8)

INT1

X(1)

INT2

X(2)

INT4

X(4)

LANG

C(1)

NUMC n

N(n)

PREC

X(2)

QUAN n,m

P((n+1)/2) DECIMAL m

RAW n

X(n)

TIMS

T(6)

UNIT

C(n)

VARC n

C(n)

LRAW

X(n)

LCHR

C(n)

STRING

STRING

RAWSTRING

XSTRING

The characters used in the table mean:

n: number of places of the field in the ABAP Dictionary

m: number of decimal places of the field in the ABAP Dictionary