Hi Santhosh,
I have called the RRX_VARAIBLE_FLUSH before RRX_GRID_CMD_PROCESS.But I am not getting the expected output. It is returnig all the entries.
THis is the below way i have passed the input. Please provide the correct answer.
MOVE w_Var-vnam TO wa_param-vnam.
*
* MOVE w_var-sign TO wa_param-sign.
*
* MOVE w_var-opt TO wa_param-opt.
*
* MOVE w_var-low TO wa_param-low.
*
* MOVE w_var-high TO wa_param-high.
*
* APPEND wa_param TO is_param.
CALL FUNCTION 'RRX_VARIABLES_FLUSH'
* EXPORTING
* i_handle = g_handle
* i_selscrn = 'N'
* TABLES
* c_t_var = is_param
* EXCEPTIONS
* OTHERS = 1.
CALL FUNCTION 'RRX_GRID_CMD_PROCESS'
EXPORTING
i_handle = g_handle
i_cmdid = g_cmdid
* i_iobjnm = i_iobjnm
IMPORTING
e_max_x = g_x
e_max_y = g_y
* e_keep_top = g_keep_top
* e_keep_bot = g_keep_bot
* e_subrc = g_subrc
* e_n_warnings = g_n_warnings
* e_var_changed = g_var_changed
* e_keep_left = g_keep_left
* e_keep_right = g_keep_right
TABLES
e_t_con = g_t_con
e_t_fac = g_t_fac
i_t_ranges = g_t_ranges1
e_t_dim = g_t_dim
e_t_mem = g_t_mem
e_t_cel = g_t_cel
e_t_atr = g_t_atr
c_t_prptys = g_t_prptys
e_t_grid = g_t_grid
e_t_ranges = g_t_ranges2
e_t_hry_types = g_t_hry_types
i_t_cmd_params = i_t_cmd_params
e_t_var = is_param
e_t_symbols = g_t_symbols
e_t_text = g_t_text
e_t_drill = g_t_drill
e_t_doc_list = g_t_doc_list
EXCEPTIONS
inherited_error = 1
no_record_found = 2
terminated_by_user = 3
no_processing = 4
no_change = 5
dbcl_nosupport = 6
no_authorization = 7
x_message = 8
screen_canceled = 9
launch_url = 10
OTHERS = 11.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.