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

To bold a Statement using Write Option

Former Member
0 Likes
2,334

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
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,335

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
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,336

hi Sandipan,

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

So bad...

ec

Read only

Former Member
0 Likes
1,335

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.

Read only

dhruv_shah3
Active Contributor
0 Likes
1,335

Hi,

Refer the links -

[]

[]

HTH

Regards,

Dhruv Shah

Read only

Former Member
0 Likes
1,335

HI,

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

thanks

rajesh

Read only

Former Member
0 Likes
1,335

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.

Read only

Former Member
0 Likes
1,335

There is one alternative using the CL_DD_DOCUMENT class.

Check this Program

DD_STYLE_TABLE

Read only

Former Member
0 Likes
1,335

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