Question:
hi everyone !
I have report that use method cl_gui_alv_grid->set_table_for_first_display .
Now, when i print at event print_top_of_page i want to get the current line in the internal table.
how can i get the current line at event print_top_of_page ? ?
Answer:
To get the selected rows, call the method get_selected_rows.
or alternatively you can try GET_CURRENT_CELL.
But honestly, I never tried it in print_top_of_page event.
Ravi
Ravi4sap@gmail.com
Answer:
have you ever tried to look after value of sy-tabix ?
while on top_of_page event .