cancel
Showing results for 
Search instead for 
Did you mean: 

moving Scroll bar in ALV?

Former Member
0 Kudos

Hi,

Is it possible to move scroll bar in ALV table programatically, if i have more fields?

Thanks,

GS

Accepted Solutions (0)

Answers (2)

Answers (2)

uday_gubbala2
Active Contributor
0 Kudos

Hi Sathish,

I think you can try have a workaround by using the following method of class

CL_SALV_WD_CONFIG_TABLE~IF_SALV_WD_TABLE_SETTINGS~SET_FIRST_VISIBLE_ROW

It takes Integer as input for Row Number to be displayed as first row. So put your coding within a button up on pressing which you want the scrolling to take place. I however haven't tried it out myself ever...

Regards,

Uday

ChrisPaine
Active Contributor
0 Kudos

I hadn't even considered that it might be vertical scrolling! Doh! Must remember to think outside the square!

I guess the obvious horizontal equivalent is

CL_SALV_WD_CONFIG_TABLE~IF_SALV_WD_TABLE_SETTINGS~SET_FIRST_VISIBLE_SCROLL_COL( column_name )

But I thought this was more to do with setting which column the scrolling behaviour starts, but I'd be happy to be wrong!

Chris

ChrisPaine
Active Contributor
0 Kudos

Were it possible - which I'm not sure it is - then when client side scrolling came in NW7.02 it would probably break. As the whole point of the scrolling would be that it were client side, not server controlled.

I guess you could code the client implementation so that it could still be positioned according to the backend wishes - so perhaps this has been done - but I'd doubt it.