Error while connecting to SAP

Hi,

I'm using the database query component to connect SAP hana and i'm doing just

select count(*) from sap_db_name.${saptablename}

 

${saptablename} = Is passed from scalar variable. I can see this variable showing correct values when i check SQL of database query component to make sure this variable is getting value or not.

 

error

SQL compilation error: error line 1 at position 60

invalid identifier '"COUNT(*)"'