cancel
Showing results for 
Search instead for 
Did you mean: 

ALV FORMATTING AS PER PAGE SIZE

Former Member
0 Kudos

Hi Gurus,

1.) Currently my selection screen is not optimized as much as the webpage size.. i want it to fit exactly in the page..

The default size of the webdynpro page is as much of the image..

I want some spacing between the elements in the menu on the right side and the display on the right..

2.) The alv display i am getting has a scroll bar at the webpage level..

I want both horizontal and vertical scroll bar at the alv level so that the alv fits into the webpage size

Can somebody advice..

Urgently needed..

Best Regards,

Navin Fernandes.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

check the STRETCHED HORIZONTALLY and STRETCHED HORIZONTALLY of ur UI

Former Member
0 Kudos

HI AMIT,

i got hold of the horiontal and vertical strech attribute..

Can i know how to manipulate the alv so as to get scrolling in the alv itself..>?

Thanks in advance..!

Best REgards,

Navin fernandes.

Edited by: NAVIN FERNANDES on Dec 28, 2009 3:27 PM

Former Member
0 Kudos

HI,

You need to have explicti column width settings and also the layout should be FIXED , use the scrollable column count option for ALV by defining the fixed columns..so that you will scroll for only ALV...Try to test it for standard resultion...

Former Member
0 Kudos

Hi Lekha,

Can you elaborate or provide some sample code regarding the same..

Thanks for the inputs..

Best Regards,

Navin Fernandes.

saket_abhyankar
Active Participant
0 Kudos

Hi Navin,

Try following thing for automatic scroll in ALV:

1) Double click on the application

2) Goto Parameters tab

3) Add Parameter 'WDTABLENAVIGATION' and set its value to 'SCROLLBAR'

I hope it will work.

Regards,

Saket.

Former Member
0 Kudos

Hi..

Thank You everyone..

I manipulated the layout by defining the height and wifth.

then i set the scrollable colum and row count in the alv

then i used wdtable navigation with scrollbar attribute. as told by saket

Problem is solved.

Best Regards,

Navin Fernandes.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Navin,

hope you know the Hight & Width need to set as % not pxl.

you need to set from top UI element.

regards,

vijay

Former Member
0 Kudos

Hi,

For ALV Scrollbar you can try this trick, maybe it will work:

Create a Transparent Container - assign fixed width and height to it and enable scrolling.

Now embed you view Container containing ALV view inside this Transparent Container.

Hope this helps..

Regards

Manas Dua