Customization, how change BAQ -> Display Fields


I know, how to call BAQ from customization with parameters, but is there any way to tell BAQ, which fields must be sent back to the customization?
I want to create a new Inspection data dashboard. But there are too many fields related to Inspection data.
My idea is to check Erp.SpeAttr and Erp.InspAttr tables and depending SpecID, get only fields, which are related to this Spec ID.

Any ideas, how to do this?