Skip to Content

Fixing scrolling back in ALV Tree

I have a problem in ALV_TREE's display.

i'hd putten a Container (who has the ALV TREE) in a scrolling screen, When I expand/add/delete some node in the tree (from the container of curse), the screen scrolls back to the top automatically.

I would like to know if there is way to fix this bug?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jun 12, 2017 at 04:49 PM

    If I were a betting man I'd say it could be fixed by the 'Hold Scroll Position' checkbox of the screen.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi chirs,

      That screen painter "Hold Scroll Position" only hold the full control ,not an ALV Container .

      Regards,

      Umayaraja.B

  • Jun 12, 2017 at 08:28 PM

    I guess this is because you registered the events of the control as "application events" (appl_event = 'X'), so the PAI is called (or maybe you trigger the PAI explicitly using cl_gui_cfw=>set_new_ok_code or things like that). If you make them "system events" (appl_event = space) then the PAI won't be called, and the whole screen won't be refreshed (only the control itself).

    Add comment
    10|10000 characters needed characters exceeded