Hi,
Please find my comments below.
1) Add new field using APPEND to attribute structure CRMST_QUERY_LEA_BTIL of object BTQLeadDoc.
2) Configure the new field in WebUI.
3) Implement the BADI CRM_BADI_RF_Q1O_SEARCH
4) Put the logic in the SEARCH method.
Regards,
Varma