Hi Arun,
You can achieve the requirement using CRM_BADI_RF_Q1O_SEARCH BAdi. So no need to enhance the standard Lead and Opportunity search component.
- Create the new implementation for 1O search BAdi..
- Set the filter as ' BTQOPP' and BTQLeadDoc .
- Get all the employees from ypur logic and add it as selection criteria.
- Call the F.M CRM_BSP_OIC_1O_SEARCH_FROM_RF for result list. ( Refer GET_RESULT_GUIDS method of CL_CRM_Q1O_SEARCH class )
Note:- Also you can filter the opportunities and leads in Account overview page (BP_HEAD) by using the filters 'BPQOPP' and BTQLeadDoc.
Regards
Rajarama U