Filter selection dialog when user click on magnifying glass icon

I'd like to filter the selection dialog when user click on the magnifying glass icon or use ESC F12.

In this case we need to filter the Routing codes of one article, the same functionality you see on 'Routings'

Manufacturing > Technical data > Routings

When the user opens the selection dialog by clicking the icon, he should see only the routes of one article.

Thanks