SAP NetWeaver AS ABAP Release 740, ©Copyright 2014 SAP AG. All rights reserved.
ABAP Keyword Documentation → ABAP − Reference → Processing External Data → ABAP Database Accesses → Open SQL → Open SQL - Read Accesses → SELECT → SELECT - FROM →
SELECT - CONNECTION
Addition:
... CONNECTION con|(con_syntax)
Effect
The Open SQL command is not executed on the standard database but on the secondary database connection specified.The database connection can be specified statically with con or dynamically as the content of con_syntax, where the field con_syntax must be of type c or string. The database connection must be specified with a name that is in column CON_NAME in table DBCON.
The addition CONNECTION must be specified immediately after the name of the database table or after the addition CLIENT SPECIFIED.
Notes