cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop ALV table scrollbar in WD ABAP

Former Member
0 Kudos


Hi Experts,

I am getting 2 scrollbars(marked in red) in WD ABAP.

One is ALV table scrollbar & another one IE(Internet Explorer) scrollbar.

Users do not want 2 scrollbars.

Please suggest how to stop ALV table scrollbar.

Thanks,

Anindita

Accepted Solutions (0)

Answers (3)

Answers (3)

harsha_jalakam
Active Contributor
0 Kudos

Hi Anindita,

With respect to the first scroll bar try adjusting the height of the UI and if it is placed in Transparent container, adjust its dimensional properties to avoid the scroll bar.

As suggested by Samuli, please set the visible row count to -1, which would display all the rows of the table in a single page and scrolling would be disabled.

Regards,

Harsha

Former Member
0 Kudos

To get rid of the vertical table scroll bar, use SET_VISIBLE_ROW_COUNT( '-1' ). See Size of ALV Display, Columns, and Cells - Web Dynpro for ABAP - SAP Library for details.

Former Member
0 Kudos

Hi Anindita,

When we don't set the width of the ALV it will expand visible screen size(to max .. sum of all the character lengths of the columns).

You may set the fixed width of ALV.

CALL METHOD lr_table->if_salv_wd_table_settings~set_fixed_table_layout

     EXPORTING

       value = abap_true.

CALL METHOD lr_table->if_salv_wd_table_settings~set_width('600').

AND/OR you can width for each column with scrollable column count.

CALL METHOD lr_table->if_salv_wd_table_settings~set_scrollable_col_count

     EXPORTING

       value = '5'.


Thank you,

Kiran