cancel
Showing results for 
Search instead for 
Did you mean: 

FPM ALV Table rendering expands and constricts - How do we disable this?

vinotha_m
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try this : lv_value->if_salv_wd_table_settings~set_width( value = '100%'  ).

Thanks

KH

vinotha_m
Participant
0 Kudos

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

jitin_kharbanda
Participant
0 Kudos

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

vinotha_m
Participant
0 Kudos

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

vinotha_m
Participant
0 Kudos

Hi Jitin, Thank you. But This did not help.

Even fixing a number of columns for display also did not help.

jitin_kharbanda
Participant
0 Kudos

Hi SM,

Can you please detail the issue?

Regards,

Jitin Kharbanda

vinotha_m
Participant
0 Kudos

For example like this as we scroll horizontally, the size keeps changing.

jitin_kharbanda
Participant
0 Kudos

Hi SM,

Check for settings of the ALV. Horizontal scroll checkbox option is may be checked.

Uncheck this and try.

Regards,

Jitin Kharbanda