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 personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.