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 Print Preview

Former Member
0 Likes
524

I develop a report using ALV grid with dynamic columns. User tested with a variant and found out that when in Print Preview, few columns at the back moved to second row but not in ALV grid format. This problem first occured when user tried to download the report to EXCEL and the columns at the back just moved to second line.

I would like to know is there a max line size for Print Preview?

I tried specifying max line size for ALV layout up to 2000 but it make no differences. I also found out that when i click on Change Layout, I able to see the Line Size and it shown 1105 for the current layout.

I develop a report using ALV grid with dynamic columns. User tested with a variant and found out that when in Print Preview, few columns at the back moved to second row but not in ALV grid format. This problem first occured when user tried to download the report to EXCEL and the columns at the back just moved to second line.

I would like to know is there a max line size for Print Preview?

I tried specifying max line size for ALV layout up to 2000 but it make no differences. I also found out that when i click on Change Layout, I able to see the Line Size and it shown 1105 for the current layout.

3 REPLIES 3
Read only

Former Member
0 Likes
492

I reckon so... I just ran it and got the abend below so just add:

form top.

endform.

to your report for now, and see how you go... worked for me...

Jonathan

An exception occurred. This exception is dealt with in more detail below

. The exception, which is assigned to the class 'CX_SY_DYN_CALL_ILLEGAL_FORM',

was neither

caught nor passed along using a RAISING clause, in the procedure

"METHOD_PRINT_TOP_OF_PAGE" "(FORM)"

Read only

Former Member
0 Likes
492

ignore above one sorry

Read only

Former Member
0 Likes
492

just decrease the description of the field in the catalog, due to length problem it moving to second line,

so decrease the length of the each description.

Thanks