I usually use a Text Box to get a value from user at runtime and simply use the %Question.AnnotationName% in my SQL inside Input Data to process. I have never had an issue with it when using with DB2, however now I'm trying to use the same with an SAP HANA source table, and I keep getting a String to number conversion error when doing my typical:
WHERE YM IN ('%Question.YM%')
I've tried WHERE YM = cast('%Question.YM%' as integer) but that doesn't work.
Any insight appreciated.