Boil 4 cups of chopped beans in little water with 1/2 a tsp of salt for about 15 mins or so or until tender on medium flame.
Strain them and keep aside.
Heat a tbsp of oil in a pan.
Add all the seasoning ingredients(channa dal, urad dal, mustard, cumin, red chillies and finely chopped green chillies) and saute for a while for about 3/4th minute.
Add turmeric, ginger-garlic paste, chilly powder, methi leaves, sliced onions, salt and saute for 4 - 5 mins until the raw smell of methi leaves and onion vanishes and a nice aroma of methi leaves comes.
Now at this stage, add the boiled and strained beans.
Mix them well and saute for 3 - 4 mins.
Cover and cook on low flame for 3 - 4 mins.
:- Adjust the salt level.
Add the grated coconut and finally switch off the stove.