Question:
Hi SAP Gurus!
My report don't have a fix number columns. The columns may reach to maximum of 15, depending on the parameters of the user. However, in my report, i defined the line-size 305 in the beginning of the program. So even though i have only few columns showed in my report, when i print it, the figures are shrinked and a wide space shows on the right side of the paper.
Is there a way, i can set the line size of my report just like this?
if number of columns = 5
line-size = 150
elseif number of columns = 7
line size = 200
.
.
.
endif.
hope you can help. tks
Answer:
Read the help on NEW-PAGE LINE-SIZE <width>.
_________________
ilya
More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Answer:
if some condition is met.
NEW-PAGE LINE-SIZE 167.
else.
NEW-PAGE LINE-SIZE 149.
_________________
Rgds
DeadLock
ABAP Company ...