Ansicht
Dokumentation

ABENOPEN_SQL_HOSTVAR_OBSOLETE - OPEN SQL HOSTVAR OBSOLETE

ABENOPEN_SQL_HOSTVAR_OBSOLETE - OPEN SQL HOSTVAR OBSOLETE

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Obsolete Host Variables

The host variables of an 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.

Example

SELECT statement without escape character in front of named ABAP data objects.

SELECT *
       FROM spfli
       INTO TABLE itab
       WHERE carrid = carrid AND
             connid = connid.

Recommended spelling with escape character in front of named ABAP data objects.

SELECT *
       FROM spfli
       WHERE carrid = @carrid AND
             connid = @connid
       INTO TABLE @itab.





General Data in Customer Master   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1384 Date: 20240423 Time: 233847     sap01-206 ( 21 ms )