SAP ABAP SQL LISTS - Obsolete
Get Example source ABAP code based on a different SAP table
Blank-Separated Lists
The following lists of an AB-SQL statement can still be specified with blanks as separators instead of commas, unless one of the
${col2$|a2$} $[ASCENDING$|DESCENDING$]
...>
These specifications are obsolete. Lists should always be separated by commas.
Example ABAP Coding
FROM spfli
INTO (carrid, connid)
WHERE carrid = carrid AND
connid = connid
ORDER BY carrid connid.>
Recommended format with comma-separated lists, which forces the use of the escape character
FROM spfli
WHERE carrid = @carrid AND
connid = @connid
ORDER BY carrid, connid
INTO (@carrid, @connid).>
ABAP_EXAMPLE_END