SELECT - Assigment rules for individual columns

Prerequisites

The following table shows the prerequisites for assigning individual columns of the result set to individual data objects - that is, for all forms of the SELECT statement, except when all columns in a work area wa are read with * and CORRESPONDING FIELDS is not specified at the same time. The table shows which data types of the result set can be assigned to which ABAP data types.

Data type of the columns in the result set ABAP data type
CHAR, CLNT,CUKY, LANG, SSTRING, STRING, UNIT, VARC c, string
ACCP, NUMC c, n
LCHR c
RAW, RAWSTRING x, xstring
LRAW x
CURR, DEC, INT1, INT2, INT4, PREC, QUAN i, p, f
FLTP f
DATS d
TIMS t

Rules

The following rules apply to the assignment procedure:

Note

As of release 6.10, strings can be specified after INTO.