Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Grid

Former Member
0 Kudos

Hi ABAP gurus,

I have a problem and I'd like ask you for a help. Here is a bit of code:

WHEN '%P+'.

gs_IS_ROW-INDEX = gs_IS_ROW-INDEX + 23.

CALL METHOD go_grid->set_scroll_info_via_id

EXPORTING

IS_COL_INFO = gs_IS_COL

IS_ROW_INFO = gs_IS_ROW.

I can control scrolling in the ALV Grid. But you can see the number 23. It is a constant and I don't know how to find variable, where is current number of visible rows in the grid.

Please, if you know this information, would you so kind and tell me, how to solve this problem?

Best regards

Boris Sokol (Czech rep.)

1 REPLY 1

Former Member
0 Kudos

Hello Boris,

the problem is, the number of lines are depending on the screen resolution. Use instead the OK-Code for PageDown.

Hope i could help you.

BR

Michael