I created a report that displays a grid. From the grid you can click on a cell to drill down to another report.
When the user clicks on a hot spot, I build a submit call and call the drill down transaction with the following code:
WITH FREE SELECTIONS wtbl_rsds_texpr
WITH kostl = wa_kostl
WITH kstar = wa_kstar
WITH r_budat BETWEEN wa_budat AND lc_date_high
WITH p_usedb = 'X'
WITH p_usear = ' '
WITH p_tcode = p_tr
Everything worked fine until recently when the user wanted to further expand the selection criteria with a dynamic selection parameter. I found the appropriate statement WITH FREE SELECTIONS, created and populated the correct structure and added it to my submit statement above.
The SUBMIT handles all the parameters fine except WITH FREE SELECTIONS - this is ignored during the call.
I have read and reread the help section for WITH FREE SELECTIONS and am beginning to think that I may not be able to call a program and pass it dynamic select option.
Does anyone have any ideas on this.
Thanks in advance,