Hello Experts, I am have created ZWE02(copy of WE02)and added custom checkbox field next to idoc no.field and add one buttom on custom pf-status so my purpose is when i have check that checkbox and click on custom button using at user command then those idoc must be selected for futher process.
i have return below code:
lcl_grid TYPE REF TO cl_gui_alv_grid.
IF ref_grid IS INITIAL.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING e_grid = ref_grid.
IF NOT ref_grid IS INITIAL.
CALL METHOD ref_grid->check_changed_data .
but After FM GET_GLOBALS_FROM_SLVC_FULLSCR the ref_grid remain initial so thats why check_changed_data method not executing. Note:output is display using method set_table_for_first_display. please suggest and help.