Search help screen before displaying values

Hi Friends,

Firstfull I want to my purpose completely. I am developing an application with dialog programming. I need to display BNKA table as a search help. I want to get two fields of selected rows; BANKS and BANKL. Then I will display these values to screen. Now, until these operations everything is OK. No problem.

Now, on screen user press and fill F4 <b>only</b> BANKL field, My desire is when user press F4 then I want to display a search help screen, in this screen user can write any pattern for PROVZ, ERDAT, ERNAM, BANKS, etc. Such as user will enter 'XYZ' for PROVZ and 'ABC' for ERNAM and then the selectable values comes with this patterns.

Look through, how can I show a search help screen before displaying values, then the important how can I get the patterns user selected? Currently, my purpose is geting patterns and implementing a select query respect to these patterns and displaying the query results. But how? If you have another solution, I will be gradefull.