07-13-2005 8:56 PM
Hi forum!
I am working with an old program and i have to make some changes here.
I'm using REUSE_ALV_HIERSEQ_LIST_DISPLAY function.
this is what i need to do: i need to double click on a line, the user-command will start and i will copy the data to another work area , then i'll put some blue color on the line i click, and finally refresh the alv.
Where is my problem ?
When i click on line 155 (for example), the alv refresh and my focus is set to the begining, then i have to scroll down to reach the line where i made the click to see it, and that is exactly what i have to fix.
i need to click a line, do the user-command job , and stay focus on the line.
any ideas!?
i tryed with the comman scroll but it doesn`t work.
07-14-2005 4:28 AM
07-14-2005 4:49 AM
hi,
see parameter it_events.
You can try something like this:
FORM set_events CHANGING ct_events TYPE slis_t_event.
DATA l_events TYPE slis_alv_event.
FREE ct_events.
CLEAR l_events.
l_events-name = 'TOP_OF_PAGE'.
l_events-form = 'TOP_OF_PAGE'.
APPEND l_events TO ct_events.
ENDFORM.
('TOP_OF_PAGE' - for example)
Regards,
Andrej.