Application Development 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: 

ALV output last fields get wrapped

Former Member
0 Kudos

Hi

I am displaying simple alv list, Its displaying correctly, also scorlled horrizontally properly but the last 2 fields are appearing in the next line.

Field name displayed like

Field1 Field2 Field3 Field4 Field5

Field6 fieldd 7

Data below this

Regards

Sagar

1 ACCEPTED SOLUTION

former_member184578
Active Contributor
0 Kudos

Hi.,

Are u having only 7 fields.!! if u are having more number of fields then automatically it will display in next line.,

Also check outputlen for ur fields in field catalog. if the lenght increases 1023 then it will display in next line., as list will have max line width 1023.,

so better use Grid Display..

Thanks & regards

Kiran

3 REPLIES 3

Former Member
0 Kudos

if your field catalog, are you populating row_pos for fields 6 and 7, by any chance, like:

ls_xxi_fieldcat-row_pos = 2.

0 Kudos

offcourse not

former_member184578
Active Contributor
0 Kudos

Hi.,

Are u having only 7 fields.!! if u are having more number of fields then automatically it will display in next line.,

Also check outputlen for ur fields in field catalog. if the lenght increases 1023 then it will display in next line., as list will have max line width 1023.,

so better use Grid Display..

Thanks & regards

Kiran