SAP ABAP SQL LITERALS



Get Example source ABAP code based on a different SAP table
  



AB_SQL - literal
ABAP literals can be used in read positions of AB-SQL statements where host variables are possible. Unlike host variables, they are not prefixed with the escape character @. The literal operator can be used to combine two literals of the same type into a single literal.
In AB-SQL , there are two different kinds of literals:
Typed literals (cover most built-in types of the ABAP Dictionary) Typed literals are always handled like elementary SQL expressions
Untyped literals (character literals and numeric literals) Untyped literals are either handled like elementary SQL expressions or like host variables.