Application Development 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: 

To bold a Statement using Write Option

Former Member
0 Kudos

Hi,

Hi I have a simple requirement i want to bold a statement using Write Statement in a simple report.

Hope this describes the problem.

Thanks

Sandipan

1 ACCEPTED SOLUTION

JozsefSzikszai
Active Contributor
0 Kudos

hi Sandipan,

to my best knowledge, it is not possible. You can use colours, but bolding is not possible.

So bad...

ec

7 REPLIES 7

JozsefSzikszai
Active Contributor
0 Kudos

hi Sandipan,

to my best knowledge, it is not possible. You can use colours, but bolding is not possible.

So bad...

ec

Former Member
0 Kudos

There is no way you can write something in bold if you are not using any forms.

with simple write statements in a report i dnt think so it is possible.

dhruv_shah3
Active Contributor
0 Kudos

Hi,

Refer the links -

[]

[]

HTH

Regards,

Dhruv Shah

former_member248447
Participant
0 Kudos

HI,

Check it out by using the format intesified on and intesified off at the end of the wirte statement.

thanks

rajesh

Former Member
0 Kudos

Hi,

REPORT demo_list_format_color_1.

DATA i TYPE i VALUE 0.

DATA col(15) TYPE c.

WHILE i < 8.

CASE i.

WHEN 0. col = 'COL_BACKGROUND '.

WHEN 1. col = 'COL_HEADING '.

WHEN 2. col = 'COL_NORMAL '.

WHEN 3. col = 'COL_TOTAL '.

WHEN 4. col = 'COL_KEY '.

WHEN 5. col = 'COL_POSITIVE '.

WHEN 6. col = 'COL_NEGATIVE '.

WHEN 7. col = 'COL_GROUP '.

ENDCASE.

FORMAT INTENSIFIED COLOR = i.

WRITE: /(4) i, AT 7 sy-vline,

col, sy-vline,

col INTENSIFIED OFF, sy-vline,

col INVERSE.

i = i + 1.

ENDWHILE.

former_member188685
Active Contributor
0 Kudos

There is one alternative using the CL_DD_DOCUMENT class.

Check this Program

DD_STYLE_TABLE

Former Member
0 Kudos

Hi Sandipan,

I think INTENSIFIED ON is for this purpose...

Please check this. I am not sure...just go thru this link

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/write_.htm

Thanks Arjun