Obsolete Host Variables
The host variables of an ABAP SQL statement can still be specified without the escape character
@, unless one of the
strict modes of the syntax check from Release
7.40, SP05 is used. This format is obsolete. The escape character
@ must always be specified to distinguish ABAP data objects clearly from names in the database.
7.31 | 7.40 | 7.54
SELECT statement without escape character in front of named ABAP data objects.
INTO TABLE itab
WHERE carrid = carrid AND
connid = connid.
Recommended spelling with escape character in front of named ABAP data objects.
WHERE carrid = @carrid AND
connid = @connid
INTO TABLE @itab.