How to catching selection criteria
Example:
DATA: selection_table LIKE rsparams OCCURS 0 WITH HEADER LINE. CLEAR selection_table. REFRESH selection_table. * Get selection criteria CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
DATA: selection_table LIKE rsparams OCCURS 0 WITH HEADER LINE. CLEAR selection_table. REFRESH selection_table. * Get selection criteria CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
FORM screen_clearing_all . DATA: selctab LIKE rsscr OCCURS 20 WITH HEADER LINE, itabname TYPE c LENGTH 30. FIELD-SYMBOLS: <para> TYPE ANY, <sele> TYPE ANY TABLE. CLEAR selctab. REFRESH selctab. * Get selection screen