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

BOLDING THE TEXT

Former Member
0 Likes
929

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.

6 REPLIES 6
Read only

Former Member
0 Likes
875

Hi,

You cannot bold the text but u can color them

chk this program for colors SHOWCOLO

Read only

Former Member
0 Likes
875

hi,

no u cannot bold the texts in reports.

regards,

priya.

Read only

Former Member
0 Likes
875

For bold cells in alv:

Regards,

Ravi

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
875

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.

Read only

Former Member
0 Likes
875

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

Read only

Former Member
0 Likes
875

Hi,

Yes it is possible, Using the class CL_DD_DOCUMENT.

Check the example program DD_STYLE_TABLE

Regadrs

Vijay