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

abap new

Former Member
0 Likes
1,045

how can i add color in abap reports

i am under training its just for my practise

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
998

hi somi

you dont have much choice in sap as compared to other language as 'C'

but i may hjelp you

FORMAT COLOR COL_HEADING.

WRITE 'Long term prepaid expenses'.

add this code in report

now every write statement will be in colored pattern

for more help press F1 placing cursor at format.

reward if useful.

6 REPLIES 6
Read only

Former Member
0 Likes
999

hi somi

you dont have much choice in sap as compared to other language as 'C'

but i may hjelp you

FORMAT COLOR COL_HEADING.

WRITE 'Long term prepaid expenses'.

add this code in report

now every write statement will be in colored pattern

for more help press F1 placing cursor at format.

reward if useful.

Read only

0 Likes
998

DATA col TYPE i VALUE 0.

DO 8 TIMES.

col = sy-index - 1.

FORMAT COLOR = col.

WRITE: / col COLOR OFF,

'INTENSIFIED ON' INTENSIFIED ON,

'INTENSIFIED OFF' INTENSIFIED OFF,

'INVERSE ON' INVERSE ON.

ENDDO.

hope this code help you in detail

reward if useful

Read only

Former Member
0 Likes
998

If u are using ordinary report just go for format color.

if u are using alv's their is lot of options such as emphasise.

if it is helpful,

please reward points.

Regards,

desha

Read only

Former Member
0 Likes
998

Hi,

format color 5.

WRITE : /1 e.

format color off.

regards ,

S.Nehru

Read only

former_member188829
Active Contributor
0 Likes
998

Hi,

WRITE:/ 'WELCOME TO SAP' COLOR 5.

Read only

Former Member
0 Likes
998

Hi,

click on the pattren on the se38 tool bar

and click the radio button write and check the available option on the write statement

This will be usefull for you

Regards,

siva chalasani.