Hi Fred,
According to the SQL reference the CONTAINS() predicate works on column tables and attribute views (join views) only. Calc views are not supported (from the SPS07 SQL reference: 'The CONTAINS-predicate works only on column store tables (simple tables and join-views)').
In your example you can replace the CONTAINS() predicate and use the LIKE predicate instead (UPPER(BasicMaterial) LIKE '%A%' OR UPPER(BasicMaterial) LIKE '%B%' OR ...), but this of course will not work for all possible uses of CONTAINS().
Regards,
Jörg