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: 

Table control data in color

Former Member
0 Kudos

Hi Experts,

My table control having 3 materils as below .

MATNR MTART WERKS

222 AA 1000

333 BB 1108

444 CC 1200

Client requirement is to display material-333 in red font color, is it possible in table control?.

Thanks in advance

mahe

1 ACCEPTED SOLUTION

former_member1245113
Active Contributor
0 Kudos

Hi,

in PBO
" Go to Screen Painter attributes and set BRIGHT attribute but I am not sure this would give you BLUE color
module status_100.
loop at itab with control tc.

endloop

in Program
module status_100.
loop at screen.
if screen-name = 'ITAB-MATNR'.
SCREEN-COLOR = 1. " In Screen Table Control you only get Red Color not any other to the best of my knowledge
MODIFY SCREEN.
ENDIF.
endloop
endmodule

Cheerz

1 REPLY 1

former_member1245113
Active Contributor
0 Kudos

Hi,

in PBO
" Go to Screen Painter attributes and set BRIGHT attribute but I am not sure this would give you BLUE color
module status_100.
loop at itab with control tc.

endloop

in Program
module status_100.
loop at screen.
if screen-name = 'ITAB-MATNR'.
SCREEN-COLOR = 1. " In Screen Table Control you only get Red Color not any other to the best of my knowledge
MODIFY SCREEN.
ENDIF.
endloop
endmodule

Cheerz