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

Table control data in color

Former Member
0 Likes
548

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

Former Member
0 Likes
479

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

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

Former Member
0 Likes
480

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