Skip to Content
0
Former Member
Jan 09, 2008 at 12:05 PM

How to pick the records from ALV list display for the selected ones

197 Views

Hi

i am displaying one ALV list dispaly. for that im added one check box fields.

if we select that check box i would like to pick those records whichever checkbox is selected. i have 4 fields in display like this chk, matnr, desc, date. if i select any one records i want to pick all those four fields.

for ALV grid i found one FM to pick records of selectedones as below.

DATA ref_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.

ENDIF.

IF ref_grid IS NOT INITIAL.

CALL METHOD ref_grid->check_changed_data.

ENDIF.

but how can i do for list display to pick those selected one records.

Can any one sugget regarding this.

Thanks in advance.

Rahul.