Hi Akhilesh,
I hope you might have checked already, just for my confirmation Did you check in debug mode with out passing value in ls_category like ls_category = ' ' . if this is fine then after this badi GET_DYNAMIC_QUERY_RESULT will trigger.. have a look on that..
Thanks & Regards,
Srinivas.