02-09-2007 8:35 AM
how to increase Font size and font style in ALV report headings.
pls help me urgently
02-09-2007 8:37 AM
data: lt_list_commentary type slis_t_listheader,
l_logo type sdydo_value.
perform build_comment using
lt_list_commentary
l_logo.
form build_comment using
pt_list_commentary type slis_t_listheader
p_logo type sdydo_value.
data: ls_line type slis_listheader.
clear ls_line.
ls_line-typ = 'H'.
ls_line-info = 'SREEKANTH REDDY'.
append ls_line to pt_list_commentary.
clear ls_line.
p_logo = 'ENJOYSAP_LOGO'.
endform.
In Function module,
it_list_commentary = lt_list_commentary
use can use ls_line-typ values as 'H' , 'A' , 'S'
02-09-2007 8:39 AM
Hi ,
There is field in fieldcatalog as emphasize pass that value as 'X' to font style.
and use STYLE FIELD.
Please reward if useful.
02-09-2007 8:39 AM
See the code sample
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_rephead.htm
Form top-of-page.
*ALV Header declarations
data: t_header type slis_t_listheader,
wa_header type slis_listheader,
t_line like wa_header-info,
ld_lines type i,
ld_linesc(10) type c.
* Title
wa_header-typ = 'H'.
wa_header-info = 'EKKO Table Report'.
append wa_header to t_header.
clear wa_header.
If u put 'H' it will be header.
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_endlist.htm
02-09-2007 8:40 AM
Hi,
the font size and style are predefined for alv.
Possible values:
- (H)eader: - List header
- only the contents of INFO are
output (KEY is ignored)
- usually one line = one entry
Attributes: - left-justified
- bold
- followed by empty line
(S)election: - Important header information, e.g.
currency of amounts in the list
- display format:
KEY(bold) INFO(normal)
Attributes: - left-justified
- bold (KEY=on/INFO=off)
- followed by empty line
Regards,
Sonika
02-09-2007 8:41 AM
02-09-2007 8:42 AM
in top of page
data : ilst type slis_t_listheader_alv,
wlist type slis_listheader_alv.
wlist-typ = 'H' < S or A you can pass>.
wlist-info = 'Top of page'.
append wlist to ilist.
append that to listheader.
call reuse_alv_commentary_write.
regards
shiba dutta