Exact Requirement is like if the end user opens the url
http:XXXX/bc/bsp/sap/crm_ui_start/default.htm?sap-client=200&sap-language=EN&account id=12345
he should be able to get all accounts relevant to account id 12345.(Just the same page when we do the search in the in account search and get the result)
And the same for the diff parameter also like in case of if the end user tries to open url
http:XXXX/bc/bsp/sap/crm_ui_start/default.htm?sap-client=200&sap-language=EN&telephone no =12345
he should be able to get all accounts having telephone no 12345*
What i have analyzed that if some how we can read this parameter(account_id or telephone no) in do_prepare output (as this method is getting triggered ) we can put our custom code and fill the result context node.
Another solution may be is there any specific method of building the url where we can give the range.
As i have seen many post where we are passing the parameter for just the single account.