Jagan - I am not sure why you have mentioned that this can not be achieved through standard config.
Requirement of Shahbaz is very much normal scenario and we can very well do this via standard config.
Shahbaz- Please refer vivek's solution - that will help you !
Regards
Shipra