Code: Alles auswählen.
DATA: wa_cells TYPE lvc_s_cell.
* Passende Zeile suchen
READ TABLE data WITH KEY key = key INTO line.
wa_cells-row_id-index = sy-tabix.
wa_cells-col_id-fieldname = fieldname.
CALL METHOD grid->set_current_cell_via_id
EXPORTING is_row_id = wa_cells-row_id
is_column_id = wa_cells-col_id.
CALL METHOD grid->set_focus( grid ).