2006 Dec 06 10:26 AM
Hi ,
Is it possible to bold the Texts both in classical and alv reports.
if it so, help me out to solve.
Thanks.
Hi ,
Is it possible to bold the Texts both in classical and alv reports.
if it so, help me out to solve.
Thanks.
2006 Dec 06 10:32 AM
Hi,
You cannot bold the text but u can color them
chk this program for colors SHOWCOLO
2006 Dec 06 10:33 AM
2006 Dec 06 10:35 AM
2006 Dec 06 10:36 AM
Hi,
You can try using emphasize in fieldcatalog.
Value set: SPACE, 'X' or 'Cxyz' (x:'1'-'9'; y, z: '0'=off '1'=on)
'X' = column is colored with the default column highlight color.
'Cxyz' = column is colored with a coded color:
- C: Color (coding must begin with C)
- x: color number
- y: bold
- z: inverse
LOOP AT i_fieldcat ASSIGNING <fs_fieldcat>.
CASE <fs_fieldcat>-fieldname.
WHEN 'MATNR'.
<fs_fieldcat>-hotspot = 'X'.
<fs_fieldcat>-key = ' '.
Coloring a column
<fs_fieldcat>-emphasize = 'C511'.
...
Endloop.
2006 Dec 06 10:40 AM
Hi Rajendran ,
You cannot bold a text in classical report , but can surely set some color and other properties to it.
Check the help for Write Statement . The subsection (WRITE - ext_format_options
) explains it.
Thanks
Arun
2006 Dec 06 10:42 AM
Hi,
Yes it is possible, Using the class CL_DD_DOCUMENT.
Check the example program DD_STYLE_TABLE
Regadrs
Vijay