I have a query that requires an input parameter that can be several values. I know I could create this in Crystal (thanks everyone for advising that!) but for now I'm producing it inside the SAP Query Manager with four possible inputs (image attached). Bu I find I have to fill out all four or it throws an error with the DECLARE code (2nd image attached). The error message says "Incorrect syntax near the keyword DECLARE".
Can I somehow bypass the DECLAREs if I don't want to enter all four values? What should the SQL code look like? (Thank you Juan Carlos, Nagarajanand and Rahul with your help earlier today!)