Hello Raghavendar,
1) Do a sy-subrc check after your second select statement and check what is the sy-subrc value it is returning.
2) Also in the where condition try to use the fields in the same sequence as it appears in the table.
Create a index for that table and check.
3) Check whether the Conditions Type Y001 exists in your system in the value table "T685".
Regards,
Tp