Kindly elaborate your query as advice by Mr. Haridasan.
The following is with limited understanding on your post.
You have posted:
--"I started with them on 2002 so for 6 year i was under salaried employee"
If you have worked as an employee and you rendered uninterrupted service for 6 years you should be eligible for gratuity.
--"after that since last 5 year on my request they shifted me to professional since last 5 year"
If your appointment has been terminated by you or by company on record, and your status has changed from employee to consultant/professional then for this period of 5 years you may not be eligible. All shall depend upon your terms and status of association as described in your letter of association.
-"but i am an employee only" If you are an employee and your service is uninterrupted you should be eligible for gratuity.
You joined a company in 2002 so total period till 2012 is at the most 10 years whereas you have mentioned period of 6+5=11 years.