Use
In the
Visual Query dialog, you can enter search conditions when you formulate your database query.Prerequisites
When you
created the Visual Query, you copied the table columns that your database query relates to into the area for defining the result.Procedure

If you specify a search condition for a column with the data type CHAR, VARCHAR, DATE or TIME, you must put the relational expression between single quotation marks.

For information on the syntax of search conditions and predicates, see the
search condition and
predicate sections of the Reference Manual: SAP DB.