To select a particular line in ALV (class method) this piece of code will help. The code was written in R/3 4....
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
lt_cell_s-index = 8. append lt_cell_s to lt_rows . CALL METHOD grid2->SET_SELECTED_ROWS exporting IT_INDEX_ROWS = lt_rows. FYI: grid2 TYPE REF TO cl_gui_alv_grid.