03-13-2008 8:57 AM
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
03-13-2008 8:59 AM
hi Sandipan,
to my best knowledge, it is not possible. You can use colours, but bolding is not possible.
So bad...
ec
03-13-2008 8:59 AM
hi Sandipan,
to my best knowledge, it is not possible. You can use colours, but bolding is not possible.
So bad...
ec
03-13-2008 9:01 AM
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.
03-13-2008 9:02 AM
03-13-2008 9:04 AM
HI,
Check it out by using the format intesified on and intesified off at the end of the wirte statement.
thanks
rajesh
03-13-2008 9:04 AM
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.
03-13-2008 9:07 AM
There is one alternative using the CL_DD_DOCUMENT class.
Check this Program
DD_STYLE_TABLE
03-13-2008 9:07 AM
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