on 2014 Sep 25 3:27 PM
Hi All,
We are using a table using FPM list GUIBB rendered as ALV table.
When we fix the number of columns displayed on the table, with horizontal scrolling the table shrinks or expands as per the length of the columns displayed.
This would confuse the user.
Is there any way to stop the ALV from doing this?
Thanks,
Vin.
Request clarification before answering.
Hi,
Try this : lv_value->if_salv_wd_table_settings~set_width( value = '100%' ).
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is for a standard ALV procedure in Webdynpro right.
I am looking for a FPM solution with a LIST GUIBB. Here too there is a width setting but making this 100 does not help.
This is where we make the configuration. Please see attached screenshot.
Jitin, the table displayed has about 100 columns so as we move on the horizontal scroll, it becomes elongated or constricted as per the length of the fields displayed.
Appreciate your help.
SM
Hi SM,
I guess I got your issue.
What I understood is, suppose you have a column MAKTX (char 40) and when you enable the horizontal bar as you have many columns, so the MAKTX column gets expanded to its full length and so all columns behave. this leads to a very lengthy list.
But you want to stop this and reduce and fix the length as you want.
For this, you need to maintain width in LIST UIBB for each column.
or maintain the width of each column in get_definition method using field catalog.
I had this similar issue and got resolved this way.
Regards
Jitin Kharbanda
Thank you for your reply.
No Jitin, thats not my issue, all my columns are taking their exact length.
So assume if I have 40 fields displayed on my ALV. and I have given 10 as max columns to be displayed in the FPM settings.
So each time on screen Ill see 10, to see the later columns ill have to scroll using horizontal bar.
So what happens is if my first ten columns put together are about 100 width, the table shows till the end of the screen in the monitor.
But if the next 10 columns are smaller and so are only 80 widht, the table itself, the main ALV table itself shrinks,
The user will find this confusing. Is there a way to fix this.
I hope I have explained clearly. Please also have a look at the screenshot above to understand better.
Thanks,
SM
User | Count |
---|---|
88 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.