Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV problem

Former Member
0 Likes
1,862

Hi,

I haave an issue with ALV display. My output table has 15 columns, with the total width being 162. (The LINE-SIZE in the report heading is set to 400....which far exceeds the above width.)

When i try to display the output in ALV GRID format, all 15 columns are displayed correctly, but when displaying in LIST format (REUSE_ALV_LIST_DISPLAY), the last column is not displayed..!!

the fieldcatalog and other details are same in both the cases....but the last column is not appearing in the LIST format (unfortunately, we have to display the output in LIST format only).

Can anyone please suggest whats the problem???

Thanks,

Raghav

19 REPLIES 19
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,836

try removing the line size form report heading

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,836

In parameter IS_LAYOUT there is a field max_linesize change this value and not the calling report heading width. (look at is_layout documentation in function module REUSE_ALV_LIST_DISPLAY)

Regards

Read only

former_member386202
Active Contributor
0 Likes
1,836

Hi,

Remove the LINE-SIZE from heading

Regards,

Prashant

Read only

Former Member
0 Likes
1,836

Hi,

In the layout try "Colum_width_optimize = 'X' ".

Jayant Sahu

Edited by: Jayant Sahu on Feb 8, 2008 8:19 AM

Read only

0 Likes
1,836

Hi,

colwidth_optimize is = 'X'.

Read only

0 Likes
1,836

hi ppl,

both the above suggestions

max_linesize and colwidth_optimize didnt work

any other suggestion???

Please reply

Read only

0 Likes
1,836

Hi,

Just give a try to hide any column so that whether the last column is visible or not? If last column of the internal table is visible then it is the problem with the no. of characters issue in the list display(it exceeds the no. of the characters).

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
1,836

I HAVE GOT YOUR ANSWER

in your list display

GOTO>SETTINGS->COLUMNS--->OPTIMIZE WIDTH.

your problem is solved

plz reward if helpful

vivek

Read only

0 Likes
1,836

Hi Vivek,

Sorry dude....it did work man....:-(

Please suggest anything else that u may think will work...

Thanks

Read only

0 Likes
1,836

Have u tried my suggestion ???

Read only

0 Likes
1,836

Hi Keshu,

tried dude.....didnt work man...:-(

Read only

Former Member
0 Likes
1,836

Hi,

In the layout itself try this options.

expand_all = 'X'

no_min_linesize = 'X'

max_linesize = '400'.

Also after this you can remove the line size from your initial report declaration.

Jayant Sahu

Read only

0 Likes
1,836

Hi Jayant,

Dude...it didnt work man.....please suggest anything else that you may have..

thanks a lot

Read only

Former Member
0 Likes
1,836

Hi,

a trick to avoid overlapping columns or this type of problem is to

manipulate the width of the columns by putting a longer description string

on top of column.

For example if your column is named "Transport" and you want it to be wider,

then try to get "Transport text here" as a column header...Also try Column_width_text = 'X'.

Hope it helps,

Regards.

Read only

0 Likes
1,836

PPl...

the issue is resolved.

The problem was with the number of key fields....for which there is a limitation i guess...

i removed the KEY field on the fieldcatalogue for most of the columns and it worked...!!!!

thanks to everyone for the answers anyways.

Cheers,

Raghav

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,836

Plz paste u r code

Read only

Former Member
0 Likes
1,836

Boss.. please check if you have freezed your colums then... if yes then unfreeezzz.. if that would be the problem..

Otherwise I am searching.. your code will be great help..

Jayant Sahu..

Read only

0 Likes
1,836

Hi Jayant,

The problem is solved my friend...please see my above post...:-)

thanks for ur answers anyways...

Cheers,

Raghav

Read only

Former Member
0 Likes
1,836

Congrats.... Raghavendra... atlast you did it...