cancel
Showing results for 
Search instead for 
Did you mean: 

Web Dynpro ALV occupy entire screen vertically

Former Member
0 Kudos

Hi,

I am using a ALV table in my WD application. We have a requirement that this WD ALV table should occupy the complete screen(page) vertically.

I tried setting the visible no. of rows using set_visible_row_count method. I set this no. to 15 and the ALV table occupied the complete space on the page with screen resolution 1366 X 768.(See attached Screenshot 1).

But when other users opened the application from their system having different screen resolution i.e. 1280 X 1024, the 15 rows did not occupy the whole space on the page and it was showing the empty space (enough to display 7-8 more rows). (See attached Screenshot 2).

is there any way by which ALV can occupy the complete space irrespective of the screen resolution?

Plz. refer to the attached screen shots for more details.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

Try changing the layout of View Container UI in which the ALV is embedded to Matrix layout and set the height and width of View Container UI to 100%

Hope this helps u.,

Thanks & Regards,

Kiran

former_member199125
Active Contributor
0 Kudos

I hope we need to set 100% for height & width of alv table not for view container ui element as per rohit chowdary requirement.

Regards

Srinivas

Former Member
0 Kudos

Hi Rohit,

use the property of set fixed table layout

And the code for the same is

*lv_table->if_salv_wd_table_settings~set_fixed_table_layout( abap_true ).