Looks like there is an issue with the filter condition you tried to use.
Please also post the CALL statement with the definition of the filter variable.
Maybe your table doesn't actually have a column named HANA (beware of upper/lowercase writing here, when using double quotes!)