Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Read data from Custom control

former_member396896
Participant
0 Kudos
190

Dear Friends,

I am using custom control to display the data using CL_GUI_ALV_GRID. I have a checkbox as the first column to allow for multiple selection. When i select few rows using check boxes and click a button( in custom tool bar) to proceed, it doesn't update the column in the internal table with 'X' in the checkbox selected. Is there any method from which we read the columns changed in custom control.

Note : I am looking for similar functionality as below for 'REUSE_ALV_GRID_DISPLAY'

IF ref_grid IS INITIAL.

CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'

IMPORTING

e_grid = ref_grid.

ENDIF.

IF NOT ref_grid IS INITIAL.

CALL METHOD ref_grid->check_changed_data .

ENDIF.

Thanks in Advance.

Taj.

2 REPLIES 2

former_member396896
Participant
0 Kudos
70

Used below method :

CALL METHOD obj_my_alv_grid->CHECK_CHANGED_DATA

IMPORTING

E_VALID = chng

CHANGING

C_REFRESH = ref.

Edited by: Mohd Tajuddin on May 29, 2010 4:45 PM

Former Member
0 Kudos
70

your code seems correct.. but check where are you calling this piece of code... should be in user command form.