10-08-2007 9:27 AM
Hi experts,
When I'm printing ALV table, fonts are that small, that it is difficult to read the text. Any ideas how can control this?
Thanks in advance,
Michal
10-08-2007 9:33 AM
hI,
you can do this if you have the class CL_DD_DOCUMENT
for reference check the example in SE38
DD_STYLE_TABLE
Or
Use the IT_SORT paramter of the ALV function module..
define an internal table of type it_sort in your program..
for this pass the field name 'PERNR' AND append it...
and give this table to the FM.....
data:
t_sort type SLIS_T_SORTINFO_ALV,
w_sort type slis_sortinfo_alv.
w_sort-fieldname = 'PERNR'.
w_sort-up = 'X'.
append w_sort to t_sort.
w_sort
You will get the required output...
********************
you may increase font size using CL_DD_DOCUMENT only for grid header and bottom area, it will not have any effect on the cells.
Inside the cells, the font and it's size is derived from SAPGUI settings (and monitor size).
In the cells you can set standard character atrributes color, intensied and inverse.
***********************
Regards
vasu
10-08-2007 9:33 AM
hI,
you can do this if you have the class CL_DD_DOCUMENT
for reference check the example in SE38
DD_STYLE_TABLE
Or
Use the IT_SORT paramter of the ALV function module..
define an internal table of type it_sort in your program..
for this pass the field name 'PERNR' AND append it...
and give this table to the FM.....
data:
t_sort type SLIS_T_SORTINFO_ALV,
w_sort type slis_sortinfo_alv.
w_sort-fieldname = 'PERNR'.
w_sort-up = 'X'.
append w_sort to t_sort.
w_sort
You will get the required output...
********************
you may increase font size using CL_DD_DOCUMENT only for grid header and bottom area, it will not have any effect on the cells.
Inside the cells, the font and it's size is derived from SAPGUI settings (and monitor size).
In the cells you can set standard character atrributes color, intensied and inverse.
***********************
Regards
vasu
10-08-2007 9:37 AM
Hi,
Check this link,
https://forums.sdn.sap.com/click.jspa?searchID=5757945&messageID=4217836
Thanks,
Reward If Helpful.
10-08-2007 10:13 AM
hi
good
you can do this if you have the class CL_DD_DOCUMENT
for reference check the example in SE38
DD_STYLE_TABLE
Or
Use the IT_SORT paramter of the ALV function module..
define an internal table of type it_sort in your program..
for this pass the field name 'PERNR' AND append it...
and give this table to the FM.....
data:
t_sort type SLIS_T_SORTINFO_ALV,
w_sort type slis_sortinfo_alv.
w_sort-fieldname = 'PERNR'.
w_sort-up = 'X'.
append w_sort to t_sort.
w_sort
You will get the required output...
reward point if helpful.
thanks
mrutyun6